The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
$vbulletin->templatecache in vB4
Hello.
It seems that something changed in vB3 and vB4 in area of cached template. I'm just in progress of make my mod compatible with vB4 and I have issue with cached templates. In hook cache_templates is no longer recognized $globaltemplates - I looked into vB4 code and changed $globaltemplates to $cache, bot still in hook global_start value of $vbulletin->templatecache['footer'] is empty. So the question is how to get to footer template in vB4?... |
#2
|
|||
|
|||
header footer and headinclude
I think they are only rendered once the first template is rendered... That is good because you can populate template hooks BEFORE the renderering... to test where that is in the page.. take any page.. and add: print $footer; exit; after the require backend stuff... you will get a blank page.. now move that line down in the code.. you will get an output after the first $templater->render(); line (where the render thing can also be in a function) my 2 cents F. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|