T O P I C R E V I E W |
Ranko |
Posted - 21 March 2006 : 09:49:34 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.< |
8 L A T E S T R E P L I E S (Newest First) |
Ranko |
Posted - 22 March 2006 : 06:07:25 Well I am open to better suggestions.< |
RichardKinser |
Posted - 21 March 2006 : 20:54:10 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.< |
Ranko |
Posted - 21 March 2006 : 18:53:46 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.< |
MarkJH |
Posted - 21 March 2006 : 16:53:45 Clever idea. A bit like IntelliTXT. < |
Ranko |
Posted - 21 March 2006 : 12:43:51 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.< |
Shaggy |
Posted - 21 March 2006 : 12:37:31 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.
< |
Ranko |
Posted - 21 March 2006 : 12:33:32 I want to double the usage of the filter to include links for book selling site.< |
AnonJr |
Posted - 21 March 2006 : 11:03:07 Please tell me what bad word is 255 characters long...
or are you trying to filter out a phrase?< |