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)

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.


All times are GMT. The time now is 09:35 PM.

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.01431 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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