LOD-squa
01-22-2003, 01:01 AM
Hello everyone I'm currently trying to add the online status on the profile but I have this code
if ($post['lastactivity'] > $datecut and !$post['invisible'] and $post['lastvisit'] != $post['lastactivity']) {
eval("\$userinfo[onlinestatus] = \"".gettemplate("getinfo_online")."\";");
} else {
eval("\$userinfo[onlinestatus] = \"".gettemplate("getinfo_offline")."\";");
}
I add $userinfo[onlinestatus] on getinto but the icons always appear has offline >_<
if ($post['lastactivity'] > $datecut and !$post['invisible'] and $post['lastvisit'] != $post['lastactivity']) {
eval("\$userinfo[onlinestatus] = \"".gettemplate("getinfo_online")."\";");
} else {
eval("\$userinfo[onlinestatus] = \"".gettemplate("getinfo_offline")."\";");
}
I add $userinfo[onlinestatus] on getinto but the icons always appear has offline >_<