Fixed it...
************
** Step 3 **
************
Edit the file admin/function.php
Find the following line:
// do ip adresses
And add before it:
global $DB_site;
$custom = $DB_site->query_first("SELECT * FROM custom WHERE userid=$bbuserinfo[userid]");
Save the file and upload it to your admin folder.
SHOULD BE:
************
** Step 3 **
************
Edit the file admin/function.php
Find the following line:
// do ip addresses
And add before it:
global $DB_site;
$custom = $DB_site->query_first("SELECT * FROM custom WHERE userid=$post[userid]");
Save the file and upload it to your admin folder.
|