The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
I'm customising my navbar template to include a banner with various functionality depending on whether a user is logged in or not and some jQuery etc. I started by editing the navbar template and this works fine but it's getting a bit long now so I'd like to move my custom chunk into it's own template called custom_navbar_chunk and then just add a single line include in the navbar template. But I can't find or work out what that single line would be or if it's possible at all. I've tried $custom_navbar_chunk but that doesn't work. I don't want to create a whole new php file, but do I need one? Or am I compelled to use a plugin? Can anyone help, have I got the wrong idea completely here? Currently on: vBulletin 3.8.5 Thanks, Tom |
#2
|
||||
|
||||
![]()
You are also going to want to cache the template...
Post 7 in this article tells you how to do both: https://vborg.vbsupport.ru/showthread.php?t=99132 |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|