Quote by Cheese: Hello,
Me back with some suggestions again

I’m excited for the plugin and can’t wait.
How about each day, a list of informative stats on the main stats page, that may or may not be able to be put on your website, that are updated during the day. For example:
The most viewed article/page during the day was ________, which was viewed ____ times.
The most active user today was _____, who viewed ____ different pages.
Etc. Even have a “top ten” listing of most active users that day. It’d just be cool for me to see who was active, and be able to just click their usernames, and see where they’d been in an instant. This would be very handy for me especially, as I have over 5000 registered users, 3000 of whom visit each day. I’d like to be able to keep a track on the “newbies” better, to see if they sign up and read one article, or if they read everything or whatever.
Also, would it be possible to have some of this information in the user profiles? Or, at least a button in there that lets you see the stats? For example, for user “Blaine”, I click on his profile and it’s the normal bla bla bla. But then I click another button “visitor stats” or whatever, and it takes you to a comprehensive list of what he’s basically done on the site for that day, or even better for the month. I just think that’d be a really cool option.
Also, if based on the stats compile some comprehensive stats, for example take in the browsers that people use, the operating system, resolution etc, and output it in one handy graph/chart. It’d be cool to see that 56% of my users used 800x600 screen resolution, so I’d have to make sure the site looked good in that view too etc etc.
Just some ideas to keep you busier than normal
I already capture the browser and operating system, look on the main index page for that info.
The other info you were wanting is easy to do but I would implement it as a seperate page (static with php) because it would really slow down the webpage load times to do it as a block.
Here is the sql needed to get these totals. Why don\'t you or some industrious person make the page and donate it back to the community.
\'most popular pages by month
select count(*) as cnt, page from gl_userstats where monthn=MONTH(CURDATE()) and year=YEAR(CURDATE()) group by page order by cnt desc limit 10
\'most popular pages by day
select count(*) as cnt, page from gl_userstats where monthn=MONTH(CURDATE()) and year=YEAR(CURDATE()) AND day=DAYOFMONTH(curdate()) group by page order by cnt desc limit 10
\'most active user by month
select count(*) as cnt, uid from gl_userstats where monthn=MONTH(CURDATE()) and year=YEAR(CURDATE()) group by uid order by cnt desc limit 10
\'most active user by day
select count(*) as cnt, uid from gl_userstats where monthn=MONTH(CURDATE()) and year=YEAR(CURDATE()) AND day=DAYOFMONTH(curdate()) group by uid order by cnt desc limit 10
All these queries return an array with the top ten sorted in descending order.
\'to see what a particular user did on a day (change uid to match)
select count(*) as cnt, page from gl_userstats where monthn=MONTH(CURDATE()) and year=YEAR(CURDATE()) AND day=DAYOFMONTH(curdate()) and uid = 1 group by page, uid order by cnt desc limit 10
Now you have the hard part.
TomW