Gossamer Forum
Quote Reply
Blocking TLDs?
I'm currently working on porting http://www.search.ie over to using glinks and want to put in place some anti-spam measures before I launch the new version.
I know I can block domains, but can I block TLDs? And if so, how can I do it?
Basically I do not want to accept any submissions from .us/.biz/.es/.fr etc.,
Any input would be appreciated

Michele
Blacknight Solutions - Hosting
Search.ie
Armchair.ie
Quote Reply
Re: [blacknight] Blocking TLDs? In reply to
You can write a plugin that hooks into user_add_link. Make it a PRE hook and do your checks there.

Adrian
Quote Reply
Re: [blacknight] Blocking TLDs? In reply to
Hi,

My Block_Domains_Pro plugin would probably do this (just setup different extensions for banning, i.e .sh, .ws, etc). Quite a few Adult orientated sites use it, as it gives them the ability to ban a whole domain name (i.e something.com), or even an extensions/keyword in the domain name.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Blocking TLDs? In reply to
Andy - and how much would that set me back ? *sniff*
Adrian - that works on the basis that I know what to put in there :)
Blacknight Solutions - Hosting
Search.ie
Armchair.ie
Quote Reply
Re: [blacknight] Blocking TLDs? In reply to
Hi,

Its $100 I'm afraid. PM me, and I'm sure something can be worked out though :) (assuming you still need it <G>).

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!