miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
News miniBB Support Forums / News /  
 

Badwords addon updated

 
Author Team
8-)
#1 | Posted: 16 Nov 2005 02:52 
"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
Partaker
#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 
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
Partaker
#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
Partaker
#6 | Posted: 23 Nov 2005 02:14 
Sounds cool :)

_Marco

News miniBB Support Forums / News /
 Badwords addon updated
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑