vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Left Sidebar on all pages. (https://vborg.vbsupport.ru/showthread.php?t=59781)

Martz 01-06-2004 02:58 PM

Is there any chance:
Code:

Add this above:
************************************************************
eval('$sidebar = "' . fetch_template('sidebar') . '";');

Could go in the php include?

subu1 01-06-2004 03:15 PM

ups i have a errot on my index.php

Fatal error: Call to undefined function: fetch_template() in /home/virtual/site1/fst/var/www/html/board/global.php on line 333

i don' have this on my vb 2.2.8

PHP Code:

Open global.php and find this:
************************************************************
eval(
'$header = "' fetch_template('header') . '";');
************************************************************
Add this above:
************************************************************
eval(
'$sidebar = "' fetch_template('sidebar') . '";'); 

on my global.php find this

PHP Code:

eval("\$header .= \"".gettemplate('header')."\";"); 

what can i do?

Dark_Wizard 01-06-2004 04:23 PM

Quote:

Originally Posted by subu1
ups i have a errot on my index.php

Fatal error: Call to undefined function: fetch_template() in /home/virtual/site1/fst/var/www/html/board/global.php on line 333

i don' have this on my vb 2.2.8

PHP Code:

Open global.php and find this:
************************************************************
eval(
'$header = "' fetch_template('header') . '";');
************************************************************
Add this above:
************************************************************
eval(
'$sidebar = "' fetch_template('sidebar') . '";'); 

on my global.php find this

PHP Code:

eval("\$header .= \"".gettemplate('header')."\";"); 

what can i do?

:rolleyes: This is for vb3.0...hence the forum name "Code Modifications vB3"...you need to remove this hack.

TheAnt 01-06-2004 07:41 PM

wow, it's strange how all that code is identical to mine.

Dark_Wizard 01-06-2004 08:19 PM

Quote:

Originally Posted by TheAnt
wow, it's strange how all that code is identical to mine.

Huh? Dude...the only thing thats the same is the variable $sidebar...other than that you can go around saying that for anyones hack....mellow out.

MGM 01-06-2004 11:35 PM

niiiiiice! I'm adding this for sure..... and I'll be merging it somewhat with the one TheAnt created to have the "stats" there as well ;)

plusss..... it looks better on the left :p

[high]* MGM clicks Install
[/high]

MGM out

dsotmoon 01-07-2004 12:06 AM

is there anyway to make this where it only shows on the forums index page and after clicking on a forum the showthreads page would widen to 100% (no side bar)

MGM 01-07-2004 12:17 AM

you'll have to use TheAnt's version to do that, because his is only on forumhome I believe

MGM out

Dark_Wizard 01-07-2004 09:25 AM

Quote:

Originally Posted by MetalGearMaster
you'll have to use TheAnt's version to do that, because his is only on forumhome I believe

MGM out

Thats correct...

assassingod 01-07-2004 08:23 PM

How is your hack different from a previously released one (https://vborg.vbsupport.ru/showpost....96&postcount=1)?


All times are GMT. The time now is 10:38 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.01192 seconds
  • Memory Usage 1,748KB
  • 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
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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