Quote:
Originally posted by ladyfyre
PHP Code:
// parse PHP include ##################
eval(gettemplate('phpinclude',0,0));
Add After it:
PHP Code:
//In or Out Hack
if_($bbuserinfo['userid']<1) {
eval("\$menu_navbar = \"".gettemplate("unreg_navbar")."\";");
} else {
eval("\$menu_navbar = \"".gettemplate("loggedin_navbar")."\";");
}
//In or Out Hack
|
There's an error in your instructions. The line that says:
PHP Code:
if_($bbuserinfo['userid']<1) {
Should say:
PHP Code:
if ($bbuserinfo['userid']<1) {
The underscore causes a fatal error. You may probably want to fix it in the first post here as well as the instructions. Thanks for the useful hack.