vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Recalling Templetes? please help (https://vborg.vbsupport.ru/showthread.php?t=87281)

Brad 08-03-2003 02:05 AM

Quote:

Originally Posted by TalkGaming
Ok, thats good to know and I can definately use that. I guess what I was asking for isnt possible. I cant use like a variable $templetename and have that code parsed there huh?

I know what your talking about, and it is possible to do it via the phpinclude_start for some templates. I belive postbit (or any 'bit) template is not supported in vB 3, unless something has changed in the way templates are handled scence the vB 2 series.

Before you look into calling templates via the phpinclude template's you should read this thread:

http://www.vbulletintemplates.com/mo...ead.php?t=4216

SmartGnome 08-03-2003 08:50 AM

Quote:

Originally Posted by Brad.loo
I know what your talking about, and it is possible to do it via the phpinclude_start for some templates. I belive postbit (or any 'bit) template is not supported in vB 3, unless something has changed in the way templates are handled scence the vB 2 series.

Before you look into calling templates via the phpinclude template's you should read this thread:

http://www.vbulletintemplates.com/mo...ead.php?t=4216

Totaly agree with that Brad... The best to do is putting your custom templates on a place where vb does the caching.

Suggestion:
As you can see all custom templates are grouped at top of the list. Perhaps the dev team will make it so that all custom templates will be cached automagicly. This is a good thing to add and will make life as easy as with conditionals.

In my board is just one hack (to cache two templates) the rest is done by conditionals and only template mods. I like it that way.

Ad

TalkGaming 08-03-2003 02:27 PM

Thanks so much for you help guys! I think I have a place to start now :)


All times are GMT. The time now is 06:58 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.01516 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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