but that IS the puzzler now isn't it Boofo? :bunny:
Just like you all I did was template changes, to make the today thing work in the welcome piece only requires a change to the index.php file, and I didn't mess with that.
In fact here is what that piece of the index.php looks like:
PHP Code:
$getnewpost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE dateline > '$bbuserinfo[lastvisit]'");
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
eval("\$welcometext = \"".gettemplate('forumhome_welcometext')."\";");
eval("\$logincode = \"".gettemplate('forumhome_logoutcode')."\";");
eval("\$newposts = \"".gettemplate('forumhome_newposts')."\";");
} else {
$welcometext = "";
eval("\$newposts = \"".gettemplate('forumhome_todayposts')."\";");
eval("\$logincode = \"".gettemplate('forumhome_logincode')."\";");
}
eval("\$bbuserinfo[lastvisitdate] = \"".vbdate($dateformat,$bbuserinfo[lastvisit]).
" , at ".vbdate($timeformat,$bbuserinfo[lastvisit])."\";");
I'm thinking that maybe it has to do with the fact that I am now "calling" $welcometext from my forumhome template, but I'm not sure as to why that would affect it. :ermm: