Quote:
Today at 08:57 PM Link14716 said this in Post #14
Firstly, just add this:
PHP Code:
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
eval("\$logincode = \"".gettemplate('forumhome_logoutcode')."\";");
} else {
eval("\$logincode = \"".gettemplate('forumhome_logincode')."\";");
}
Also, make sure it appears before the header template is called and after functions.php, sessions.php, etc. are required.
|
Thank you very much!
I should've known to put it after all those templates were called, because the problem was that the templates weren't being called. Duh, stupid mistake on my part. But thank you very much