Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Use real ip when proxy server is detected. Details »»
Use real ip when proxy server is detected.
Version: 2.13, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 08-27-2005 Last Update: 05-14-2006 Installs: 294
 
No support by the author.

This modification is no longer available or supported.

This hack makes the forum always use the members real ip when a proxy is detected, meaning that all existing ip functions should continue to work, basically ignoring the proxy server (other than recording it's presence).

i.e.

* The real ip (or host) is displayed in the who's online page.
* The real and proxy server ip's are accesible for each post, the button is red for members using a proxy server.
* The real ip is searchable in the admin/mod cp (but not the proxy ip).
* The real ip can be banned by admins.

etc etc ......

Obviously this hack relies on the proxy server passing the correct http variables to allow detection. This hack is packaged as a vBulletin product.



History:

v2.12 : Template fix for px.gif.
v2.13 : Minor changes, no update necessary.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 10-05-2005, 03:14 AM
csidlernet csidlernet is offline
 
Join Date: Apr 2003
Location: sydney
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks!
/me installs
Reply With Quote
  #33  
Old 10-05-2005, 03:55 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by csidlernet
[high]* csidlernet installs[/high]
csidlernet has been very busy tonight by the look of things.
Reply With Quote
  #34  
Old 10-05-2005, 11:33 AM
utw-Mephisto utw-Mephisto is offline
 
Join Date: Jan 2005
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is working great but I just discovered one member having as Proxy only PROXYIP displayed. I thought first it was something missing in file edits, but all the other proxy people are displayed correctly - any thoughts >!?
Reply With Quote
  #35  
Old 10-05-2005, 03:16 PM
DBs DBs is offline
 
Join Date: Oct 2001
Location: Aldershot
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used to run this hack on vb3.0.x and it worked great.

Just installed it on my 3.5 and i too get the following, when clicking on the getip link,

Real IP Address : $postinfo[ipaddress]
Real IP Hostname : $postinfo[hostaddress]
Proxy Server IP Address : $postinfo[proxyip]
Proxy Server Hostname : $postinfo[proxyhost]

All fileedits applied to class_core.php
Reply With Quote
  #36  
Old 10-05-2005, 05:24 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by utw-Mephisto
It is working great but I just discovered one member having as Proxy only PROXYIP displayed. I thought first it was something missing in file edits, but all the other proxy people are displayed correctly - any thoughts >!?
That means that PROXYIP was not defined at the time the data was saved, I can't see how that would be possible once it's all installed and working. Is this for all their posts or just a few at the time you installed it - i.e if they post again now, what do you see ?
Reply With Quote
  #37  
Old 10-05-2005, 05:36 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DBs
I used to run this hack on vb3.0.x and it worked great.

Just installed it on my 3.5 and i too get the following, when clicking on the getip link,

Real IP Address : $postinfo[ipaddress]
Real IP Hostname : $postinfo[hostaddress]
Proxy Server IP Address : $postinfo[proxyip]
Proxy Server Hostname : $postinfo[proxyhost]

All fileedits applied to class_core.php
It's nothing to do with the file edits - it's because your phrase "thread_displayproxyip" is wrong (it's the 3.0.x version).

Edit the phrase and change it to ;
Code:
The Real IP Address is: {1}<br /> The Proxy Server IP Address is: {2}
Reply With Quote
  #38  
Old 10-06-2005, 06:30 AM
memoriess memoriess is offline
 
Join Date: Jun 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
It's nothing to do with the file edits - it's because your phrase "thread_displayproxyip" is wrong (it's the 3.0.x version).

Edit the phrase and change it to ;
Code:
The Real IP Address is: {1}<br /> The Proxy Server IP Address is: {2}

Sorry how do I alter the sql?

I'm not good in this..

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE vb ADD proxyip VARCHAR(50) not null AFTER ipaddress' at line 1
Reply With Quote
  #39  
Old 10-06-2005, 07:46 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Eh ?

Why are you trying to run that sql (which btw, is not even from the 3.5.0 version).
Reply With Quote
  #40  
Old 10-06-2005, 08:47 AM
memoriess memoriess is offline
 
Join Date: Jun 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Eh ?

Why are you trying to run that sql (which btw, is not even from the 3.5.0 version).
Because I'm trying to follow the instructions to convert proxy to ip.. Pls help.
Reply With Quote
  #41  
Old 10-06-2005, 02:01 PM
DBs DBs is offline
 
Join Date: Oct 2001
Location: Aldershot
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeh, i had 2 phrases with different texts.

You might wanna add that to the install notes?

Cheers, all working lovely now

Quote:
Originally Posted by Paul M
It's nothing to do with the file edits - it's because your phrase "thread_displayproxyip" is wrong (it's the 3.0.x version).

Edit the phrase and change it to ;
Code:
The Real IP Address is: {1}<br /> The Proxy Server IP Address is: {2}
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:54 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05902 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete