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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Forum Module /

Discuss the Forum Module.

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

Most Active Users (count Post group by Member)


Go to End


2 Posts   1167 Views

Avatar
johnmblack

Community Member, 62 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, 5523 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.