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
  #62  
Old 11-05-2005, 04:08 AM
RGSMDNR RGSMDNR is offline
 
Join Date: Jun 2005
Location: Calgary, Alberta
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm.. i installed it and im getting the following error on my forums

Parse error: parse error, unexpected T_CLASS, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/XXXX/public_html/forums/includes/class_core.php on line 2017

i cant even browse the board without getting this error...?
Reply With Quote
  #63  
Old 11-05-2005, 12:14 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

Then you have made an error editing class_core.php, check your work.
Reply With Quote
  #64  
Old 11-06-2005, 10:18 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

Version 2.11 uploaded.

This includes changes in the way it works internally, there is no need to upgrade if your current version is happily working.
Reply With Quote
  #65  
Old 11-10-2005, 03:48 AM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul quick question...I was not paying attention and installed this without having 'Allow Overwrite' clicked...will this cause problems?

Thanks!
Reply With Quote
  #66  
Old 11-10-2005, 05:30 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

If you havn't installed it before then it won't make any difference.
Reply With Quote
  #67  
Old 11-10-2005, 03:25 PM
dieselpowered's Avatar
dieselpowered dieselpowered is offline
 
Join Date: Aug 2004
Location: Arizona
Posts: 661
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
If you havn't installed it before then it won't make any difference.
Ok that is what I thought...appreciate the response as always!!
Reply With Quote
  #68  
Old 11-10-2005, 04:10 PM
slank slank is offline
 
Join Date: May 2005
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great idea and hack - installs with glee
Reply With Quote
  #69  
Old 11-13-2005, 05:31 AM
biggjoe biggjoe is offline
 
Join Date: Sep 2005
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul;

Thanks for the great hack! Very nice, simple to install and works great on vb 3.5.1.

A few notes:

I noticed, after checking through my steps over and over again, that everything worked great, except for the red icon...which was not appearing. Also yes, I did make sure it was loaded into the correct style/images/button folder and so on.

I noticed that I got a different image/icon, one that was more like a square 'check box'. When choosing 'view image' it was looking for a file called 'ipp.gif'.

Now my custom style, uses an 'ip.gif' and all works well, but the hack some how, was making a call for 'ipp.gif'...which is WEIRD since this is not used anywhere in my custom style.

So, I just simply renamed 'px.gif' to 'ipp.gif' and all works great! The icon is red, I can hover the mouse arrow over the icon and it gives me the 'real ip address'.

Also, I can click on the red icon and I get the correct message:

Quote:
vBulletin Message

The Real IP Address is: 68.64.155.66
lamrda-cuda2-68-64-155-66.lmdaca.adelphia.net
The Proxy Server IP Address is: 200.219.184.81
200.219.184.81
Btw, here are the details on the proxy that I used to test this function:

Proxy IP Address: 200.219.184.81

Port #: 8080

User/Pass: N/A

I have another mod also installed called 'Log Logins Hack' and it was able to work with your hack and show me the real ip address. FYI, I did test with both anon and non-anon proxies just to make sure.

Thanks again for the sweek hack!

Hope my info is of some assitance.

One final question: Are there any tools at all that show up in AdminCP, when using this hack?



Peace!

J.
Reply With Quote
  #70  
Old 11-13-2005, 12:57 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 biggjoe
I noticed, after checking through my steps over and over again, that everything worked great, except for the red icon...which was not appearing.

I noticed that I got a different image/icon, one that was more like a square 'check box'. When choosing 'view image' it was looking for a file called 'ipp.gif'.

So, I just simply renamed 'px.gif' to 'ipp.gif' and all works great! The icon is red, I can hover the mouse arrow over the icon and it gives me the 'real ip address'.
Hmm, px.gif used to be called ipp.gif in the old 3.0.x version. Somehow the old name sneaked into the template in the 2.11 update last week. I have fixed that now and uploaded the mended version (2.12). Thanks for reporting it :up:

Quote:
Originally Posted by biggjoe
One final question: Are there any tools at all that show up in AdminCP, when using this hack?
No, this does not make any alterations to the ACP.
Reply With Quote
  #71  
Old 11-13-2005, 11:11 PM
biggjoe biggjoe is offline
 
Join Date: Sep 2005
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Paul, thought you might be interested in a post I made regarding your mod working wth Zach's ipInfo -- Extra user IP information.

Here's my post:

https://vborg.vbsupport.ru/showthrea...634#post820634

J.
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 07:37 AM.


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.05161 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
  • (4)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