PDA

View Full Version : broken stats



file cabinet
5 Feb 2005, 11:29 PM
need to do some debugging of this(just some math):
http://www.intpcentral.com/intp/stats/
and.. cache the results if possible.. or store data in db.. too many queries.. possibly cron (daily.. weekly..)..

garak
6 Feb 2005, 12:13 AM
Starting/ending dates should be dynamic too, based on what's in the DB. Obviously there are no new posts for Feb 2006. :P

Shai Gar
26 Feb 2005, 03:37 PM
so what is all that about?

file cabinet
26 Feb 2005, 03:43 PM
the stats lists would loop through an extra year and it wasn't caching yet(so a little query intensive), I've decided to comment it for now so it will only now list the users active within the last month.

Shai Gar
26 Feb 2005, 03:54 PM
ah, brilliant thank you, but does it do within 30 days or just starting from the first of each month?

file cabinet
26 Feb 2005, 04:00 PM
this is the time it is currently starting at Wed, 26 Jan 2005 15:58:39 +0000 and this is the time it ends at Sat, 26 Feb 2005 15:58:39 +0000

Shai Gar
26 Feb 2005, 04:05 PM
ah right