vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   what is the different between this templates variables (https://vborg.vbsupport.ru/showthread.php?t=202118)

booktoweb 01-17-2009 01:16 PM

what is the different between this templates variables
 
what is the different between this templates variables

$specialtemplates
$globaltemplates
$actiontemplates

i programming add-on now
i don't know when should i put specified template in $specialtemplates , $globaltemplates or $actiontemplates in the header of my file

Lynne 01-17-2009 02:31 PM

I could find this on google:

Quote:

$globaltemplates are templates loaded by all actions.
$actiontemplates are templates loaded when a specified action is called such as $do (e.g. ?do=edit).
Then I found this. Look at the comments in the templates he puts in the article - there is a bit of an explanation in there. https://vborg.vbsupport.ru/showthread.php?t=59939

booktoweb 01-17-2009 03:55 PM

thanks Lynne
what about $specialtemplates

Lynne 01-17-2009 04:01 PM

I really don't know. I tried doing a search on that also and couldn't find anything about it. This may be a question best asked over on vb.com, although you now have me interested in the answer also.

booktoweb 01-17-2009 07:59 PM

i think its catch template from datastore
put i don't understand the cach system in vbulletin to know how using $specialtemplates

i will reading some topics about this point
i get this from google
https://vborg.vbsupport.ru/showthread.php?t=110628

--------------- Added [DATE]1232238101[/DATE] at [TIME]1232238101[/TIME] ---------------

i learned everything about datastore
i using xcache and edit my config to
vB_Datastore_XCache

how can i knowing that its working fine and using XCache

Dismounted 01-18-2009 03:23 AM

$specialtemplates are deceiving. They don't actually affect templates as you know them. It is used to fetch specific items from the datastore. Put any items you want from the datastore here.

Also, keep in mind that $actiontemplates are only affected by $_REQUEST['do'].
Quote:

Originally Posted by booktoweb (Post 1716104)
how can i knowing that its working fine and using XCache

Look in the XCache Admin Panel. It will show you what variables are cached, etc.


All times are GMT. The time now is 01:42 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.01439 seconds
  • Memory Usage 1,718KB
  • 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
  • (6)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