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 09-17-2006 11:56 PM

You didn't re-edit class_core.php when you upgraded.

teedizz 09-18-2006 12:57 AM

hey, Paul..... will this work against sites like http://www.siteunlocker.com/ .... im noticing one previously banned user bragging about using that site to join back. thanks for any info bro.

optrex 09-18-2006 08:17 AM

Thanks Paul. I've tried the edit twice now and get this error on both occasions

Parse error: parse error, unexpected T_CLASS, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /xxxx/xxxx/htdocs/xxxx/class_core.php on line 2130

Paul M 09-18-2006 12:31 PM

Edit it a third time, and don't remove the extra closing } bracket you keep deleting (in step 1) this time :)

optrex 09-18-2006 01:41 PM

:nervous: thanks Paul, the simple things in life can lead to a lot of frustration

teedizz 09-18-2006 04:56 PM

paul, can you answer my question i listed above bro. thanks.

Paul M 09-18-2006 05:03 PM

As it says in the main post ;

Quote:

Obviously this hack relies on the proxy server passing the correct http variables to allow detection.
I doubt siteunblocker are going to do that, it would be pretty stupid of them.

daylight 09-18-2006 05:12 PM

i have got error while opening admincp

Parse error: parse error, unexpected T_CLASS, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/*************/includes/class_core.php on line 2128

i have edited php file as instructed
and made a backup of the old file (which i am using now)

just wondering if you can help me out?

Paul M 09-18-2006 10:30 PM

Go back about four posts (previous page, post #104).

daylight 09-19-2006 12:03 AM

Quote:

Originally Posted by Paul M
Go back about four posts (previous page, post #104).

thanks buddy....simple double mistake first ..haven't notice that } and second not read the post fully.
thanks again
btw...
i was looking for something to be safe from Ddos...will hack help me in this ? as the people who attack my site use proxies ..
any information or advice are highly admired.....:)


All times are GMT. The time now is 09:45 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.01347 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)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