The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
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.
|
![]() |
|
|