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)

rjmjr69 04-14-2007 03:08 AM

Quote:

Originally Posted by rjmjr69 (Post 1217619)
LOL :D

I know that funny guy what I was getting at is will the hack still function correctly? Like how is it going to be red if I have a black Button?


Anyone?

Lizard306 04-14-2007 06:16 AM

Hi Paul, i just installed this hack. But i guess its not working for me.

i followed your steps to install this & made a test post using http://anonymouse.org/anonwww.html but the red icon does not comeup & the system shows the proxy ip instead of the real ip.

i am using 3.6.5

What can be the problem?

steve71 04-14-2007 06:54 AM

Quote:

Originally Posted by Paul M (Post 1227122)
Read the nice bold blue line in the main post .... ;)

Sorry I should have mentioned..I did re-edit the class_core.php after the upgrade. Are you sure this is compatable with 3.6.5?

Paul M 04-14-2007 11:07 AM

Quote:

Originally Posted by Lizard306 (Post 1227253)
What can be the problem?

https://vborg.vbsupport.ru/showthrea...71#post1111071

Quote:

Originally Posted by steve71 (Post 1227273)
Are you sure this is compatable with 3.6.5?

Of course. It works with any version of 3.6 - from Beta 1 up to, and including, 3.6.6.

JFYI - there is no difference in class_core.php between 3.6.4 and 3.6.5

Lizard306 04-14-2007 11:28 AM

lol, sorry i missed that post :), thanks for the prompt reply.

Paul M 04-14-2007 11:35 AM

Quote:

Originally Posted by Lizard306 (Post 1227398)
lol, sorry i missed that post :), thanks for the prompt reply.

It is from a while ago now, I have to link back to it every so often. I should probably add it to the main post notes at some point. :cool:

BadgerDog 04-30-2007 04:54 PM

Installed.... :up:

Thanks Paul ... :)

Regards,
Badger

aycan555 05-01-2007 09:04 PM

I have used http://anonymouse.org/anonwww.html registered new user and posted, but it shows on post ip the proxy one also i search in admincp for the user in ip field it show proxy ip, how can i found the real ip and ban it?

Paul M 05-01-2007 09:48 PM

Read the main post, just above the file download area.

Alfa1 05-08-2007 12:31 AM

Paul, I am upgrading from 2.13. Should I apply the file edits found in the text file? I can't find the needed code.

Paul M 05-08-2007 01:28 AM

2.13 ? That's a vb 3.5 version - you can't use that on vb 3.6.

You must download and use 2.25 on vb 3.6.x

Atwal 05-13-2007 04:57 PM

I installed this on vBulletin 3.6.6 and it keeps giving me an error in the classcore.php. Help please.

Paul M 05-13-2007 05:18 PM

No one can help you unless you give some details - "an error" means nothing.

dj_melayu 05-13-2007 05:26 PM

it doesn't work on 3.6.6. It still not showing the real IP. I'm testing it already. In fact, the code changes is merely the same with your installation instructions.

Original 3.6.6 codes:

Code:

if (!defined('SESSION_IDHASH'))
                {
                        define('SESSION_IDHASH', md5($_SERVER['HTTP_USER_AGENT'] . $this->fetch_substr_ip($registry->alt_ip))); // this should *never* change during a session
                }

Your codes:

Code:

if (!defined('SESSION_IDHASH'))
                {
                        // Paul M - Define session id
                        define('SESSION_IDHASH', md5($_SERVER['HTTP_USER_AGENT'] . vB_Session::fetch_substr_ip(IPADDRESS)));
                }

I did the changes (for 3.6.4 onwards instructions but nothing happened) :o

Thanks in advanced

Paul M 05-13-2007 06:25 PM

Quote:

Originally Posted by dj_melayu (Post 1246934)
it doesn't work on 3.6.6.

Yes, it does.

dj_melayu 05-13-2007 10:05 PM

So any chances updating this modes to 3.6.6. Mine still doesnt work.Will you update the instruction?Thanks in advanced :)

Regards

Paul M 05-14-2007 12:50 AM

Nothing needs updating, the instructions are correct.

I suggest you start again with the default class_core and redo the edits.

dj_melayu 05-14-2007 01:24 AM

Quote:

Originally Posted by Paul M (Post 1247099)
Nothing needs updating, the instructions are correct.

I suggest you start again with the default class_core and redo the edits.

Your right Mr. Paul :up: , I forgot this :p

Code:

Find ;

                // define session constants
                define('SESSION_HOST',  substr($registry->ipaddress, 0, 15));


Replace with ;

                // Paul M - Define session host
                define('SESSION_HOST',  substr(IPADDRESS, 0, 15));


Atwal 05-14-2007 01:27 AM

The error I receive is;

Parse error: syntax error, unexpected $end, expecting '(' in /*****/web05/b1461/*****/htdocs/forum/includes/class_core.php on line 3091

I also receive;

Fatal error: Call to undefined function: fetch_ip() in /*****/web05/b1461/*****/htdocs/forum/includes/class_core.php on line 1584

I get both of them one sometimes, the other other times.

Paul M 05-14-2007 11:27 AM

Same answer really - start again with the default class_core and redo the edits, you have made a mistake somewhere.

sola 05-14-2007 12:45 PM

Quote:

Originally Posted by Paul M (Post 1247327)
Same answer really - start again with the default class_core and redo the edits, you have made a mistake somewhere.

:D I love it when a guy is totally confident of his work.

Atwal 05-14-2007 07:48 PM

^He has a right to be because it worked.

Gayble 05-14-2007 08:11 PM

Anyone want to help me install for $?
Please PM me.

Mecho 05-15-2007 05:01 PM

Quote:

Originally Posted by Gayble (Post 1247592)
Anyone want to help me install for $?
Please PM me.

No need to pay buddy ! if u like i can help u .

BadgerDog 05-16-2007 11:13 AM

Quote:

Originally Posted by Paul M (Post 1247099)
Nothing needs updating, the instructions are correct.

I suggest you start again with the default class_core and redo the edits.

Paul...

If I re-do the edits on the "class_core.php", before I upload it in preparation for the upgrade procedure, will that work and stick?

Thanks

Regards,
Badger

Paul M 05-16-2007 11:23 AM

Yes. I always edit files locally and uplaod the edited version.

BadgerDog 05-16-2007 11:33 AM

Quote:

Originally Posted by Paul M (Post 1248689)
Yes. I always edit files locally and uplaod the edited version.


Thanks... :)

I just wanted to make sure that the install process didn't do some kind of checking that would prevent it from installing the v366 modded version (overwriting the v364 modded version).

I'll make your changes in the "upload" file then put it back....

BTW, thanks for your work and professionally written mods. Really great stuff and seems to address many needs our site has been looking for.

Regards,
Badger

Mikecp421 05-18-2007 03:28 PM

trying it out thanks

Mrdby 05-20-2007 01:47 AM

So for 3.6.6, 3.6.7 i use the last three steps?

Mrdby 05-20-2007 02:10 AM

so can i set options for this? and how can i test it?

Mrdby 05-21-2007 03:34 PM

this shows nothing when i see who is viewing using a proxy....I'm logged on under my other name on a different browser. Any ideas?

Paul M 05-21-2007 06:49 PM

Sorry but I don't understand what this means ;

Quote:

this shows nothing when i see who is viewing using a proxy

Octane1 05-30-2007 03:46 AM

Thank you

Mrdby 06-10-2007 02:18 AM

does this have any controls in the acp?

Mrdby 06-10-2007 02:26 AM

tis person has the red dectection on some post and not in others...whyis that?

The Real IP Address is: 208.59.118.69
208-59-118-69.c3-0.161-ubr1.lnh-161.md.cable.rcn.com
The Proxy Server IP Address is: PROXYIP

Paul M 06-10-2007 10:19 AM

Quote:

Originally Posted by Mrdby (Post 1265209)
does this have any controls in the acp?

Nope.

Quote:

Originally Posted by Mrdby (Post 1265215)
tis person has the red dectection on some post and not in others...whyis that?

The Real IP Address is: 208.59.118.69
208-59-118-69.c3-0.161-ubr1.lnh-161.md.cable.rcn.com
The Proxy Server IP Address is: PROXYIP

PROXYIP is an error caused by installing the product but not doing the file edits to class_core.php

Mrdby 06-10-2007 07:42 PM

ii'm not using a proxy..why does it have the red pc on my post?

Mrdby 06-10-2007 07:43 PM

Quote:

Originally Posted by Paul M (Post 1265403)
Nope.

PROXYIP is an error caused by installing the product but not doing the file edits to class_core.php

what do u mean? I shouldn't see this?I mean i installed the product like normal.

Paul M 06-10-2007 08:42 PM

Read the installation notes, this mod requires class_core.php to be edited.

Mrdby 06-10-2007 08:43 PM

Quote:

Originally Posted by Paul M (Post 1265712)
Read the installation notes, this mod requires class_core.php to be edited.

AGAIN....I did the edits...and same thing...SHOULD i email you the file i edited?


All times are GMT. The time now is 01:40 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.01911 seconds
  • Memory Usage 1,805KB
  • 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
  • (3)bbcode_code_printable
  • (16)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
  • (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