Quote:
Originally posted by SWFans.net
This modification works for the subject but not the message body. The swear filter is not implemented for the message subject (meaning the subject can contain words in the censoer list in the thread title) but the body text still gets censored. There is a missing piece here somewhere.
|
right..
here is the missing part:
edit functions.php, find:
Quote:
global $regexcreated,$searcharray,$replacearray,$phpversi onnum;
|
REPLACE it AS:
Quote:
global $regexcreated,$searcharray,$replacearray,$phpversi onnum, $thread;
|
find:
Quote:
return censortext($bbcode);
|
Replace it as:
Quote:
if ($thread['forumid']!=X AND $thread['forumid']!=Y)
{
return censortext($bbcode);
}
else{ return $bbcode;}
|
X,Y are forumids as usual..