The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to auto template?
I am working on a new mod and i was wondering how do you auto template? I tried to auto template the header and footer template but without any results. I go the database to install and uninstall but the auto template isnt working. I tried
PHP Code:
|
#2
|
||||
|
||||
If you are wanting to add something inside the header, just concatenate on the $headinclude variable.
|
#3
|
|||
|
|||
You arn't saving it back to the database for starters...
second, you are only modifying the first found template; if there are multiple styles and one has a customised template in it... it wont work Easiest thing to do for auto template mods is to modify the template cache in global.php |
#4
|
||||
|
||||
I see so I would just use the $headinclude varible instead of accessing the database? Sorry its early here and I havent sleep a wink in the past 24 hrs. Could you give an example please?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|