Version: 1.32, by Paul M
Developer Last Online: Nov 2023
Version: 3.0.x
Rating:
Released: 09-09-2004
Last Update: 05-28-2005
Installs: 161
No support by the author.
This modification is no longer available or supported.
A simple modification I did for our forum that was originally based on the Proxy Detector Hack (v3.0). Obviously, like all proxy server detection hacks, this will only work if the proxy server passes the appropiate http variables.
This hack makes the forum always use the members real ip when a proxy is detected, meaning that all existing ip functions continue to work, basically ignoring the proxy server (other than recording it's presence).
i.e.
* The real ip/host is displayed in who's online
* The real and proxy server ip's are accesible for each post, the button is red for members using a proxy.
* The real ip is searchable in the admin/mod cp, not the proxy ip.
* The real ip is bannable by admins (no moving to another proxy to avoid a ban).
etc etc.
The installation should take about 10-15 mins (4 file edits, 2 phrase changes, 1 new template, 1 sql query, 1 new image).
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Aha, now that I've used this a bit I see what the others meant about the WOL not working. Paul, I know your hack doesn't make any changes to the WOL list, but version 3.1 of the old hack does. But for some reason that doesn't work anymore after upgrading to your version.
The way it used to work is when you looked at the WOL list, if a user was behind a proxy their real IP would show up (as it still does) but next to it would be the blue question mark graphic which you could mouseover to see the proxyip. I don't know how that would be terribly useful, but it explains what people mean by there being a missing icon in the WOL anyway.
Well this was never meant to work with the other proxy hack - the only reason it's mentioned is because we had the proxy 3.0 version installed on our forum at the time I decided to develop this - therefore it made sense to use part of the 3.0 code we already had (mainly for storing the extra IP in the database). In reality, had I written it from scratch then the code would pretty much have been the same anyway.
I have never actually looked at the 3.1 version so I have no idea what it does to the WOL, or why it would stop it working but I'll take a peek and see if it's obvious.
I have never actually looked at the 3.1 version so I have no idea what it does to the WOL, or why it would stop it working but I'll take a peek and see if it's obvious.
One of the attachments available on that hack thread is just the WOL changes, so that should make it pretty easy to spot any differences.
One of the attachments available on that hack thread is just the WOL changes, so that should make it pretty easy to spot any differences.
I can see no reason why it would stop working - if you already have the proxy hack 3.1 WOL code installed - then installing this hack should have no effect. The PH3.1 WOL works by storing the detected proxyip in the sessions table, this hack would not affect this.
I can see no reason why it would stop working - if you already have the proxy hack 3.1 WOL code installed - then installing this hack should have no effect. The PH3.1 WOL works by storing the detected proxyip in the sessions table, this hack would not affect this.
Oh, I see what you mean. Now I realize the reason I'm not seeing that graphic is the $show[useragent] conditional which I apparently don't have set (and can't find). Anyway sorry to bother you.
Seems to be working fine. Wont know until I come accross a proxy though I guess.
Question, when searching users IPs in the Admin CP, will it specify which is a proxy and which is real or will it just resolve the proxy into a real IP?
Oh, I see what you mean. Now I realize the reason I'm not seeing that graphic is the $show[useragent] conditional which I apparently don't have set (and can't find). Anyway sorry to bother you.
It's a setting at the bottom of each WOL page.
Quote:
Originally Posted by Rukas
Question, when searching users IPs in the Admin CP, will it specify which is a proxy and which is real or will it just resolve the proxy into a real IP?
Only the real ip is searchable, because the ACP code does not know that the proxip field exists.
when the forum detects you are surfing a proxy it looks op your reall IP. If your reall IP's is banned; you don't have forum acces. Not even with proxy.
Wow. I went through every related php file and template twice before realizing what you mean. I can't believe I've never noticed that option before. Thanks!
(huh? im really confused... when I asked the same question about, uuhm, 8 months ago people said to me "no that isn't possible". Maybe I'm confussing some hacks with each other! THX ANYWAY!)