Simple Machines Community Forum

SMF Development => Feature Requests => Topic started by: Saiyavenger on July 01, 2013, 05:04:30 PM

Title: Sorting Memberslist by Topic Creation?
Post by: Saiyavenger on July 01, 2013, 05:04:30 PM
Is there a way to sort members by how many topics they've created, be it a mod or something already there that I've just missed? My site gives out awards based around topic creation count, and I have no idea how to check that outside of the Top 10 list in my More Stats page.

Thanks in advance.
Title: Re: Sorting Memberslist by Topic Creation?
Post by: kat on July 01, 2013, 05:07:33 PM
Like this?

http://www.simplemachines.org/community/index.php?action=stats

Fourth block down, left-hand column.
Title: Re: Sorting Memberslist by Topic Creation?
Post by: Saiyavenger on July 01, 2013, 05:10:02 PM
Yeah, like I said, I know about that already. But I'd like to know more outside of just the top 10. I was hoping to see stats from everybody instead.
Title: Re: Sorting Memberslist by Topic Creation?
Post by: Illori on July 01, 2013, 05:10:46 PM
Quote from: Saiyavenger on July 01, 2013, 05:04:30 PM
I have no idea how to check that outside of the Top 10 list in my More Stats page.

that would be the more stats page K@ ;)

there is no other way that i know of to find out how many topics a user has created, you could check their profile but you would need to do that for each user.
Title: Re: Sorting Memberslist by Topic Creation?
Post by: kat on July 01, 2013, 05:18:16 PM
I guess it'd be possible to expand that, to cover more topic starters, with a bit of coding expertise.

Just thinking out-loud, here... Simple Portal has pre-configured blocks for "Top poster" and "Top topics". If you asked in the mod's support topic, I somehow think that creating a block, for this, wouldn't be too difficult.

'course, I could be totally deluded, there. However, I suspect that a judicious bit of php or html coding, in a custom block, would be too difficult, for a coder.

Title: Re: Sorting Memberslist by Topic Creation?
Post by: live627 on July 01, 2013, 08:44:36 PM
SMF does not keep track of topic count in the members table, so this would need expensive queries. Lots of ingenuity is required for this to be done without stressing the server.