vb.org Archive

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

Littlebit 11-21-2001 01:48 PM

Could someone help me fix my index.php ? I just installed the Category Sponser Hack and am getting a parse error when trying to connect. It says its this line :
if ($forum['sponsorimg'] && $forum['cancontainthreads']==0 && $depth==1) {
Thank you!

orca 11-21-2001 03:39 PM

You may also need tolook aline above. May the error is there. Anyway, what does the parse error say.

Littlebit 11-21-2001 03:48 PM

It said "parse error line 314"
I ended up replacing my index.php with a fresh one. The hacks on the one I overwrote were starting with the code add for blinking PM bar hack ..then the changes for the sponsor category hack. Somewhere in between those changes I did something wrong. I kept trying different things and double checking the changes, but I had to give up to get my board back online. Any idea where I may have gone wrong?

Littlebit 11-22-2001 02:49 PM

I re added my blinky hack info to index.php again and it works fine...I then tried to replace the info for the category sponser hack and got the same parse error...so it is definitley that...is copying and pasting directly form the thread with the hack not a good idea? Where am I going wrong?


All times are GMT. The time now is 03:28 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.01072 seconds
  • Memory Usage 1,706KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete