| Author |
Topic Search Topic Options
|
madpakke
Groupie
Joined: 09 June 2009
Status: Offline
Points: 165
|
Post Options
Thanks(0)
Quote Reply
Topic: Troubles with the word "snart" and "snarest" Posted: 15 November 2009 at 3:39pm |
Then you write the words i writed in the topic name in a new thread, it says something like:
sn*rt and sn*rest.
And the words isent in the bad word filter.. so it must be a mistake some where in the code or am i wrong.?  
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 16 November 2009 at 10:32am |
|
The only thing that would course this type of thing is the way in which you have configured the bad word filter.
You must have entered a word in the bad word filter that matches the text within the words you have and replaces them with words containing an star.
|
|
|
 |
madpakke
Groupie
Joined: 09 June 2009
Status: Offline
Points: 165
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 November 2009 at 6:14pm |
|
strange, it works fine after i deleted all the standard bad words..
|
 |
madpakke
Groupie
Joined: 09 June 2009
Status: Offline
Points: 165
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 November 2009 at 6:21pm |
But i need to have the bad word filter on.
here is the bad words ive got right now:
still then i and users write snart and snarest it goes
What is wrong here, and how do i change it.-?
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
Posted: 18 November 2009 at 7:48pm |
|
You have nar and Nar in the bad word filter. When it sees either of those character strings it replaces them so everything is working properly.
If you don't mind seeing those characters in the middle of a word but just want to change them when they are stand-alone words, you might want to try putting a space on either and/or both sides of them - e.g. " nar", "nar ", " nar ".
I don't remember if spaces are retained by the filter or trimmed off, but I think they're retained.
|
Lead me not into temptation... I know the short cut, follow me.
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 19 November 2009 at 9:47am |
|
The bad word filter has been updated for version 9.64 so that you can use Regular Expressions for the text you are searching for.
This will allow you to create very powerful pattern matching so you can more accurately search for patterns and text you wish to replace.
For example under the preposed system if you wanted to match just 'nar' and not 'snart' you would put in the following as the bad word:-
\bnar\b
This would then only match 'nar' and not whole words containing 'nar'
Edited by WebWiz-Bruce - 19 November 2009 at 9:57am
|
|
|
 |
billd3
Senior Member
Joined: 19 February 2003
Location: United States
Status: Offline
Points: 530
|
Post Options
Thanks(0)
Quote Reply
Posted: 19 November 2009 at 12:54pm |
|
LOL - good deal, as you can imagine here when we filtered a certain word, well, 'compass' became 'compbutt' or 'comprump'. It was SO funny at times, we had people really laughing at the results in some cases.
|
|
BillD
http://theamcpages.com
http://theamcforum.com
|
 |