Quote:
Originally Posted by Xplorer4x4
Any chance you will get this ported to 3.5 soon?? This was one of my favorite security feature hack there was for 3.0X.
I tried to install it and here is what I get:
Fatal error: Call to a member function on a non-object in / forums/ipinfo.php on line 81
Here is line 81 for reference.
PHP Code:
$users = $DB_site->query("
|
I get the same error. Can anyone help us debug this .php file so it will be 3.5 compatible. This tools is very important for sniffing out trolls and their alter egos...
Here is the rest of the code where the error is happening (of course you can download it all at the top of this thread, haha).
PHP Code:
// Search posts first
$users = $DB_site->query("
SELECT post.username, post.userid
FROM " . TABLE_PREFIX . "post AS post
WHERE post.ipaddress = '" . $postinfo['ipaddress'] . "'
AND post.userid != '" . $postinfo['userid'] . "'
GROUP BY post.username
ORDER BY post.username ASC
");