The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adding a new $code to call
I need to know how to add a new $callnamehere
Example i would like to make a new template for the "Forum Home Page Templates" So would i just create a new template called forumhome_offtopicbit with my html code inside that, and add $offtopicbit anywhere in the forum homes section? Just wondering if im right or wrong or even close :P |
#2
|
||||
|
||||
Requires hacking/phpinclude mod to get new variables to work in templates.
|
#3
|
|||
|
|||
Thanks Tony. You better be getting paid for all this
|
#4
|
|||
|
|||
Also, adding a new varible via phpinclude to call a template will add one query.
|
#5
|
||||
|
||||
Does it add anything via file hacking?
|
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
so if you add the new template name to $templateused it wont add a query?
|
#8
|
|||
|
|||
Quote:
|
#9
|
|||
|
|||
Would be ubercool if you could just have a setting in the admin CP for which files and actions cache which templates.
|
#10
|
||||
|
||||
We can only dream.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|