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 |
#42
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/showpost....6&postcount=32 it's up to you, which one you want to use. floris' hack may work well too. |
#43
|
|||
|
|||
This is great - but it was HELL to figure out your TXT install file... you should make it a little bit easier to read...
|
#44
|
||||
|
||||
Quote:
otherwise, just here's the rule: each commands should open by <command> and closed by </command> |
#45
|
||||
|
||||
It doesn't work here
first I get an error by the MYSQL: Duplicate column name 'proxyip' But this column isn't in the Database! So I can't remove it too. Second of all: The IP Address is: *. The host name is: *. but I don't see the Proxy message. |
#46
|
||||
|
||||
Ok, that problem is solved.
So it's working now. But: when I block an IP address I can't access the forum. When I use proxy, I can access again. When I'm posting the mod can see that I am with proxyserver... but> how can I keep them banned? The system must see that I'm on proxy and the originally address is banned. Is this possbile? Someone who knows the anwser? |
#47
|
||||
|
||||
Quote:
I think BAN system do work with regular IP (which would be proxy IP in your case), so if you want to ban someone, you have to ban his proxy IP. there's nothing related to real IP revealed yet. For rightnow, I am not interested in banning system (I dont ban anyone, there's no bad guy in my site tho), so ... I dont think I can help you yet. anyway, if you wanna write it yourself, check out this part in functions.php Code:
// ###################### Start checkipban ####################### function verify_ip_ban() { // checkes to see if the current ip address is banned global $vboptions, $session; $vboptions['banip'] = trim($vboptions['banip']); if ($vboptions['enablebanning'] == 1 AND $vboptions['banip']) { $addresses = explode(' ', preg_replace("/[[:space:]]+/", " ", $vboptions['banip']) ); foreach ($addresses AS $val) { if (strpos(' ' . IPADDRESS, ' ' . trim($val)) !== false) { eval(print_standard_error('error_banip')); } } } } You need to mahe sure that $proxyip is detected, and then compare this value with $val, something like Code:
if (strpos(' ' . $proxyip, ' ' . trim($val)) !== false) { eval(print_standard_error('error_banip')); } Maybe you just need to add the code bellow Code:
if (strpos(' ' . IPADDRESS, ' ' . trim($val)) !== false) { eval(print_standard_error('error_banip')); } remember, I DID NOT test the script, so if you try, give it some extra carefull |
#48
|
|||
|
|||
Once this is installed, where does the information get shown about the users IP's
Regerds |
#49
|
||||
|
||||
Quote:
https://vborg.vbsupport.ru/attachmen...chmentid=16621 |
#50
|
|||
|
|||
I have followed all the steps, but all I see is the IP address as before, no proxy or other information is there, what could be wrong
Regards Chet |
#51
|
||||
|
||||
Quote:
Check the posts table, and see if you have any information in proxyip column for any post: - open post table (in phpMyAdmin, for example), and sort by proxyip, see if you have any IP in there, or run this querry: SELECT * FROM `post` WHERE 'proxyip' !=''; If there're some IPs in there, means you did record the proxy IPs, check the template. 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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|