The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
i was looking at the index.php file and i have a question. how do they sort out what goes first and stuff.
The beggining is like this PHP Code:
and when they say this [code]require_once('./global.php');[code] i dont get that ![]() |
#2
|
|||
|
|||
![]()
We build an array of templates before including global.php for one reason: so we can pull all these templates with one SQL query.
If you do not include a needed template in these arrays, vBulletin will have to run an extra query to fetch it from the database. This means there will be more load placed on the database server. If you add a new custom template, and fetch it via a plug-in you'll need to also place that template into the cache array. You can add new template to this list by using the hook: cache_templates. |
#3
|
|||
|
|||
![]()
ok thanks
![]() html is so much easier IMO When they say "Fetch" it means they are using that template or file? If yes how does it know what to use in the template? or does it just use the whole template? Sorry for asking questions but this all new to me |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|