Quote:
Originally Posted by kh99
Which hook did you use for your plugin, and which template are you putting the variable in?
|
hook : misc_start
code :
PHP Code:
if ($_REQUEST['do'] == 'points')
{
$navbits = construct_navbits(array(
'' => 'points'
));
eval('$navbar = "' . fetch_template('navbar') . '";');
eval('print_output("' . fetch_template('points_page') . '");');
eval('$pointspages = "' . $vbulletin->options[pointspages] . '";');
}
i also try only eval() in hook : golbal_start and i put the variable $pointspages in header template ,to make sure the code is right but not worked too .
Thank you again