MyBB Community Forums

Full Version: How to check todays'all posts?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hope this is the right forum for this question if not forgive me!

The function today posts only shows last post is there a way to see all posts that were made today?

Post = Reply
$cutoff = TIME_NOW - 86400;
$query = $db->query("SELECT p.*, t.* FROM " . TABLE_PREFIX . "posts p LEFT JOIN " . TABLE_PREFIX . "threads t ON(p.tid=t.tid) WHERE p.dateline >= $cutoff ORDER BY p.dateline ASC");
Thanks buddy very much really appreciate this. I think MYBB should implement this feature cause it makes moderation much easier Smile