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)

mmm3 07-10-2008 03:58 AM

Does it work for guest posters using anonymous proxies, or only registered members?

Paul M 07-10-2008 07:08 AM

It wont work for annonymous proxies at all, otherwise they wouldnt be very annonymous. :)

PoetJA-1975 07-10-2008 05:00 PM

Quote:

Originally Posted by Paul M (Post 1571328)
Sorry, I dont.

No probs - Thanx for responding. Can I ask you to please look at THIS THREAD and offer a possible solution to the issue reported please? Perhaps you can make a suggestion since you know about modifications and possible conflicts. Or perhaps you've heard the issue reported before and know of a solution available here on the .org ;)

Thanx,

Jacquii.

unicorn2433 07-15-2008 04:35 PM

Where do I go to find this code to edit it?
Will click intstall once installed/

class_core.php ; -- is it in styles and templates

unicorn2433 07-15-2008 04:48 PM

I should be more specific I dont know where to go to edit clas core??

CrankyFC 07-15-2008 05:00 PM

Quote:

Originally Posted by PoetJA-1975 (Post 1570960)
Thanx PAUL! Question though - Do you know of a proxy site where I can test?
Thanx,

JAcquii.

Maybe a proxy on proxy.org will help?

Paul M 07-15-2008 07:19 PM

Quote:

Originally Posted by unicorn2433 (Post 1576119)
I should be more specific I dont know where to go to edit clas core??

class_core.php is one of the vbulletin files.

PoetJA-1975 07-15-2008 09:21 PM

Quote:

Originally Posted by CrankyFC (Post 1576127)
Maybe a proxy on proxy.org will help?

Thanx ;)

Jacquii.

unicorn2433 07-16-2008 12:02 AM

Quote:

Originally Posted by Paul M (Post 1576216)
class_core.php is one of the vbulletin files.

thank you Paul
What area do I look in to edit.
Like I know template edits are in styles and templates
Where would this be

Boy I hate asking questions in fear everyone will be laughing at me...lol

Paul M 07-16-2008 06:55 AM

This is the files you uploaded to you server, via ftp, when you installed vb.

unicorn2433 07-16-2008 01:14 PM

thank you

Rideharder 07-16-2008 04:56 PM

GO Paul M GO Paul M
its your birthday its your birthday..

Thanks!!

DiverTree 07-16-2008 08:55 PM

Quote:

Originally Posted by unicorn2433 (Post 1576396)
thank you Paul
What area do I look in to edit.
Like I know template edits are in styles and templates
Where would this be

Boy I hate asking questions in fear everyone will be laughing at me...lol

if i understand you correctly, the class_core.php file is in your forums "includes" folder on your server. ;) hope i got this right and didnt make a fool of myself. lol.

PoetJA-1975 07-21-2008 08:00 AM

OK - so I tested this mod using http://proxy.paradox-productions.net
1st I tried browsing my own profile via the proxy site - see the pic below:

http://img174.imageshack.us/img174/779/ipbq2.gif


I suppose in the Who's Online page - the px.gif graphic doesn't show.
The interesting thing is that the proxy IP showed up - My IP address did not show on the Who's online page. So then - I tested by posting in the JPiC Staff Zone.... The px.gif graphic didn't show either and clicking on the regular IP graphic showed an IP address of 77.243.225.164 - circe.xynta.nl --- instead of my own IP address

So - question. What have I done wrong? I had expected that my IP address would show on both accounts. Am I misunderstanding what this modification does?

Thanx,

Jacquii.

Paul M 07-21-2008 09:43 PM

px.gif is not meant to appear in the WOL page. It appears in the postbit.

Also, please read the notes in the main post re detection.

PoetJA-1975 07-22-2008 01:49 AM

OK - so basically your saying what...? :P
Thanx for commenting too - and thanx for sharing the modification.
I'm just wondering.... About it's purpose and functionality....

Jacquii.

sina1808 07-26-2008 10:50 AM

hi
can detect vpn ?

youradhere4222 07-26-2008 10:53 AM

Quote:

Originally Posted by PoetJA-1975 (Post 1581060)
OK - so basically your saying what...? :P
Thanx for commenting too - and thanx for sharing the modification.
I'm just wondering.... About it's purpose and functionality....

Jacquii.

He's saying that regardless of whether or not you're using a proxy the px.gif icon will not show up in the Who's Online page.

PoetJA-1975 07-27-2008 12:16 AM

LOL - Thanx - but I was referring to the --> Also, please read the notes in the main post re detection. I think I get it anyway...

Jacquii.

EvilJohn 08-10-2008 06:52 AM

Thanks, installed

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...

maleficarum 10-11-2008 04:11 PM

Installed, thanks :up:

IrPr 10-23-2008 10:08 AM

Thanks Paul

Suggestion: ignore LAN ranges, such as 192.168.x.x or 172.x.x.x

Paul M 10-23-2008 01:31 PM

Within the file edits you will find a line that says ;

PHP Code:

        $ignoreprivate false

Change that to true and it will exclude those private ranges.

IrPr 10-23-2008 09:23 PM

Quote:

Originally Posted by Paul M (Post 1651108)
Within the file edits you will find a line that says ;

PHP Code:

        $ignoreprivate false

Change that to true and it will exclude those private ranges.

Appreciated a lot,
Such wise coder! Thanks Paul

IrPr 10-25-2008 11:12 AM

Request/Suggestion:

Somewhere to track PROXY detected posts in admincp or option to send report to staffs when PROXY detected and logins integare with Log Logins Hack by Abe

ravi_9793 10-27-2008 07:29 AM

Thanks....

cmedic101 10-27-2008 11:23 AM

Thanks Paul...

This mod fixed all my Ip issues....!:up:


cmedic101

vigliarolo12 10-29-2008 09:57 PM

i keep getting
Parse error: syntax error, unexpected T_FUNCTION, expecting '{' in /home/****/public_html/mysite/forums/includes/class_core.php on line 2260

after i did all the steps before uploading my xml file

Paul M 10-30-2008 12:24 AM

You have made an error in editing class_core.php

vigliarolo12 10-30-2008 01:03 AM

but i copied and pasted the exact codes in the instructions


All times are GMT. The time now is 09:15 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.01355 seconds
  • Memory Usage 1,797KB
  • 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_php_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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