Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Proxy ip to real ip conversion Details »»
Proxy ip to real ip conversion
Version: 1.32, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.x Rating:
Released: 09-09-2004 Last Update: 05-28-2005 Installs: 161
 
No support by the author.

This modification is no longer available or supported.

A simple modification I did for our forum that was originally based on the Proxy Detector Hack (v3.0). Obviously, like all proxy server detection hacks, this will only work if the proxy server passes the appropiate http variables.

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

i.e.

* The real ip/host is displayed in who's online

* The real and proxy server ip's are accesible for each post, the button is red for members using a proxy.

* The real ip is searchable in the admin/mod cp, not the proxy ip.

* The real ip is bannable by admins (no moving to another proxy to avoid a ban).

etc etc.

The installation should take about 10-15 mins (4 file edits, 2 phrase changes, 1 new template, 1 sql query, 1 new image).

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
CarpCharacin

Comments
  #42  
Old 10-28-2004, 03:22 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I always get an error when I click the IP gif saying that the phrase 'thread_proxyip' can't be found. I've added it as a global phrase so I dunno what the problem is.
Reply With Quote
  #43  
Old 10-28-2004, 05:15 PM
MickDoneDee MickDoneDee is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seekers
Well I am pretty puzzled. I have installed the hack but I don't see anything different in the WOL, or on any posts. It simply displays one IP address and not

Real IP Address : $postinfo[ipaddress]<br>
$postinfo[hostaddress]<br>
Proxy Server IP Address : $postinfo[proxyip]<br>
$postinfo[proxyhost]

as indicated by the explaination of the thread. I must have done something wrong. Anyone got any ideas.

Thanks
To get four lines of info instead of two the icon you click in the postbit must be the red-coloured ipp.gif. This gif only appears when a proxy IP was detected with the post. If no proxy IP was detected with the post then the normal blue-coloured ip.gif will show. When that is clicked only two lines of info will show.

To test the hack you must login via a proxy server. This is easily done. There are lists of free proxy addresses such as those on http://www.aliveproxy.com/

In your browser's connections tab look for LAN Settings and there should be an option to use a proxy server. You just enter the proxy IP address and port and save. When done, login to your site and make a test post. The red ipp.gif should be visible in the postbit. Click this to see the real IP and proxy IP details.
Reply With Quote
  #44  
Old 10-28-2004, 05:48 PM
MickDoneDee MickDoneDee is offline
 
Join Date: Mar 2003
Location: Sydney
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peterska2
I always get an error when I click the IP gif saying that the phrase 'thread_proxyip' can't be found. I've added it as a global phrase so I dunno what the problem is.
Search your postings.php file for the phrase 'thread_proxyip'. You won't find it because that is not the phrase you are required to add. You are required to add 'thread_displayproxyip'. Make sure this phrase is in your postings.php file and make sure 'thread_displayproxyip' is created as a Front-End Error Messages phrase - not a Global phrase.
Reply With Quote
  #45  
Old 10-28-2004, 08:01 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

Thanks MDD, I couldn't have answered either of them any better.
Reply With Quote
  #46  
Old 10-28-2004, 09:20 PM
Seekers Seekers is offline
 
Join Date: Aug 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MickDoneDee
To get four lines of info instead of two the icon you click in the postbit must be the red-coloured ipp.gif. This gif only appears when a proxy IP was detected with the post. If no proxy IP was detected with the post then the normal blue-coloured ip.gif will show. When that is clicked only two lines of info will show.

To test the hack you must login via a proxy server. This is easily done. There are lists of free proxy addresses such as those on http://www.aliveproxy.com/

In your browser's connections tab look for LAN Settings and there should be an option to use a proxy server. You just enter the proxy IP address and port and save. When done, login to your site and make a test post. The red ipp.gif should be visible in the postbit. Click this to see the real IP and proxy IP details.

So then I assume I installed the hack correctly. I suppose I don't have any proxy IPs at this time so I can not see the full effect. Could someone that has a proxy IP please post on my site so I can verify it does work as designed. My site is www.clanseekers.com and thanks so much for the excellent help so far.
Reply With Quote
  #47  
Old 10-28-2004, 11:01 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MickDoneDee
Search your postings.php file for the phrase 'thread_proxyip'. You won't find it because that is not the phrase you are required to add. You are required to add 'thread_displayproxyip'. Make sure this phrase is in your postings.php file and make sure 'thread_displayproxyip' is created as a Front-End Error Messages phrase - not a Global phrase.
sorry my bad. it is thread_displayproxyip
Reply With Quote
  #48  
Old 10-29-2004, 11:06 PM
Seekers Seekers is offline
 
Join Date: Aug 2004
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seekers
So then I assume I installed the hack correctly. I suppose I don't have any proxy IPs at this time so I can not see the full effect. Could someone that has a proxy IP please post on my site so I can verify it does work as designed. My site is www.clanseekers.com and thanks so much for the excellent help so far.

Nevermind it works great - caught a jerk lurking behind one - WOOT
Reply With Quote
  #49  
Old 10-31-2004, 02:11 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 Seekers
Nevermind it works great - caught a jerk lurking behind one - WOOT
I would point out that many ISP's (in the UK anyway) force you through a proxy server.
Reply With Quote
  #50  
Old 11-16-2004, 11:16 AM
Reminder's Avatar
Reminder Reminder is offline
 
Join Date: Oct 2004
Location: Istanbul
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #51  
Old 11-17-2004, 07:09 PM
Harry Bo Harry Bo is offline
 
Join Date: Nov 2004
Location: Midlands, UK
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul, do you know if this hack works with NTL's UK proxy servers? I administrate a fairly large vB and we can end up with 20+ users in the same city on one proxy

If it works with NTL, I'll be installing soon

Cheers,

HB
Reply With Quote
Reply

Thread Tools

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 02:26 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.07937 seconds
  • Memory Usage 2,314KB
  • 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
  • (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
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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