Hmm - why not just do like this?
EDIT: Should have chosen a variable that's not used by vB from the start
Thanks ladyfyre for reminding me
PHP Code:
if ($bbuserinfo['userid']<1) {
eval("\$mynavbar = \"".gettemplate("unreg_navbar")."\";");
} else {
eval("\$mynavbar = \"".gettemplate("loggedin_navbar")."\";");
}
And then just use that one variable...
No point in having two different variables for the navbar