How to forbid access for online list guests? jcms 4.01 pls help![]()
How to forbid access for online list guests? jcms 4.01 pls help![]()
in the kome lib gid swen raf inkil poto?
islamsoft (22.06.2012/15:23)Please write in English
in the kome lib gid swen raf inkil poto?
blackfox93 (22.06.2012/15:26)if($user_id)
Please write in English
Onatolich (22.06.2012/15:27)where i can add that code?in function.php or online.php?
if($user_id)
{
echo 'This text can't see guests.';
}
blackfox93 (22.06.2012/15:27)In online.php:
where i can add that code?in function.php or online.php?
Onatolich (22.06.2012/15:31)work
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 ...
blackfox93 (22.06.2012/16:18)Give me your end.php
I put the original /incfiles/function.php and /users/includes/online.php file ,but guests again can see who is online ...