so i read your post wrong this is how i think it would work in theroy it should could you tell me if it does?
in global.php find
if (!$header) {
add before
if ($bbuserinfo['userid']!=0) {
that bit checks if the user is loged on (registered)
now you should have
if ($bbuserinfo['userid']!=0) {
if (!$header) {
eval("\$header = \"".gettemplate('header_2')."\";");
} else {
eval("\$header .= \"".gettemplate('header_2')."\";");
}
if (!$footer) {
eval("\$footer = \"".gettemplate('footer_2')."\";");
} else {
eval("\$footer .= \"".gettemplate('footer_2')."\";");
}
then add below that
} else {
if (!$header) {
eval("\$header = \"".gettemplate('header_1')."\";");
} else {
eval("\$header .= \"".gettemplate('header_1')."\";");
}
if (!$footer) {
eval("\$footer = \"".gettemplate('footer_1')."\";");
} else {
eval("\$footer .= \"".gettemplate('footer_1')."\";");
}
}
that should be it, remember to add to the get templates, the templates you want to have used!
regards
jamie
|