Is there a way to display a list of authors for a specific channel? Also need to add link that displays all posts by the author, and the {count} of the authors posts.
Like this:
AUTHORS
John Doe (2)
James Doe (14)
Smith Doe (4)
Thanks!
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
January 24, 2011 5:00pm
Subscribe [4]#1 / Jan 24, 2011 5:00pm
Is there a way to display a list of authors for a specific channel? Also need to add link that displays all posts by the author, and the {count} of the authors posts.
Like this:
AUTHORS
John Doe (2)
James Doe (14)
Smith Doe (4)
Thanks!
#2 / Jan 24, 2011 5:16pm
Not with EE tags but you can use the query module to pull this info.
Listing of all entries by particualr author can be done by passing the author ID (through the link) and then filtering the weblog by author id parameter.
#3 / Jan 24, 2011 8:09pm
Seems like it can be accomplished using the “Top Authors” plugin. That orders by number of posts, I would like to order alphabetically. I will post if I figure that out..
{exp:top_authors weblog="channel_name"}
{name} - {count}
{/exp:top_authors}#4 / Jan 25, 2011 3:59pm
Very good. Please let us know if there’s anything else we can do for you.
#5 / Jan 25, 2011 4:04pm
Is there a way to reorder the top authors alphabetically?
#6 / Jan 26, 2011 4:43am
nitecode,
open up the plugin file in a text editor and change line 65 from
$this->EE->db->order_by('count DESC, screen_name DESC');to
$this->EE->db->order_by('screen_name ASC');Let us know if that works
#7 / Jan 26, 2011 5:06am
You freaking rock!
#8 / Jan 26, 2011 3:12pm
Very glad to hear John Henry was able to help. Please don’t hesitat to post again in case there’s anything else. Thanks 😊