The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Okay, I have a question.
You know how if you want to incorporate the navbar template, you type in $navbar? Well, how would I make other templates show up? I have no idea how to do this, Im not a coder. Does anyone know what I mean? |
#2
|
||||
|
||||
![]()
Create a new plugin using a hook location that executes on the page you want to place the variable. (Ex. If you want it on your Index, use 'forumhome_start'; if you want it in the Posbit, use 'postbit_display_start'; etc.)
Code:
$var = ''; eval('$var .= "' . fetch_template('template_name') . '";'); |
#3
|
|||
|
|||
![]()
Thanks for this! And a big thanks to peterska2. Minutes after posting this, while just browsing, I found her? tutorial and it worked marvelously.
![]() |
#4
|
||||
|
||||
![]()
Yeah I was trying to find the tutorial for you, but misplaced the link, so I settled with an example. Glad you found what you were looking for either way.
And yes, she. ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|