I need to know how to show total pms a user has in the header.. can anyone help me out? While were at it, maybe someone can help me with a problem im having...
I added this to my php include template
PHP Code:
$timediff='';
if ($bbuserinfo['timezoneoffset']!=0) {
if (abs($bbuserinfo['timezoneoffset'])==1) {
$timediff=" $bbuserinfo[timezoneoffset] hour";
} else {
$timediff=" $bbuserinfo[timezoneoffset] hours";
}
}
$timenow=vbdate($timeformat,time());
eval("\$timezone = \"".gettemplate('timezone')."\";");
now when I put $timezone in the header its fine.. but if I pass it through the $loginincode it doesnt show up in the header anymore.. how come? It should work because im still using this in the phpinclude
PHP Code:
} else {
$welcometext = "";
eval("\$newposts = \"".gettemplate('forumhome_todayposts')."\";");
eval("\$logincode = \"".gettemplate('forumhome_logincode')."\";");
}
Thanks