![]() |
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; |
Quote:
very sorry |
nice nice
|
Why should I need one? :rolleyes:
|
Thanks for the time I couldn't find to update the hack :)
btw: instead of using a function to detect the Proxy-Address, you could modify /includes/init.php by adding PHP Code:
PHP Code:
|
Quote:
|
Not much advantages, but:
1. init.php is called in every script and it's among the first scripts called there. 2. The IP is determined in the same script. 3. It was my approach to that hack. ;) |
There is no such template as post_ip_show !
|
Quote:
it's postbit_ip if you want, you can change this postbit_ip to: PHP Code:
|
Quote:
|
can someone make this easy on me and translate it for RC2 :(
|
The MOD now work for vB3 RC4. See first post. (You may want to uninstall if you installed the version for beta7)
https://vborg.vbsupport.ru/showthrea...503#post474503 Quote:
# Replace all by HTML Code:
|
Đi lang thang t?m hack/mod lại vớ phải đ?ng code của b?c Hắc Nho b?n n?y :) vui thật đ? :) I iem Dr?c?l? in GVN :D
[high]* draculanowaday will install it tomorrow :)[/high] |
Quote:
|
ok i installed this hack on rc4 and didnt notice anything dif but then again i was a little confused by the instructions anyone got them in idiot terms
|
Quote:
HTML Code:
############################################ |
installing now thanx
|
ok i think i got it does this screen look right
|
Not sure about the 'Alt IP Address' bit, I don't get that.
This is what I get - (IPs edited of course) |
nice hack!!! thx
|
can anyone help me not sure wut i did wrong i followed the reworded directions above and still nothing its not decoiphering the actual IP I have vb3 rc4
|
Cant remember exactly when, but floris released something similar to this a couple of weeks ago.
|
Quote:
btw, if proxy is not detected (and not all proxy is detected, only most of them are), it should look normal, as if nothing happened :P Quote:
https://vborg.vbsupport.ru/showthread.php?t=59738 It's nice, but I dont know much about that ALT_IP function doing, and as I stated at the begining, the original hack for this one belongs to Takara and Stadler (HERE for vB 2.0) |
Quote:
|
Quote:
things you can test: - open post table (in phpMyAdmin, for example), and sort by proxyip, see if you have any IP in there SELECT * FROM `post` WHERE 'proxyip' !=''; If there're some IPs in there, means you did record the proxy IPs. otherwise, it could either be none of the new posts posted under any ip or your proxy function doesnt work. MAKE SURE that you did all the changes in the files correct. - add any IP into some post that you can check, using phpMyAdmin, and see if it shows up in your testing post good luck it's hard to help, without information, you know. if you do everything correct, it should work properly. |
Quote:
|
ok i did some more looking and it shows me a proxy ip for 2 users on the last page of the post table so i guess i ++++ed up on the templates somewhere
|
Quote:
also, check this part in postings.php PHP Code:
|
ok I checked all those things now when I go to a post where the user is behing a proxy i get the following message pic 1
so I did a phrase search and got this pic 2 |
Quote:
Make sure that the thread_displayproxyip is belong to Front-End Error Messages Phrases catalogue Otherwise, remove that phrase, and add again, under FRONT-END ERROR MESSAGES bwt. is this your post? https://vborg.vbsupport.ru/showpost....4&postcount=27 seems like you installed floris' ALT_IP hacks? remember, this one is different. I didnt play with the other one, so I dont know if there's any conflict. |
Quote:
|
All times are GMT. The time now is 07:22 PM. |
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:
|