Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Forum Module /

Discuss the Forum Module.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Most Active Users (count Post group by Member)


Reply


2 Posts   654 Views

Avatar
johnmblack

Community Member, 61 Posts

17 November 2011 at 1:43pm

Before I dive into a bucket full of custom SQL, just wondering if anyone here has already written a code snippet that retrieves something like Most Active Users, based on number of posts/replies/etc.

So far I think I'll need to follow http://www.silverstripe.org/dataobjectmanager-module-forum/show/13265 and do a count of Post, grouped by Member. Does that sound right?

Thanks!

-John

Avatar
Willr

Forum Moderator, 5513 Posts

17 November 2011 at 11:38pm

The forum module has it already built in - you can see most active by post using the ForumHolder::member list view.