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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   2032 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.