Quote:
05-07-03 at 01:57 AM 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.
|
I am a total newbie, and I know this is stupid, but where would I add this?
I ask as I need a log in box on a certain catagory page, and I can seem to find a way to get one there. Will this work for me, and if so, where do I put this code?