I was going to suggest the same thing earlier, but I think she did a great job with her first hack. It will work either way.
Quote:
Originally posted by Sparkz
Hmm - why not just do like this?
PHP Code:
if ($bbuserinfo['userid']<1) {
eval("\$navbar = \"".gettemplate("unreg_navbar")."\";");
} else {
eval("\$navbar = \"".gettemplate("loggedin_navbar")."\";");
}
And then just use that one variable...
No point in having two different variables for the navbar
|