Help Center Live Community

Development => New Feature Discussion => Topic started by: centoasa on October 13, 2008, 02:36:17 PM



Title: users online
Post by: centoasa on October 13, 2008, 02:36:17 PM
Sometimes I see online users from 80 minutes ago.  I think it's better cancel from monitor users after about 15 minuts inactivity.
I hope I'm clear.


Title: Re: users online
Post by: Monty on October 14, 2008, 03:07:57 PM
There is a section in hcl/config.php (around line 145) that lets you decide when idle customers timeout.  The only trouble with this is if your customer has been active on your site for the past 80 minutes, then they will still show.  This is only if your customer becomes idle on your site.


Title: Re: users online
Post by: centoasa on October 14, 2008, 03:15:52 PM
on line 145 I've:
   $conf['tracker_refresh'] = '10000';
 // The number of miliseconds to refresh the tracker.
        // This checks for initiated chat requests and updates the
        // visitors timer so they do not reamin idle and timeout

but my user is remain idle for about 80 minutes!
as an example, now I've on monitor a user who remain on page for 9 mins 54 secs (is it normal?)


Title: Re: users online
Post by: Monty on October 14, 2008, 03:25:43 PM
I actually meant the section immediately below:

        // The number of seconds the visitor can remain idle until
        // they timeout.
        $conf['traffic_timeout'] = '60';

How many seconds is yours set to?


Title: Re: users online
Post by: centoasa on October 14, 2008, 03:27:59 PM
the same value


Title: Re: users online
Post by: Monty on October 14, 2008, 03:31:24 PM
I can only suggest that you alter this to a slightly different number and see if that changes anything.

Do you have a cron job in operation on your site?


Title: Re: users online
Post by: centoasa on October 14, 2008, 03:36:55 PM
none.


Title: Re: users online
Post by: Monty on October 14, 2008, 03:39:29 PM
Alter 60 to 65 or 55 and see if that makes any difference.


Title: Re: users online
Post by: centoasa on October 14, 2008, 03:55:16 PM
I'm trying (now I've a user in monitor that remain on a product page from 48 mins 21 secs :-)   


Title: Re: users online
Post by: Monty on October 14, 2008, 04:06:30 PM
When I'm working on your hack for offline messages, I'll also look into this matter as well.  Unfortunately, I won't be able to devote any time to your hack for a few weeks as a family member just had a heart attack at the weekend and my time is extremely limited.


Title: Re: users online
Post by: centoasa on October 14, 2008, 04:19:41 PM
I hope everything goes for the better.
Good luck to all your family member.

 :)