User online tracking via unique ip count
The module tracks and counts users online by unique ip.
useronline.maxage = till ip/user expires (default=300)
useronline.active = till ip/user is no longer considered active (default=useronline.maxage/3)
useronline.maxips = number of ips to track (default=1024)
'''This module sets the following environment variables with stats:'''[BR]
users_online = number of online users
users_active = number of active users
user_hits = number of hits by current user
users_online_age = current max age setting
users_active_age = current active age setting
users_online_max_ips = max ips setting
users_online_id = id value of current
Note: this tracks users online by setting. So if you have two seperate conditionals with enable = 1, it will track the two seperate areas seperately.
At some point I will add to this module and have it output all the data collected in xml format for easy access remotely.
I made this for Game-Monitor.com, and is actually live right now: http://www.game-monitor.com/ (the stats are shown at the bottom of the page in the footer).
I was doing the same thing via PHP previously, but found it to be a bit of a CPU hog. This module is much faster than the PHP counterpart I made.
Hopefully it proves to be useful for others.
-- Wojciech Hlibowicki <wojtek
Updated by gstrauss over 2 years ago
- Status changed from New to Wontfix
- Priority changed from Normal to Low
Also available in: Atom