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)

Shazz 08-29-2006 08:26 PM

thanx for the email update!

NeitherSparky 08-29-2006 09:20 PM

I installed the update; don't know if it's working just yet, but I'm sure it's fine. :) Thank you very much.

Paul M 08-29-2006 10:20 PM

Quote:

Originally Posted by thablewprnt
I double checked the edits to class_core.php. Got a error the first time.
So i redid it again and got the same error

Code:

Parse error: syntax error, unexpected T_CLASS, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/xxxxx/public_html/forum/includes/class_core.php on line 2126
I really want to install this....Can I get some help please?

I would say you are making an error in step 1 by removing an extra curly bracket at the bottom of the function.

SaN-DeeP 08-30-2006 01:20 AM

does the hack runs a query to alter the post table ?
is it going to alter all the posts in database with a new field

please confirm, this is what I understood reading/checking the .xml file

Regards,

thablewprnt 08-30-2006 03:42 AM

Quote:

Originally Posted by Paul M
I would say you are making an error in step 1 by removing an extra curly bracket at the bottom of the function.


I baby stepped it, triple checked my edits.....And I can gladly say, all is well...thanks for the help. *finally clicks install* :cool:

Paul M 08-30-2006 04:24 AM

Quote:

Originally Posted by SaN-DeeP
does the hack runs a query to alter the post table ?

Yes.

eclectica 08-30-2006 08:02 AM

It would be nice to get something that can read MAC addresses of the users.

Total666 08-30-2006 01:12 PM

Quote:

Originally Posted by Paul M
The fixed version is uploaded.

The change is in step 3 of the file edits to class_core.php - to fix your copy you will need to find the "define session constants" comment and replace the two lines below it (that define SESSION_IDHASH & SESSION_HOST) with the new ones in the instructions (or re-edit a fresh, unaltered, class_core.php as per steps 1/2/3).

doing the code changes to the class_core.php file .. ( step 3 )


MY existing code

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


The new code from the read me

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


these look unchanged ?? Wondering .. Total

ForumDog 08-30-2006 03:00 PM

Try downloading the zip again? I just compared the new readme to the old readme, the code is different.

Total666 08-30-2006 03:09 PM

Quote:

Originally Posted by ForumDog
Try downloading the zip again? I just compared the new readme to the old readme, the code is different.


Weird - is your step 3 different ??

Step 3.

In class_core.php ;

Find ;

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


Replace with ;

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


All times are GMT. The time now is 12: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.01385 seconds
  • Memory Usage 1,740KB
  • 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
  • (5)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