Can anyone help me out what i'm doing wrong?
i'm trying to add something to the Default navbar template. (a server status for my game server)
but first i'm trying out the example but i can't get it to work.
This is my plugin setup.
Product : vBulletin
Hook location: Global_start
Title: server Status
execution order :5
Plugin code:
Code:
/* Some Code, setting variables, (multidimensional) array */
$my_var = "abc";
/* render template and register variables */
$templater = vB_Template::create('navbar');
$templater->register('my_var', $my_var);
$templater->render();
Then in the navbar template of my default style i add
even tried withing
Code:
<p>{vb:raw my_var}</p>
Anyone able to help me out ?
Edit: and Enable Plugin/Hook System is enabled also