rogersnm
08-13-2006, 04:53 PM
I have set up a some variables in foruhome_start that go trhough a bbcode parser: include_once(DIR . '/includes/class_bbcode.php');
global $vbulletin;
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$nick_title = $parser->do_parse($vbulletin->options[nick_announce_title], true, true, true, true, true, false);
$nick_contents = $parser->do_parse($vbulletin->options[nick_announce_conents], true, true, true, true, true, false); When i put $nick_contents or $nick_title in a template it doesn't work but if i put echo $nick_contents; at the bottom of the forumhome_start plugin code then it echo's it out as it should. Any Ideas?
global $vbulletin;
$parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
$nick_title = $parser->do_parse($vbulletin->options[nick_announce_title], true, true, true, true, true, false);
$nick_contents = $parser->do_parse($vbulletin->options[nick_announce_conents], true, true, true, true, true, false); When i put $nick_contents or $nick_title in a template it doesn't work but if i put echo $nick_contents; at the bottom of the forumhome_start plugin code then it echo's it out as it should. Any Ideas?