Print Page | Close Window

Troubles with the word "snart" and "snarest"

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=28031
Printed Date: 02 April 2026 at 8:05am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Troubles with the word "snart" and "snarest"
Posted By: madpakke
Subject: Troubles with the word "snart" and "snarest"
Date 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.? AngryAngry



Replies:
Posted By: WebWiz-Bruce
Date 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.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: madpakke
Date Posted: 18 November 2009 at 6:14pm
strange, it works fine after i deleted all the standard bad words..


Posted By: madpakke
Date 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:
http://macpack.dk/bad_word_filter.jpg" rel="nofollow - http://macpack.dk/bad_word_filter.jpg
 
still then i and users write snart and snarest it goes
 
sN*rt
sN*rest
 
What is wrong here, and how do i change it.-?


Posted By: dpyers
Date 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.


Posted By: WebWiz-Bruce
Date 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'


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: billd3
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net