How to forbid access for online list guests? jcms 4.01 pls help
in the kome lib gid swen raf inkil poto?
blackfox93 (22.06.2012/15:26)
Please write in English
if($user_id)
{
echo 'This text can't see guests.';
}
Onatolich (22.06.2012/15:27)
if($user_id)
{
echo 'This text can't see guests.';
}
where i can add that code?in function.php or online.php?
blackfox93 (22.06.2012/15:27)
where i can add that code?in function.php or online.php?
In online.php:
if(!$user_id)
header("Location: {$home}");
In incfiles/end.php find code that shows a link "Online */*":
if($user_id)
{
echo 'Here that link';
}
I put the original /incfiles/function.php and /users/includes/online.php file ,but guests again can see who is online ...