vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Add a second Header and Footer template (https://vborg.vbsupport.ru/showthread.php?t=33386)

c-pr0mpt 12-19-2001 10:00 PM

The point of this hack is to add a second Header and Footer template. The reason for this is when you have your main page, or any page that has elements only it will have.

Say you wanted a column added but only on your main page and no other? This hack would be the answer. The only other way would be to have a whole new template just for 1 page.

DEMO: http://www.metalforums.com

Notice how the main page has a right column set up, but all other pages do not.

Whome 12-20-2001 11:07 PM

Thank you.....was lookin for some easy way to do this :)

Lesane 12-21-2001 07:30 AM

Very nice, thanks.

vertex 12-21-2001 10:43 PM

very nice post C , something www.somethingleet.com will use for sure :)

c-pr0mpt 12-23-2001 12:49 AM

Thanks guys.

LuBi 12-23-2001 03:09 PM

link doesn't work.

TECK 01-28-2002 04:38 AM

c-pr0mpt, u forgot one little detail.

in global.php and your template names:
PHP Code:

templatesused.='gobutton,(your templates here),header2,footer2'


TECK 01-28-2002 04:49 AM

hmm that's wierd... if i add a second header footer, it will not show me the code:
PHP Code:

<!-- BEGIN TEMPLATEheader2 --> 

not that is important... but i'm extremly picky. i'll look into it. if anyone knows why, pls let me know. ty

TECK 01-28-2002 05:06 AM

ignore the previous message.. hehehee... it's me. i use my template installer-remover to add(remove) templates. i forgot a little line in the code. ;)

vBHackz 05-19-2002 10:09 PM

I dont get it ... Sorry im slow..


All times are GMT. The time now is 10:36 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.01079 seconds
  • Memory Usage 1,727KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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