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

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
  #212  
Old 09-30-2005, 04:03 PM
osariase osariase is offline
 
Join Date: Mar 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok paul that seem to have fixed the problem and after redoing the steps i didnt get any error messages. So now my next question is how do I test it?

thanks for supporting this
Reply With Quote
  #213  
Old 09-30-2005, 05:59 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 osariase
Ok paul that seem to have fixed the problem and after redoing the steps i didnt get any error messages. So now my next question is how do I test it?

thanks for supporting this
You click on install, then provide me a test login - and I post for you - my isp (ntl) use proxy servers.
Reply With Quote
  #214  
Old 09-30-2005, 08:25 PM
osariase osariase is offline
 
Join Date: Mar 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well paul,
I am sorry to have given false info, after I did that I didnt check to see if I can post. my user's have been trying to post all day and they couldnt I just found out so I removed the old functions_newpost.php and put a fresh one there and it fixed it. if it is possible can u please give me the codes again i mean the one that have worked for you. I run vb3 3.07

thanks
Reply With Quote
  #215  
Old 09-30-2005, 08:46 PM
osariase osariase is offline
 
Join Date: Mar 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok below is the error message I or members of my forum gets when the click on submit reply

Database error in vBulletin 3.0.7:

Invalid SQL:
INSERT INTO nwvb3post
(threadid, parentid, title, username, userid, dateline, pagetext, allowsmilie,
showsignature, ipaddress, proxyip, iconid, visible, attach, useragent, altip)
VALUES
(104, 1576, 'Re: Comebacks and Insults for Women.',
'Teckno', 1, 1128116581,
'this is a test', 1, 1,
'xx.xxx.xxx.xx','', 0, 1, 0,
'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)', 'xx.xxx.xxx.xx')

mysql error: Unknown column 'useragent' in 'field list'

mysql error number: 1054


Can u please tell me what is going on thanks
Reply With Quote
  #216  
Old 09-30-2005, 09:17 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

You have modified the sql in functions_newpost to insert a field called 'useragent' in each post - there is no such field in the standard post table. There is also no such field in this hack - so it's obviously some other hack you have installed.
Reply With Quote
  #217  
Old 09-30-2005, 09: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

Quote:
Originally Posted by osariase
if it is possible can u please give me the codes again i mean the one that have worked for you. I run vb3 3.07
Sorry, I don't understand what you are asking, what codes ?
Reply With Quote
  #218  
Old 09-30-2005, 11:33 PM
osariase osariase is offline
 
Join Date: Mar 2005
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry to bother you again PaulM,
I went and did it again, now I get this error message below

Parse error: parse error, unexpected T_ELSE in /home/naijawor/public_html/includes/init.php on line 283

So i checked the line 283 it is an else statement like this below,
}
else
{

but when I comment this line out I dont that above error is it supposed to be like this? or is there something i'm doing wrong, please assist thanks
Reply With Quote
  #219  
Old 10-01-2005, 09:42 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

Well then I guess you need to check/redo the changes in this file (step 7).
Reply With Quote
  #220  
Old 10-03-2005, 01:46 AM
bhxtyrant bhxtyrant is offline
 
Join Date: Jun 2005
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey guys,I just installed this mod and seem to be having what looks like some issues.

After installing i tryed purposly using a proxy IP address to see how well the mod works.It detected the proxy but doesnt seem to work.I can not see my real IP.I also got a freind to give it a try and i still could only see there proxy IP.I also notice the little ipp.gif icon doesnt show up.Is this normal?or am i maissing something

Im using vB 3.0.7
Reply With Quote
  #221  
Old 10-03-2005, 08:41 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

Quite simply, it's not detecting the proxy you are using, what makes you think it is ?

JFYI, Proxy servers can only be detected if they pass on certain http variables, many do not.
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 12:43 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.04974 seconds
  • Memory Usage 2,309KB
  • 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
  • (2)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