Online problem

421
.
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)
in the kome lib gid swen raf inkil poto?
Please write in English
.
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';
}
.
Onatolich (22.06.2012/15:31)
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';
}
work thanks a lot
.
but I have again problem
Прикрепленные файлы:
.
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)
I put the original /incfiles/function.php and /users/includes/online.php file ,but guests again can see who is online ...
Give me your end.php
Всего: 18