Slashcode
Slash Open Source Project
http://ask.slashcode.com/

Title    Counting Recent Logged In Users?
Date    Thursday February 26 2004, @01:13PM
Author    Cliff
Topic   
http://ask.slashcode.com/article.pl?sid=04/02/25/0254205

An Anonymous Slash Admin asks: "I finally have a running slashsite and am trying to customize it. Is there a simple way to query the DB for recent logins? I would like my main page to display something like:

XX users logged in within the past hour.
XX users logged in within the past 24 hours.
Would it also be possible to look at the number of IP's that Anon. users come in from to get a count of unique readers in the past hour and day? I've searched and have not found a plugin that will do this. Any advice on where to start would be appreciated!"


© Copyright 2012 - Me, All Rights Reserved

printed from Slashcode, Counting Recent Logged In Users? on 2012-02-07 00:21:29