PDA

View Full Version : un censoring certin words on a certin forum


RDX1
07-25-2002, 11:32 PM
i have a user that spams his URL all the time, but i want certin words not to be censored in a forum of mine (ads and offers)

any way to make it so it does this?

Logician
07-26-2002, 05:51 AM
edit newthread.php and newreply.php (and editpost.php if you like), find:


$message=censortext($message);


Replace it as:


if ($forumid!=X)
{
$message=censortext($message);
}


Replace X with the forumid you dont want word filter..

RDX1
07-27-2002, 03:32 AM
what if i only want certan words? it is a mod'ed forum so i can edit it if i dont like, if i cant get what i exactly need... and use this code hack

Logician
07-29-2002, 07:00 AM
I can give you this alternative:


if ($forumid!=X AND $bbuserinfo['username']!=Y)
{
$message=censortext($message);
}


This will disable censoring in forum X for user Y only..