Gossamer Forum
Quote Reply
SearchFilter Plugin
The SearchFilter plugin is now available for download from the plugin download area.

The plugin allows you to mark certain search words. If a user searches for one of the words, they will be presented with a custom "error" page, or alternatively, the user will be redirected to a URL that you can specify.

The plugin is free.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] SearchFilter Plugin In reply to
Just a small point:

my @words = split / /, $query;

If someone enters:

word1 word2 word3

....but accidentally types two spaces between word one and two, you'll split it into:

(word1 word2) (word3)

So you may be better using \s+

Last edited by:

Paul: Aug 1, 2002, 2:26 AM
Quote Reply
Re: [Paul] SearchFilter Plugin In reply to
Thanks Paul, you are of course right.

I just uploaded a revised version.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] SearchFilter Plugin In reply to
Hi Ivan,

Do you remember a while ago we were both talking about a Search Spelling plug-in... I have written about 20% of one, but it looks like this plug-in could be better modified to do it. Just a thought.

I looked at it and it did not seemt that difficult to make.

I have since abandoned the project (for now at least) cause I am tied up with other ones.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [yogi] SearchFilter Plugin In reply to
 
I like the way you've kept the styling within the links SQL standard design, a very professional looking plugin and one that will be immensely useful for flagging bad words for sites aimed at younger audience.

Well done!

~ ERASER


Free JavaScripts @ Insight Eye