Dean C
07-10-2003, 10:00 PM
Hi,
I can't take any credit for this modification whatsoever. It's all down to the kindess of Slynderdale from here at vBulletin.org.
What this mod does is allow you to censor a phrase or a sentance by placing in the censor box in 'vbulletin options' the two words like so:
word1+word2
So if you wanted to censor the phrase 'mist rocks' you would add mist+rocks to the list of censored words. Simple huh :)?
Ok here are the instructions:
In functions.php find:
while (list($key,$val)=each($censorword)) {
if ($val!="") {
Under it add:
$val = str_replace('+',' ',$val);
Find:
while (list($key,$val)=each($ctcensorword)) {
if ($val!="") {
Under it add:
$val = str_replace('+',' ',$val);
.................................................. ....................
Simple huh ;) Well all credit goes to Slynderdale!
Enjoy the modificication.
- miSt
I can't take any credit for this modification whatsoever. It's all down to the kindess of Slynderdale from here at vBulletin.org.
What this mod does is allow you to censor a phrase or a sentance by placing in the censor box in 'vbulletin options' the two words like so:
word1+word2
So if you wanted to censor the phrase 'mist rocks' you would add mist+rocks to the list of censored words. Simple huh :)?
Ok here are the instructions:
In functions.php find:
while (list($key,$val)=each($censorword)) {
if ($val!="") {
Under it add:
$val = str_replace('+',' ',$val);
Find:
while (list($key,$val)=each($ctcensorword)) {
if ($val!="") {
Under it add:
$val = str_replace('+',' ',$val);
.................................................. ....................
Simple huh ;) Well all credit goes to Slynderdale!
Enjoy the modificication.
- miSt