![]() |
Proxy Detector v3.1 - for Posts and WOL
############################################
# 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 https://vborg.vbsupport.ru/ |
Rock on.
|
please make it work for rc2
|
Quote:
I dont have any RC in use yet, |
i did try and i failed :) thats why i posed please make it work for rc2
|
Quote:
/*================================================= =====================*\ || ################################################## ################## || # Downloaded: 22:43, Fri Feb 6th 2004 || # CVS: $RCSfile: functions.php,v $ - $Revision: 1.944 $ || ################################################## ################## \*================================================ ======================*/ at the end of that file, and add the getproxyip() function above it. everything else should be the same. (If codes RC4 and beta7 are the same (at the searching locations), I would assume that the code in RC 2 be the same) If you tell me the error, or where you get stuck, I may be able to help you, without rewriting the mod, which I dont think I will, until Gold. :) |
Nice thanks.
|
could this be altered for the who's online page ?
|
omg i ran the querie now nomatter who i click on the profile always goes to my profile how do i reverse this querie please :(
|
Quote:
However, you can use the same method, to read IP in who's online page. it'd be great too. Quote:
the only SQL query is to add a column to your post table: ALTER TABLE post ADD proxyip VARCHAR(50) not null AFTER ipaddress; |
All times are GMT. The time now is 10:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|