Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Increasing BadWord Filter
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ranko
Junior Member

400 Posts

Posted - 21 March 2006 :  09:49:34  Show Profile  Reply with Quote
My SQL-fu is not strong, so is there anyone who can tell me how I alter the badword table to accept the full 255 characters?

Thanks.<

AnonJr
Moderator

United States
5768 Posts

Posted - 21 March 2006 :  11:03:07  Show Profile  Visit AnonJr's Homepage  Reply with Quote
Please tell me what bad word is 255 characters long...

or are you trying to filter out a phrase?<
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 21 March 2006 :  12:33:32  Show Profile  Reply with Quote
I want to double the usage of the filter to include links for book selling site.<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 March 2006 :  12:37:31  Show Profile  Reply with Quote
Easiest way is just to add the domain to the bad word filter (domain.tld), it will render any links to that site useless - saves you altering the table and having to enter every possible link manually.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 21 March 2006 :  12:43:51  Show Profile  Reply with Quote
But I want the opposite; I want to make bad world filter make links. When users enter Book of the Month, to get Book of the Month.

It is for a small affiliate program for a small site I like.<
Go to Top of Page

MarkJH
Senior Member

United Kingdom
1722 Posts

Posted - 21 March 2006 :  16:53:45  Show Profile  Visit MarkJH's Homepage  Reply with Quote
Clever idea. A bit like IntelliTXT. <

Bandlink.net - http://www.bandlink.net/
Bandlink Music Forums - http://www.bandlink.net/forum/
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 21 March 2006 :  18:53:46  Show Profile  Reply with Quote
Exactly; except controled to be of use to me, the community, and the few shops I want to support.

Still didn't manage to write a script that actually works. Also, can anyone point me how I can use HTML or forum code when I write Replacement text? The testing provides me with wonky links so far.<
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 21 March 2006 :  20:54:10  Show Profile  Reply with Quote
I wouldn't suggest using the Badwords filter for this. The badwords filter actually loads the words and the replacements into 2 Application Variables the first time it's used and when any of the words are changed. This was necessary because running the database query on each page load caused the forum to actually lock up. Not sure if you want to store all those long links in Application Variables.<
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 22 March 2006 :  06:07:25  Show Profile  Reply with Quote
Well I am open to better suggestions.<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07