scarex80
12-28-2009, 06:37 PM
Hi guys,
I'm trying to understand the new vbulletin release and, writing a plugin, I'm facing a strange problem.
I'm trying to write a plugin with this code
$output=$vbulletin->options['bbtitle'];
vB_Template::preRegister('header',array('my_insert var' => $output));
In order to put the board name into a personal var in header template.
But the var is empty.
I've tried several hooks (global_start was the right place for me according to old release) but with no success.
Can someone help me?
Thank you!
Regards
I'm trying to understand the new vbulletin release and, writing a plugin, I'm facing a strange problem.
I'm trying to write a plugin with this code
$output=$vbulletin->options['bbtitle'];
vB_Template::preRegister('header',array('my_insert var' => $output));
In order to put the board name into a personal var in header template.
But the var is empty.
I've tried several hooks (global_start was the right place for me according to old release) but with no success.
Can someone help me?
Thank you!
Regards