I need to display a list of authors that have posted in a specific channel, sorted by number of posts in that channel. I've got this:
{exp:query sql="SELECT screen_name, total_entries, member_id FROM exp_members ORDER BY total_entries DESC"}
<li>
{screen_name} ({total_entries})
</li>
{/exp:query}
... but that counts entries across all channels, not a specific one. Can't seem to find any plugins to help with this, so guessing it's going to be a more complex query.
Thanks loads for any help!