Originally posted by Erwin Add this to the bottom of your "phpinclude" template.
PHP Code:
// if user is know, then welcome
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
eval("\$welcometext = \"".gettemplate('forumhome_welcometext')."\";");
eval("\$logincode = \"".gettemplate('forumhome_logoutcode')."\";");
eval("\$newposts = \"".gettemplate('forumhome_newposts')."\";");
Then put your $logincode and $logoutcode in your header (or in any template). I haven't tested it, but it should work.
When I add this, I'm getting an error on my message board.
The reason I was trying to add this code was because I added a $logincode to the Quick Reply hack. But when inserting a user name and password and you click reply you are not logged in. So, I'm trying to fix it. Is it the same solution?