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 12-02-2006 07:16 PM

Glad you sorted it. :)

Calibre_k 12-03-2006 08:33 PM

Where do i find class_core.php?

Shazz 12-03-2006 08:36 PM

Quote:

Originally Posted by Calibre_k (Post 1131155)
Where do i find class_core.php?

Did you extract the zip? It should say

forum root/includes/class_core.php

Calibre_k 12-03-2006 08:56 PM

Shaz found it on the server Thanks

I did all edits got this error

Fatal error: Call to undefined function: fetch_real_ip() in /home/forum/includes/class_core.php on line 1569

vBulletin version 3.6.4

I did step 1, 2, 4, 5

Paul M 12-03-2006 09:14 PM

Then you need to check what you did wrong, step 1 adds the function code.

Calibre_k 12-03-2006 09:26 PM

tried from start again this time


Parse error: syntax error, unexpected $end in /home/forum/includes/class_core.php on line 1515

geppeto 12-04-2006 12:59 PM

In vB 3.6.4 edited new class_core.php 1,2,4 & 5 steps. No errors but don't work, don't detect proxys IP.

Best regards

HeLLCiTo 12-05-2006 01:19 PM

to make an update from 2.23 what a i need?

Paul M 12-05-2006 06:14 PM

Quote:

Originally Posted by Calibre_k (Post 1131198)
tried from start again this time


Parse error: syntax error, unexpected $end in /home/forum/includes/class_core.php on line 1515

Then redo the edits - there are no errors if you do them correctly.

Quote:

Originally Posted by geppeto (Post 1131573)
In vB 3.6.4 edited new class_core.php 1,2,4 & 5 steps. No errors but don't work, don't detect proxys IP.

Read the notes.

Quote:

Originally Posted by HeLLCiTo (Post 1132411)
to make an update from 2.23 what a i need?

Re-install it.

None of you have marked this as installed, please do this if you have further questions.

McMendo 12-05-2006 07:11 PM

Using vb 3.6.4 here and trying to install this.

Step 3 tells to find in class_core.php:
Code:

                // define session constants

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

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

Instead there is:
Code:

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

and on another part of the code:
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
                }

It's confusing.


All times are GMT. The time now is 06:04 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.01310 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
  • (4)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