I've just spent my entire evening attempting to get a header template to be included in vBulletin and frankly, I'm thinking of throwing VB4 out the window. It's new template system is crap. Whichever VB developer figured it would be a good idea to have the entire html document in about 16 different templates needs to go back to school and stop programming for good. But anyway... I simply cannot get vBulletin to load a custom template. I don't want to use header, headinclude and all the other related rubbish if it means constantly editing a dozen templates due to bad design of this system.
I have a plugin running (on cache_templates) with the following contents:
PHP Code:
$cache = array_merge($cache, array('headerfull'));
$templater = vB_Template::create('headerfull');
$headerfull = $templater->render();
My FORUMHOME template starts with:
Code:
{vb:raw headerfull}
From what I've gathered from various random forum posts here, as vBulletin hasn't even bothered to put documentation up yet, it should be working. It just isn't. I'm getting way too frustrated here. Anyone able to offer some advice on how to load custom templates on every page?