vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Proxy IP to real IP conversion (https://vborg.vbsupport.ru/showthread.php?t=165483)

tonyzhou 08-10-2008 10:29 PM

I had some problems with this, it would always record the real IP as the proxy ip as well

this fixed it for me:

Replace:
return $real_ip;
with:
if($real_ip != $_SERVER['REMOTE_ADDR']) return $real_ip;

lowlight 09-03-2008 06:57 AM

Hmm, when I spot someone who is apparently using a proxy, and go to get their info, it just says:

Code:

The Real IP Address is: 24.131.123.84
c-24-131-123-84.hsd1.wv.comcast.net
The Proxy Server IP Address is: PROXYIP

Is it not able to find proxy IP addresses?

Thanks for this BTW!

Paul M 09-04-2008 03:17 AM

That means you have not done the file edits properly.

lowlight 09-10-2008 03:30 AM

Quote:

Originally Posted by Paul M (Post 1614105)
That means you have not done the file edits properly.

I edited them exactly as specified.

troybtj 09-12-2008 01:45 AM

I love Paul M's mods! Always work, easy to install, and no extra fluff.

Thank you VERY much!

I guess the only thing more I could want from this would be a diff against 3.7.3PL1 that I could simply run 'patch' on. :D

Come2Daddy 09-13-2008 11:05 PM

Actually I tryed to install it but I didn't find some codes you mentioned in the class core

harlita 09-14-2008 08:34 AM

Come2Daddy - depending on the HTML/PHP editor you are using, the find-function is likely not searching the entire document from top down with each find request. And that can easily throw a person off.

In otherwords, you likely were able to complete Step 1, but once you got to Step 2, it couldn't find the code you entered in.

If that is the case, try going thru it again, but after you complete Step 1, scroll back up to the very top and physically click on the first line of the file. Once you see the cursor flashing there, try the search for the code in Step 2 again.

I'm running 3.7.3 forums (few of them XD) and this code works as a brand new install (not sure how I overlooked it prior).

Thanks Paul M :) Another great job.

Come2Daddy 09-16-2008 07:38 AM

Thanx Harlita

actually I followed your instructions and it worked just fine, however I didn't notice any difference after I installed this hack

thanx any way

john102774 10-06-2008 09:01 PM

How do we know if this hack is working? :D

thenewuser 10-11-2008 12:20 PM

Thanks! Die mmog gold spammers... die...


All times are GMT. The time now is 09:00 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01279 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete