I had problems with this hack working on v 2.2.9 in the dovars section of the ADMIN/functions.php
PHP Code:
while ($var=$DB_site->fetch_array($vars) and $i++) {
if ($var['findword']!="") {
$findwords[$i]=$var['findword'];
$replacewords[$i]=$var['replaceword'];
}
}
$newtext=str_replace($findwords,$replacewords,$newtext);
I had to change it to:
PHP Code:
while ($var=$DB_site->fetch_array($vars) and $i++) {
if ($var['findword']!="") {
$findwords[$i]=$var['findword'];
$replacewords[$i]=$var['replaceword'];
$newtext=str_replace($findwords,$replacewords,$newtext);
}
}
I am a new vbulletin person but I think this is a typo in the main hack posted at the begining of this thread. If no-one else has had this problem please disregard this post. If I made a newbie mistake please disregard this post.
Thanks.
Flash