vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Templates confusion? (https://vborg.vbsupport.ru/showthread.php?t=161924)

Rahuldhanpat 11-04-2007 06:29 PM

Templates confusion?
 
Templates confusion?

--------------------------------------------------------------------------------

Is there any tutorial or information regarding the Templates used in the vBulltine forum? I mean for which function whcih template has to be altered? For example , if i want to do something with Forum Home template then how will i know that which template has to be altered??

Any help regarding this.

Lynne 11-04-2007 07:30 PM

Something helpful to use when learning about templates is to turn on Admin CP > vBulletin Options > General Settings > Add Template Name in HTML Comments This will put the name of the templates into your source code. It is NOT suggested to leave it on on your main site. When I need it on, I turn it on, go to the page I need to find a template name for, bring up the source code to verify the templates are written in it, then I turn the option back off.

Opserty 11-04-2007 09:24 PM

[offtopic]

Quote:

Originally Posted by Lynne (Post 1375787)
It is NOT suggested to leave it on on your main site.

Whats someone going to do with a template name? :p

[/offtopic]

Lynne 11-04-2007 11:38 PM

Sorry, I shouldn't have come across so strongly on that. I'm always thinking about bandwidth on my site. It says this by the option "This is useful for debugging and analyzing the HTML code, but turn it off to save bandwidth when running in a production environment."

Opserty 11-05-2007 03:02 PM

Quote:

Originally Posted by Lynne (Post 1375901)
Sorry, I shouldn't have come across so strongly on that. I'm always thinking about bandwidth on my site. It says this by the option "This is useful for debugging and analyzing the HTML code, but turn it off to save bandwidth when running in a production environment."

Oh fair enough :D


All times are GMT. The time now is 01:05 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.00977 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)post_thanks_navbar_search
  • (1)printthread
  • (5)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