freichat don't get the online users.
Everyone is a guest also the users who are online.
Here the code:
if(!empty($row['id']))
{
$ses = $row['id']; //tell freichat the userid of the current user
setcookie("freichat_user", "LOGGED_IN", time()+3600, "/" ); // do not change -> freichat code
}
else {
$ses = null; //tell freichat that the current user is a guest
setcookie("freichat_user", null, time()+3600, "/" ); // do not change -> freichat code
}
when i print $ses out it works it's printing the right userid but its not workink.
hope someone can help
freichat don't get the online users.
Everyone is a guest also the users who are online.
Here the code:
if(!empty($row['id']))
{
$ses = $row['id']; //tell freichat the userid of the current user
setcookie("freichat_user", "LOGGED_IN", time()+3600, "/" ); // *do not change -> freichat code
}
else {
$ses = null; //tell freichat that the current user is a guest
setcookie("freichat_user", null, time()+3600, "/" ); // *do not change -> freichat code
}
when i print $ses out it works it's printing the right userid but its not workink.
hope someone can help
edited Dec 4 '17 at 10:24 am