vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   ExpandContract Hack Help (https://vborg.vbsupport.ru/showthread.php?t=44266)

Littlebit 10-04-2002 02:10 AM

I just deleted the changes for the index.php only so the board will be functional for the moment.
Could I still send you my index.php for a look to see if maybe I have something weird conflicting with the hack changes when added?

g-force2k2 10-04-2002 02:13 AM

yeah send me the changes for installing the hack and the file and i will see what i can get working for you ;) regards...

g-force2k2

Littlebit 10-04-2002 02:26 AM

You should have a pm now.
Thank you so much for your help...your time :)

g-force2k2 10-04-2002 02:49 AM

Littlebit you said you wanted to continue in this thread... it worked... reason you got a blank page is because you have to reupload the required files that it is looking for... regards... (i assume they came with the hack)

PHP Code:

require('./admin/getbrowser.php');
require(
'./admin/getforumview.php'); 

g-force2k2

Littlebit 10-04-2002 01:41 PM

Hi g-force :classic:
I forgot to reupload those files just like you said...so I did and the hack works! Thank you again. What was causing the parse error?
Now I'm afraid to add the option that came with it. It effects that same file (index.php) that you fixed, but I need to dive in and do it. :nervous:
Stand by~

Erwin 10-04-2002 01:45 PM

Quote:

Originally posted by Littlebit
for reference this is line 340 on my index.php:

if ((!isset($z)) or ($depth==1)) {

Change that line to this:

Quote:


if ((!isset($z) or ($depth==1)) {

You have an extra ) in the first variable. :)

g-force2k2 10-04-2002 01:47 PM

good to hear Littlebit :)

i will be around today... so no worries... im not sure what was wrong with what you had done :p but probably just a small syntax... regards... no worries...

g-force2k2

Erwin 10-04-2002 01:48 PM

Do you see it? You cannot open and close the brackets around the first variable in line 340, when you should encompass both variables for that function. An easy mistake to make, and easy to miss. :)

g-force2k2 10-04-2002 01:49 PM

btw Erwin that'll parse out ;)

if ((!isset($z) or ($depth==1)) {

123 3442

you're missing the closing to one ;) hence the ')' that you removed :p regards...

g-force2k2

Erwin 10-04-2002 01:52 PM

Oops! You're right... I jumped to conclusions there...

Keep that line the same! :)

if ((!isset($z)) or ($depth==1)) {

Sorry, I was the one who made the mistake. :)

It's 1 am here in Melbourne, so I better go to bed before I say something else that's stupid! ;)


All times are GMT. The time now is 08:46 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.01039 seconds
  • Memory Usage 1,731KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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