MyBB Community Forums

Full Version: Fetch total threads/posts/members from database?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys. So I'm re-doing my homepage, and I would like to place some forum stats on it.

Could someone tell me, which table the total members, posts and threads are found? I can't seem to find it! Sad

Thank you.

bump - Please someone?
{$stats['numposts']} - Total Posts
{$stats['numthreads']} - Total Threads
{$stats['numusers']} - Total Users

Use these in your template.