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 to Real IP Conversion (https://vborg.vbsupport.ru/showthread.php?t=120082)

Carlos2 07-11-2007 04:59 AM

Problem Solved.

Installed ;)

TonyComix 07-29-2007 06:25 AM

sorry, im such a newb... but can someone tell me WHERE I go to install this, i downloaded the file and have it up but i need to know where exactly to go to edit:
class_core.php ;

Find ;

function fetch_ip()
{
return $_SERVER['REMOTE_ADDR'];
}

Paul M 08-04-2007 05:00 PM

class_core.php is one of the standard vbulletin files (in the includes folder).

Mrdby 08-10-2007 11:59 AM

3.6.8 i just updated to..and all the members have that red icon on their post. Any updates?

Paul M 08-10-2007 07:34 PM

You have remembered this from the main post ?

Quote:

Remember that this modification involves changes to the class_core.php file - if you upgrade your vbulletin, you must reapply those changes.

Ben6308 09-01-2007 12:15 AM

I'm having problems with this on 3.6.8. All posts have the "Proxy Detected" Red IP box, and when you click on it, it says:

The Real IP Address is: (whatever that users IP is)
(the hostname)
The Proxy Server IP Address is: PROXYIP

Help!

Paul M 09-01-2007 02:35 PM

Read the post above yours.

ickie 09-01-2007 03:48 PM

I installed it last night and everything is working as stated
thanks Paul
v3.6.8

bulbasnore 09-03-2007 05:51 PM

Thanks for this hack. I have 3.6.7_pl1 at the moment. I would love to see this with no code edits... do you think the necessary hook will ever be available?

One thing that I like to have, is a report for me and our staff to see who has been using proxies lately.

Below I present a SQL query for such a report and an xml export of a report for those who are using Logician's excellent WebTemplates mod.

Code:

SELECT username, count( * )
FROM  `post`
WHERE  `proxyip` REGEXP '[0-9].*'
GROUP BY username
ORDER BY  `username` ASC

The above query gives you how many posts by a proxy for each user, in total.

The attached XML file list username, proxy ip, real ip for the last 30 days in descending order of post date.

Paul M 09-03-2007 06:49 PM

Quote:

Originally Posted by bulbasnore (Post 1331580)
Thanks for this hack. I have 3.6.7_pl1 at the moment. I would love to see this with no code edits... do you think the necessary hook will ever be available?


It will never happen because the edited code is part of the very basic core code that is run before the hook system is even initialized.


All times are GMT. The time now is 01:05 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.01623 seconds
  • Memory Usage 1,735KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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