Gossamer Forum
Home : Products : Links 2.0 : Customization :

How to block domain

Quote Reply
How to block domain
Hello all,

How to block the domain from submitting the URL, for example i need to block any domain with extension *.sg

Please help and thank you so much...

Quote Reply
Re: How to block domain In reply to
Mod located here:

http://lookhard.hypermart.net/links-mods/

Regards,

Eliot Lee
Quote Reply
Re: How to block domain In reply to
Sir,

Can i put like this --> @blockurl = ('.sg');

Thank you so much....

Quote Reply
Re: How to block domain In reply to
Nope...you will have to use wildcard check codes (like *.sg) in the add.cgi and modify.cgi scripts.

Regards,

Eliot Lee
Quote Reply
Re: How to block domain In reply to
Thanks Eliot Lee :-)

Quote Reply
Re: How to block domain In reply to
Sir,

I just put @blockurl = ('*.sg'); at blockurl.txt but an error was happen...please help

Quote Reply
Re: How to block domain In reply to
Uh...like I said the codes posted in the above mentioned web pages needs to be edited. The @blockurls array that should go in the links.cfg SHOULD include .sg. Then in the codes in the add.cgi and modify.cgi need to be modified to use wildcard check codes.

Am I going to re-write the MOD for you?? Nope. Sorry.

Good luck!

Regards,

Eliot Lee
Quote Reply
Re: How to block domain In reply to
Thanks again Eliot Lee