Mr e,
I have put this into my index.php file on my
www.mysite.com/index.php:
Code:
<?
chdir("forum/");
require('global.php');
chdir("../");
$templatesused='webwelcome_welcometext,webwebwelcome_logincode,webwelcome_logoutcode,webwelcome_unregmessage,webwelcome_pmloggedin';
?>
and then further down I've added:
Code:
<? // if user is know, then welcome
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
eval("\$welcometext = \"".gettemplate('webwelcome_welcometext')."\";");
eval("\$logincode = \"".gettemplate('webwelcome_logoutcode')."\";");
} else {
$welcometext = "";
eval("\$logincode = \"".gettemplate('webwelcome_logincode')."\";");
}
if ($bbuserinfo['userid']==0) {
eval("\$unregwelcomemessage = \"".gettemplate('webwelcome_unregmessage')."\";");
}
?>
Everythings working fine except I get this at the top of my index file:
Warning: Cannot modify header information - headers already sent by (output started at /home/marulat/public_html/lib/mtlibrary.lib:19) in /home/marulat/public_html/forum/admin/functions.php on line 1652