miniBB ®
 
miniBB Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Polls addon for miniBB Organize opinions on miniBB-forums, collecting them with the Polls & Surveys add-on!
News & Announcements miniBB Community Forum / News & Announcements /
Short link for this topic:

Badwords addon updated

Author Team
8-)
#1 | Posted: 16 Nov 2005 02:52 | Edited by: Team
"Bad" words filter 2.0 addon has been updated. It's a bit more advanced now in terms of understanding badwords surrounded by special symbols and punctuation. Still, of course, there's no definite cure for "bad" words in your forums except for constant moderation! This plugin can always be used as an additional automatic moderation helper though.
Author ge1doot
Forums Member
#2 | Posted: 20 Nov 2005 15:05
Hi,

Maybe this kind of substitution would improve spam filtering?? (i.e. v|c0din, vic0.d1n, vi@gra, @ssh0le, et cetera..)

....foreach($text as $tk=>$tV){
$tV=str_replace(array("1","!","|","]","[","^"),"i",$tV);
$tV=str_replace("3","e",$tV);
$tV=str_replace("@","a",$tV);
$tV=str_replace("0","o",$tV);
$tV=str_replace("$","s",$tV);
$tV=str_replace(".","",$tV);
$tV=str_replace("_","",$tV);
if($bV==$tV.....

just an idea...
Author Sergei
Team member
#3 | Posted: 23 Nov 2005 01:36 | Edited by: Sergei
ge1doot
Yep, your suggestion is good in some cases for english/latin alphabet words.

i would write it as follows though:

....
foreach($text as $tk=>$tV){
$tV=str_replace(array("1","!","|","]","[","^"),"i",$tV);
$tV=str_replace(array('3','@','0','$','.','_'),array('e','a','o','s',' ',''),$tV);
if($bV==$tV
....

This "alphabet" can be extended with characters from other languages. Perhaps, in future plugin releases we'll add some customizable symbol/character dictionary.

Thos who wanted to use it now can use this solution now and customize it according to the "bad" words they encounter.


For those who don't understand :) - this will replace symbols used to "hide" badwords in posts with their character substitutes - like @ will be replaced with "a" etc. before checking a word for validity.
Author _Marco
Forums Member
#4 | Posted: 23 Nov 2005 01:52
With this plugin, will my emailadress Marco@mymail.org look like Marcoamymail,org ?

_Marco
Author Sergei
Team member
#5 | Posted: 23 Nov 2005 02:05
_Marco
nope, it acts like that only in case of badwords found, symbol replacements are made only to check if there's a bad word hiding ;)
Author _Marco
Forums Member
#6 | Posted: 23 Nov 2005 02:14
Sounds cool :)

_Marco
News & Announcements miniBB Community Forum / News & Announcements / Badwords addon updated Top
Your Reply Click this icon to move up to the quoted message

» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
miniBB Community Forum Powered by Free Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts