Version: 2.13, by Paul M
Developer Last Online: Nov 2023
Version: 3.5.x
Rating:
Released: 08-27-2005
Last Update: 05-14-2006
Installs: 294
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 ......
Obviously this hack relies on the proxy server passing the correct http variables to allow detection. This hack is packaged as a vBulletin product.
History:
v2.12 : Template fix for px.gif. v2.13 : Minor changes, no update necessary.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
It *is* correct, but is not what is being displayed, you must have a language specific translation or something.
Thank you Paul, you were correct that it was a phrase problem but the phrase that needed to be changed was thread_displayip not thread_displayproxyip.
Don't know what IP mod I had been using but looks like it was yours and at least one other.
Thanks again!
PS: Would you happen to know why my online.php returns a blank page?
I have created a new style using the default template - and confirmed that the headers are default version 3_5_2 so that should eliminate that as a possible reason and I confirmed no spaces at the very beginning and at the end...... I reuploaded the online.php and view online is turned on for admins only but I still get a blank page.
This is driving me nuts... any ideas and where to look?
For some reason it doesnt seem to be working. I had a user register & post with a proxy. I checked his i.p. & this is what came up:
The IP Address is: 205.134.241.50. The host name is: 205.134.241.50.
^^ thats a proxy
His REAL I.P. is
The IP Address is: 66.**.***.**. The host name is: cpe-66-**-***-**.hawaii.res.rr.com
Then I checked my i.p. addy & it looked like this
The IP Address is: 70.**.***.***. The host name is: ontario-ca-cuda3-70-**-***-***.ontrca.adelphia.net.
So why are proxy's showing up how they do & not telling me what his true I.P. really was? Am I looking in the wrong plcae cause all im doing is clicking the i.p. address icon in the users post.
Nice Hack, Installed but ...
got some error on apache error logs
Quote:
[Mon Jan 23 15:57:34 2006] [error] [client 213.149.***.***] PHP Notice: Undefined index: HTTP_FROM in /home/httpd/vhosts/domain.com/subdomains/forum/httpdocs/includes/class_core.php on line 2051
[Mon Jan 23 15:57:34 2006] [error] [client 213.149.***.***] PHP Notice: Undefined index: HTTP_FORWARDED in /home/httpd/vhosts/domain.com/subdomains/forum/httpdocs/includes/class_core.php on line 2052
[Mon Jan 23 15:57:34 2006] [error] [client 213.149.***.***] PHP Notice: Undefined index: HTTP_CLIENT_IP in /home/httpd/vhosts/domain.com/subdomains/forum/httpdocs/includes/class_core.php on line 2053
[Mon Jan 23 15:57:34 2006] [error] [client 213.149.***.***] PHP Notice: Undefined index: HTTP_X_FORWARDED_FOR in /home/httpd/vhosts/domain.com/subdomains/forum/httpdocs/includes/class_core.php on line 2054
[Mon Jan 23 15:57:34 2006] [error] [client 213.149.***.***] PHP Notice: Undefined variable: alt_ip in /home/httpd/vhosts/domain.com/subdomains/forum/httpdocs/includes/class_core.php on line 2055
[Mon Jan 23 15:57:34 2006] [error] [client 213.149.***.***] PHP Notice: Undefined index: HTTP_REFERER in /home/httpd/vhosts/domain.com/subdomains/forum/httpdocs/includes/class_core.php on line 1578
For some reason it doesnt seem to be working. I had a user register & post with a proxy. I checked his i.p. & this is what came up:
<snip>
So why are proxy's showing up how they do & not telling me what his true I.P. really was? Am I looking in the wrong plcae cause all im doing is clicking the i.p. address icon in the users post.
Sorry, I'm not really understanding you, but I assume you read this on the main post ;
Quote:
Obviously this hack relies on the proxy server passing the correct http variables to allow detection
Quote:
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 spent quite a bit of time searching for the lines in class_core.php. The instructions didn't even list them in chronological order. Here is the info if you wanted to update the readme.
Modification number:
1) code found on line 2042
2) code found on line 1539
3) code found on line 1574
Putting line numbers is never a good idea, they can change in each version of vb, and also if member has edited the file for other hacks. Any decent text editor will find the code in seconds using a search.
whats the code for the post bit?? im using a element skin, and that image doesnt seem to show up for me??.. im not sure if an image ment to show up but whats
px.gif for thn?
also when trying to search for an IP... it doesnt work?? am i ment to search in the same place? i've tested with my own IP.. to make sure IP is correct when searching. thanks