The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
![]() Quote:
It might be possible for you to include extra navbar templates by creating a plugin at cache_templates and adding your custom templates to the $globaltemplates array, then replace the navbar template in the template cache at the global_start hook. Something like: cache_templates: Code:
$globaltemplates = array_merge($globaltemplates, array('custom_navbar_1', 'custom_navbar_2')); global_start: Code:
if (THIS_SCRIPT == 'showthread') { $vbulletin->templatecache['navbar'] = $vbulletin->templatecache['custom_navbar_1']; } else if (THIS_SCRIPT == 'forumdisplay') { $vbulletin->templatecache['navbar'] = $vbulletin->templatecache['custom_navbar_2']; } I haven't actually tried the above so it's a bit of a guess. BTW, I see you started a couple other threads with these questions, which is fine - I'll leave those to someone else who might be able to give you a better answer. |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|