The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
In all the pages there are arrays like $phrasegroups, $specialtemplates, $actiontemplates etc.
what is the purpose of these? I can't find where they are called anywhere else in the code. the templates are just pulled from PHP Code:
|
#2
|
||||
|
||||
![]()
If you don't precache a template a query is issued to get the template, and or every template on the page.
|
#3
|
|||
|
|||
![]()
right, that is what i'm looking for in the code. But doing a bunch of crtl+F for "$actiontemplates" and associated arrays brings up nothing so i can't find where it's being used.
|
#4
|
||||
|
||||
![]()
I think you're looking for $globaltemplates - actiontemplates are from datastore.
|
#5
|
||||
|
||||
![]()
No
![]() $actiontemplates is an array defining Templates needed for special actions. So these will only be loaded when the Scripts executes the assigned action - global.php merges this array with $globaltemplates for the action currently beign called. What you mean is $specialtemplates. |
#6
|
|||
|
|||
![]() Quote:
|
#7
|
||||
|
||||
![]()
global.php, but where exactly depends on the Version.
For vBulletin 3.0.7 its around line 293. For vBulletin 3.5 Beta 3 its around line 262. |
#8
|
|||
|
|||
![]()
Ah! thank you much.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|