Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Proxy Detector v3.1 - for Posts and WOL Details »
Proxy Detector v3.1 - for Posts and WOL
Mod Version: 1.00, by mtha (Contributor) mtha is offline
Developer Last Online: May 2016 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.1 Rating: (1 vote - 5.00 average) Installs: 68
Released: 08 Feb 2004 Last Update: 21 Jun 2004 Downloads: 50
Not Supported DB Changes  

############################################
# 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

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	proxydetected.jpg
Views:	1723
Size:	7.8 KB
ID:	16621   Click image for larger version

Name:	proxyip-WOL.gif
Views:	1109
Size:	10.1 KB
ID:	19298  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Multiple account login detector (AE Detector) MPDev vBulletin 3.5 Add-ons 482 09 Jun 2012 14:26

Comments
  #2  
Old 08 Feb 2004, 21:12
version2's Avatar
version2 version2 is offline
 
Join Date: Feb 2003
Rock on.
__________________
version2 aka van aka mol
Reply With Quote
  #3  
Old 08 Feb 2004, 23:24
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
please make it work for rc2
Reply With Quote
  #4  
Old 08 Feb 2004, 23:44
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by msimplay
please make it work for rc2
You can try installing on RC2 (or RC4 is the most current one). it should work fine. (version2, do you need to do anything else for your RC2 to work with this hack?)

I dont have any RC in use yet,
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
  #5  
Old 09 Feb 2004, 00:58
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
i did try and i failed thats why i posed please make it work for rc2
Reply With Quote
  #6  
Old 09 Feb 2004, 02:48
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by msimplay
i did try and i failed thats why i posed please make it work for rc2
I have looked over the code for RC4, and there's nothing different, except for the search in functions.php, you look for

/*======================================================================*\
|| ####################################################################
|| # 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.
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
  #7  
Old 09 Feb 2004, 09:21
Frank Frank is offline
 
Join Date: Nov 2001
Nice thanks.
Reply With Quote
  #8  
Old 09 Feb 2004, 11:23
VampireMan VampireMan is offline
 
Join Date: Jan 2003
Real name: chris
could this be altered for the who's online page ?
Reply With Quote
  #9  
Old 09 Feb 2004, 14:18
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
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
Reply With Quote
  #10  
Old 09 Feb 2004, 15:39
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by VampireMan
could this be altered for the who's online page ?
This hack is for per post IP detection, and who's online page is for per login IP, so, this would not work in who's online page

However, you can use the same method, to read IP in who's online page. it'd be great too.

Originally Posted by msimplay
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
I dont really understand what you mean. This hack should not effect profile.

the only SQL query is to add a column to your post table:
ALTER TABLE post ADD proxyip VARCHAR(50) not null AFTER ipaddress;
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
  #11  
Old 09 Feb 2004, 15:42
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Originally Posted by mtha
This hack is for per post IP detection, and who's online page is for per login IP, so, this would not work in who's online page

However, you can use the same method, to read IP in who's online page. it'd be great too.


I dont really understand what you mean. This hack should not effect profile.

the only SQL query is to add a column to your post table:
ALTER TABLE post ADD proxyip VARCHAR(50) not null AFTER ipaddress;
sorry your right i needed to restart coz i just installed mozilla 1.6 sorry
very sorry
Reply With Quote
  #12  
Old 09 Feb 2004, 18:35
Metro Man Metro Man is offline
 
Join Date: Dec 2003
nice nice
Reply With Quote
  #13  
Old 09 Feb 2004, 19:48
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Real name: Marco
Why should I need one?
Reply With Quote
  #14  
Old 09 Feb 2004, 19:54
Stadler Stadler is offline
 
Join Date: Apr 2002
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
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

after
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(At least I came this far )

Last edited by Stadler; 09 Feb 2004 at 20:03.
Reply With Quote
  #15  
Old 09 Feb 2004, 20:09
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Real name: Ha Mai
Originally Posted by Stadler
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...
wondering what's the advantage/disadvantage of using init.php to functions.php? I'm kinda new to that init.php
__________________
Selected Hacks:
[APM] Advanced Product Management [for vb4][for vb3.6] [for 3.7.x/3.8.x] -- [YAAS] Yet Another Awards System [for vB 3.5] [for vB 3.0] -- [YAPMS] Yet Another Private Message System 1.0.1
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:59.

Layout Options | Width: Wide Color: