Hi I have installed freichat as per instructions but i'm stuck at the end
at this step unclear what to put, my unsers are un the database as uni_users, plus i dont know were to place this after.
if(USER_IS_LOGGED_IN)
{
$ses = LOGGED_IN_USERID; //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
}
also.....when i pu the code intothe script i get this at the top of the page....please view picture...thank you

Hi I have installed freichat as per instructions but i'm stuck at the end
at this step unclear what to put, my unsers are un the database as uni_users, plus i dont know were to place this after.
if(USER_IS_LOGGED_IN)
{
$ses = LOGGED_IN_USERID; //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
}
also.....when i pu the code intothe script i get this at the top of the page....please view picture...thank you
