01-23-2008, 11:05 AM
I've modified the header template of my mybb to fit the rest of my site, but I need to make a conditional modification now.
I'm basically trying to get mybb to print different options in the custom header, based on whether or not the user is logged in. The PHP code looks something like:
Is there any way to do this from the Admin CP, or will I have to modify the PHP scripts themselves?
~ Wogan
I'm basically trying to get mybb to print different options in the custom header, based on whether or not the user is logged in. The PHP code looks something like:
PHP Code:
if (isset($_COOKIE["mybbuser"])) {
// Echo the custom header, with an extra "Account" option
} else {
// Echo the standard header
}
Is there any way to do this from the Admin CP, or will I have to modify the PHP scripts themselves?
~ Wogan