The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Can someone explain how the cache system for templates works?
![]() |
#2
|
||||
|
||||
![]()
If your asking how to cache a template...
You must - make a plugin with the details shown below: Product: YOURPRODUCTHERE (Or vBulletin) Hook Location: cache_templates Title: Anythinghere - Cache Templates PHP: $globaltemplates[] = 'thetemplatethatneedscachehere'; Hope this helps ![]() Thanks, Marky |
#3
|
||||
|
||||
![]()
my question sint how to do it, it is how it works exactly
![]() |
#4
|
||||
|
||||
![]()
It loads the templates into an array.
|
#5
|
||||
|
||||
![]() Quote:
Aren't arrays available only for the scope the program they are in? example: if you cache a template into an array for index.php, wouldn't it no longer be valid if you moved to newreply.php? I guess I am not understanding exactly how its stored for future use. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|