Quote:
Originally Posted by Lynne
You posted this exact same question on vb.com and I answered over there.
|
Thank you for your reply :
Quote:
You should be posting this over at vb.org where they deal with custom coding.
You should try giving no permission *before* you eval any templates (like your navbar).
If you need further help, you should post this over at vb.org.
|
You should try giving no permission *before* you eval any templates (like your navbar).
Please explain more... how do i do that?
Can you post the code segment?
Here is what i've tried so far :
Quote:
eval('$navbar = "' . fetch_template('navbar') . '";');
if (!$vbulletin->userinfo['userid'])
{
print_no_permission();
}
else
{
eval('print_output("' . fetch_template('bebo') . '");');
}
|
But that ain't solving the problem.
Well can you tell me something, if i write "include(file.php)" in else part before "eval('print...')" can cause error??
But still i think as cookies are already sent because of *no permission* condition, it would've worked...
EDIT :
I tried all above things but still nothing is working.