Hi,
Can you say me how to decrease user online duration from 20 min to 5 mins? As in 20min its creating very long list of users and spiders.
~ Time
Well that is a good problem too have :) You must be getting some good traffic.
Here is where you can change the TIMER variables:
/YOUR_ADMIN/includes/languages/english/whose_online.php
Change:
toPHP Code:define('WHOIS_TIMER_REMOVE',1200);
- DannyPHP Code:define('WHOIS_TIMER_REMOVE',300);
Also note that if you are changing the WHOIS_TIMER_REMOVE, you will want to adjust the other WHOIS_TIMER_* variables accordingly.
- Danny
Hi,
I have changed 1200 to 300 but still its there for 20 mins. Any other changes required? But still no change, its still there for 20 mins. What to do now?
The other variables you are saying is WHOIS_TIMER_INACTIVE and WHOIS_TIMER_DEAD ? If so then I dont have issues with them ro I need to change their timings also.
Thanking you.
~ Time
Hey Time,
I made the changes on my site and this is what it should look like for what you are wanting to do:
Also, is your site using the English language files or did you set it to a different language?PHP Code:define('WHOIS_TIMER_REMOVE',300); // seconds when removed from whos_online table - 300 default = 5 minutes
define('WHOIS_TIMER_INACTIVE',120); // seconds when considered inactive - 180 default = 3 minutes
define('WHOIS_TIMER_DEAD',240); // seconds when considered dead - 240 default = 4 minutes
- Danny
I have added the functionality to optionally filter out the admin's IP addressed via the Enchanced Who's Online module and submitted it to the Zen-Cart team. Once they approve it, it will be available for download via the "Free Software Add Ons" section.
I will also post a link in this thread.
- Danny
You may download it from the following link:
http://www.zen-cart.com/index.php?ma...oducts_id=1257
Thanks,
Danny
Very nice. Installed without a hitch. Great work!
Any chance on a way of filtering out spiders?
Visit my Decal website: DecalDepot.net
Hello Everyone,
The new 1.0.3 patch has been activated in the "Free Software Add Ons" section.
Thanks for you improvement ideas, and let me know if there is anything you think would be beneficial to add next.
- Danny