The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Proxy Detector v3.1 - for Posts and WOL Details »» | |||||||||||||||||||||||||
############################################
# Hack Name: Proxy Detector v3.1 # Orgiginal hack by Takara and Stadler (for vB 2.0) # Modified for vB 3.0.1 and Addon by HacNho # Compatibility to vB 3.0.x # Date: 06.20.04 ############################################ # History: # Version 3.1: (update 06.20.04) # 1. Display ProxyIP in WhoIsOnline list (in UserAgent section) # # Version 3.0: # 1. Compatibility to vB 3.0 RC4 # 2. Admin with "adminpermission" will see the "ProxyIP when overmouse if the IP is not shown # 3. Proxy IP will be displayed with IP address in show IP page # # # Version 2.0 ... # # Version 1.0 by Takara and Stadler (for vB 2.x) ########################################### # Description: This is little hack detects via the Environmental Variable # HTTP_X_FORWARDED_FOR if the user is using a proxy. Most proxys give out this # variable. If it is it will display it out for you, and allow you to view the # real IP of the person, and proxy IP when you click the link (in Post or Who'sOnline). # # Files Edited: 5 - includes/init.php # - Files edited for proxyIP in posts: 2- includes/functions_newpost.php, postings.php # - Files edited for proxyIP in WOL: 2- includes/sessions.php, online.php # Templates Modified for proxyIP in posts: 2 - postbit_ip_show, postbit_ip_hidden # Templates Modified for ProxyIP in WOL: 1 - whosonlinebit # SQL Query to run: 2 (add proxyip in post and session table) # Phrase to add: thread_displayproxyip # # Remember to backup your files and DB before making any changes! ############################################ INSTALL: HN-ProxyDetextor-301.txt (8.9 KB) Upgrade from version 3.0 or only install ProxyDetector for WOL: HN-ProxyDetextor-WOL.txt (11.5 KB) - Update 06.20.04 Upgrade from version for vB beta7 to version 3.0HN-ProxyDetextor-upgrade-b7-RC4.txt (3.5 KB) SCREENSHOTS: proxydetected.jpg (7.8 KB) proxyip-WOL.gif (10.1 KB) *NEW: version 3.1 will save and show proxyIP in Who is Online page. In order to see proxy, you need to turn "UserAgent" on: http://YourDomain/Yourforum/online.php?ua=1 Remember to click Show Your Support
|
Comments |
#72
|
||||
|
||||
Quote:
I'm uninstaling it anyhow. |
#73
|
|||
|
|||
Quote:
if you have modified the thread_displayip template as suggested in Proxy Detector v3.1. it should say: if you have created the thread_displayproxyip phrase as suggested in Proxy Detector v3.1. The phrase thread_displayip already exists. You are not meant to touch that. You are meant to create a NEW phrase called thread_displayproxyip. In the Text field you should insert: The proxy IP Address is: $postinfo[ipaddress]<br> The proxy host name is: $postinfo[hostaddress]<br> The real IP Address is: $postinfo[proxyip] That will give you the proper display. |
#74
|
||||
|
||||
Quote:
### Run the Following SQL Query (for POST) ALTER TABLE post ADD proxyip VARCHAR(50) not null AFTER ipaddress; ### Run the Following SQL Query (for WOL) ALTER TABLE session ADD proxyip VARCHAR(50) not null AFTER `host`; you have to have that field to store proxyIP, otherwise you will get the default IP page as you had |
#75
|
||||
|
||||
Quote:
Good job with it anyhow, wish I could make them! |
#76
|
||||
|
||||
Quote:
You should try to add (manually) some number into the proxyip field of some post that you KNOW (in order to test). If you have the number appeared in "show IP windows" then you are fine, just check the code to detect the proxy. Some proxys are not detectable. btw, the code only work for NEW posting. it wouldnt know the proxyip for old posts. |
#77
|
|||
|
|||
I've just installed it and faced to the same problem... Looks like information do not add into proxyip in the post table. This field clean. Could you advise something?
|
#78
|
||||
|
||||
Quote:
|
#79
|
||||
|
||||
If I could ask for some assistance as this is not working.
If I use the link http://YourDomain/Yourforum/online.php?ua=1 then I get the new look Who's Online page with all of the relevant details. However, this info is not saved and when I next go to Who's Online it has reverted back to its original state. Also, when I click on the IP info button in the postbit I just get the regular IP info postings.php page. I don't get the proxy ip is etc which is shown in attachment 1. I am running 3.0.3 so this may have something to do with it. Any help would be most appreciated. |
#80
|
|||
|
|||
Look at the bottom of Who's Online - you should see these settings:
Display: All (space) User Agent: No (space) Per Page: 20 They are the default settings that appear whenever you load http://YourDomain/Yourforum/online.php? To see the results of the Proxy Detector v3.1 hack you need to select User Agent: Yes The Real IP is seen above the user agent info and if a Proxy IP is detected you will see the round blue icon with question mark within the user agent info. Mouse-over that to see the Proxy IP. If you are concerned about the User Agent setting defaulting every time you leave and return to Who's Online then keep Who's Online open but minimised as an icon on your taskbar while you browse the rest of the site in another open window. |
#81
|
||||
|
||||
Quote:
Thankyou. Although, in the first screen shot is that suppose to be displayed when I click on the IP address icon located next to each post? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|