This question may be related to a resolved thread.
Hi All
I’m trying to create a list of members, ordered by who’s posted most entries in my News weblog. If they haven’t posted in that weblog, they shouldn’t appear in the list. So far I’ve got to this:
{exp:query sql="SELECT screen_name, total_entries FROM exp_members ORDER BY total_entries DESC"}
{if "{total_entries}" != "0"}
{screen_name} [{total_entries}]
{/if}
{/exp:query}
... which works, but it looks for total_entries in ALL weblogs. Any idea how I can order this by total_entries in just my News weblog?
Thanks, Frank