Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

[PLUG-IN NEEDED] Custom Search Error page

Quote Reply
[PLUG-IN NEEDED] Custom Search Error page
Hi,

I really need a plug-in for Links SQL 2.1.0 that will display a custom page if someone searches for adult/porn related words, such as 'naked'. I know this is a very simple plug-in but it would also be very helpful on my site. Please email me asap at plugins@celebhoo.net and let me know how much you will charge. I can pay by PayPal. Also, I want a plug-in that will not cause an adverse effect on the search time.

Look forward to hearing from you

JeffB.

JeffB
GT customer for 6 years (and counting!)
Quote Reply
Re: [jeffb] [PLUG-IN NEEDED] Custom Search Error page In reply to
Hi



You can simply add the following two lines to the top of your search results templete:

<%if query eq sex%>

<%include your custom page.html%>

<%else%>

The rest of your regular search results templete
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] [PLUG-IN NEEDED] Custom Search Error page In reply to
It's not that simple, because if the query is

sex nude xxx

then that will not work.

I have written a plugin to do this, which checks all the query words against a database of 'bad' words. If any of them occurs, it will display a custom page.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] [PLUG-IN NEEDED] Custom Search Error page In reply to
Hi

That sounds way nicer..Wink

Will it be available to public?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory
Quote Reply
Re: [katabd] [PLUG-IN NEEDED] Custom Search Error page In reply to
I'll have to talk to jeffb first, because it was a custom job for him.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] [PLUG-IN NEEDED] Custom Search Error page In reply to
I could use this one, too, if available. Smile

------------------------------------------
Quote Reply
Re: [katabd] [PLUG-IN NEEDED] Custom Search Error page In reply to
The plugin can be obtained from me directly, for the time being. It costs USD 5 (now, isn't that a bargain). You will need to make your own template 'search_filter_error.html' that is displayed when a search matches.

Contact me by email or PM me if you are interested.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [DogTags] [PLUG-IN NEEDED] Custom Search Error page In reply to
New version: 1.0.1

You can now chose what happens when a eearch word is filtered:
1) redirect the user to a custom URL or
2) display a custom page

As before, the plugin is available from me directly. PM or email me.

Ivan
-----
Iyengar Yoga Resources / GT Plugins