Version: 2.25, by Paul M
Developer Last Online: Nov 2023
Category: Administrative and Maintenance Tools -
Version: 3.6.x
Rating:
Released: 07-01-2006
Last Update: 11-24-2006
Installs: 633
DB Changes Uses Plugins Auto-Templates
Code Changes Translations
No support by the author.
This modification is no longer available or supported.
This hack makes the forum always use the members real ip when a proxy is detected, meaning that all existing ip functions should continue to work, basically ignoring the proxy server (other than recording it's presence).
i.e.
* The real ip (or host) is displayed in the who's online page.
* The real and proxy server ip's are accesible for each post, the button is red for members using a proxy server.
* The real ip is searchable in the admin/mod cp (but not the proxy ip).
* The real ip can be banned by admins.
etc etc ......
Note: Obviously this hack relies on the proxy server passing the correct http variables to allow detection.
If a proxy is detected, then a red ip icon is displayed instead of the standard one. This mod will also detect if the ipinfo hack is installed and adjust itself to call the ipinfo code.
History:
v2.20 : Updated for vb 3.6. IP Info detection added. v2.21 : Dependancies updated for 3.6.0 Gold. v2.22 : Updated for Version Checking. v2.23 : Fixed bug causing wrong ip in WOL display. v2.24 : Rewritten slightly to fix a minor issue with spiders. v2.25 : Updated for changes in vB 3.6.4.
Remember that this modification involves changes to the class_core.php file - if you upgrade your vbulletin, you must reapply those changes.
Please do not post asking why this does not work with some proxy servers, the answer is already in the notes above, and also in Post #160.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
sorry, im such a newb... but can someone tell me WHERE I go to install this, i downloaded the file and have it up but i need to know where exactly to go to edit:
class_core.php ;
Find ;
function fetch_ip()
{
return $_SERVER['REMOTE_ADDR'];
}
Thanks for this hack. I have 3.6.7_pl1 at the moment. I would love to see this with no code edits... do you think the necessary hook will ever be available?
One thing that I like to have, is a report for me and our staff to see who has been using proxies lately.
Below I present a SQL query for such a report and an xml export of a report for those who are using Logician's excellent WebTemplates mod.
Code:
SELECT username, count( * )
FROM `post`
WHERE `proxyip` REGEXP '[0-9].*'
GROUP BY username
ORDER BY `username` ASC
The above query gives you how many posts by a proxy for each user, in total.
The attached XML file list username, proxy ip, real ip for the last 30 days in descending order of post date.
Thanks for this hack. I have 3.6.7_pl1 at the moment. I would love to see this with no code edits... do you think the necessary hook will ever be available?
It will never happen because the edited code is part of the very basic core code that is run before the hook system is even initialized.