Hi all,
I edit file "newthread.php" and add this code
Quote:
if ($vbulletin->userinfo['userid'] != 1) {
eval(standard_error('You are not administrator!'));
}
|
after
Quote:
if (!$foruminfo['allowposting'] OR $foruminfo['link'] OR !$foruminfo['cancontainthreads'])
{
eval(standard_error(fetch_error('forumclosed')));
}
|
I create a plugin at hook "cache_templates"
and i call $zxzxzx in template "navbar"
When i visit my forum. If userid = 1, Number 123456789 is show. But i userid != 1, it not show $number and only show "Number ".
How to fix it? I want value of $number show in template.
Thanks you.