Quote:
Originally Posted by Gio Takahashi
this is interesting however, I want to make it so that it is censored from Guests. Is it possible?
|
Yes, it's a simple change.
Open ./includes/functions.php and replace this:
PHP Code:
// USER OPTIONAL REPLACEMENTS AS WORD CENSOR HACK
// Use replacements as an optional display-time swear filter.
if (0 == $bbuserinfo['usereplacementscensor'])
{
// this user doesn't want censoring
// so just return the text as given
return $newtext;
}
with this:
PHP Code:
// USER OPTIONAL REPLACEMENTS AS WORD CENSOR HACK
// Use replacements as an optional display-time swear filter.
if ( (0 == $bbuserinfo['usereplacementscensor']) && (0 != $bbuserinfo['userid']) )
{
// this user doesn't want censoring
// so just return the text as given
return $newtext;
}
Save and close the file. That should be that, and guests will be subject to censorship. I'll update the main instructions with this information.