Quote:
Originally Posted by ozzy47
Noticed a error within the mod. If you leave the New File Name For register.php setting blank, to disable the mod, you get a bunch of these errors on the online.php page.
Code:
Warning: strpos(): Empty needle in /home/ozzmodz/public_html/includes/functions_online.php(1245) : eval()'d code on line 35
|
Thanks.
In the mean time users should either disable the mod via the Product Manager or if you want go to Plugin Manager, edit the
Location Fix plugin.
Erase everything that is there and paste this in its place:
Code:
global $vbulletin;
if ($vbulletin->options['bop5rr_register'] AND $vbulletin->options['bop5rr_register'] != 'register.php')
{
$regpage = $vbulletin->options['bop5rr_register'];
if (strpos($userinfo['location'], $regpage) !== false)
{
$userinfo['action'] = $vbphrase['registering'];
$handled = true;
}
}
Will make the change in the next update.