vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   How do templates work? (https://vborg.vbsupport.ru/showthread.php?t=52089)

leviw 04-25-2003 12:20 AM

How do templates work?
 
Hi all,

I'm not looking for any hands-on technical assistance, more for a general description of how templates work.

For example, when a php page loads and comes to a $demotemplate marker, how does it know where the appropriate text is?

After looking around I am a bit puzzled, I'm sure I'm missing something obvios but if someone could run it by me in simple terms I'd really appreciate any pointers.

Since php.net doesnt really use such things I'm assuming even the term itself is based more out of a user need than any actual php code.

Does $demotemplate link to a permanant variable, or a database table somewhere?

More importantly, how would one go about setting up a NEW template outside of vbulletin? I can go into forum/admin and make one, and link to it, but where is it stored?

Thanks for any tips!

Logician 04-25-2003 11:20 AM

Quote:

Today at 04:20 AM leviw said this in Post #1

More importantly, how would one go about setting up a NEW template outside of vbulletin? I can go into forum/admin and make one, and link to it, but where is it stored?

https://vborg.vbsupport.ru/showthrea...threadid=36419


All times are GMT. The time now is 11:17 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.00919 seconds
  • Memory Usage 1,711KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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