MyBB Community Forums

Full Version: Number of posts on an hour-by-hour basis
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
G'day,

is there any way I can see the number of posts in each hour for my forum? I'm just interested in seeing the busy/down times each day.

I have searched, but no joy. Possibly wrong search terms, etc.
use phpMyAdmin or similar and run this query

SELECT hour(from_unixtime(dateline)), count(pid) FROM `mybb_posts` group by hour(from_unixtime(dateline))

result is list of hours 0-23 and number of posts.

on large boards, this may be slow
Thanks for that, works a treat. Brilliant.

I was hoping that this could be looked at easily on the web with the other stats, but I guess you can't have everything :-)