Help - Search - Members - Calendar
Full Version: Blog Authors
Movable Type Community Forum > Additional Resources > Tips and Tricks
jimmijimjim
Is there a way to list blog authors and have the list sort by the author who has most recently posted?

Also... if the link on their name is clickable, how can I change that link to a page I desire? Is it in their preferences?
urbandyke
Have you looked at the Authors plugin?
jimmijimjim
but this does not display a list, does it? It just displays the author of the post your on? How, if it is a list, does it organize it?
jimmijimjim
bump
jblayloc
Brad's MTAuthors Plug-In does produce a list of all authors with permission to post to a blog. It would indicate how many posts an author has made, and I believe you could modify the information in the MTAuthorURL field (through your weblog config) to provide a link of your choice. I am not aware of anything that will accomplish the sorting you want.
Political Puzzle
I would like to take this a little further. I have installed MT-Author which will list all of my current authors with posting priviledges and the number of posts they have made.

I would like to be able to click on any particular author and display a simple list of the entries that they have made. (much like the list in the Master Archive Index)

Does anyone here know how I could accomplish this? I am probably missing something obvious...
TweezerMan
List of blog authors, sorted by who has most recently posted, using the SQL plugin:
CODE
<MTSQLEntries query="SELECT entry_id, MAX(entry_created_on) as entry_created_on
FROM mt_entry
WHERE entry_blog_id = [MTBlogID]
AND entry_status = 2
GROUP BY entry_author_id
ORDER BY entry_created_on DESC">
 <a href="<$MTEntryAuthorURL$>"><$MTEntryAuthor$></a> (<$MTEntryDate format="%m/%d"$>)<br />
</MTSQLEntries>

David: If you're wanting each author's list of posts to be on a separate page, that would basically be archives by author, which MT does not currently have. The only way I know of to have separate pages for each author's posts would be to have a separate index template for each author, which I don't believe would be very practical if you have more than a couple of authors.

You can list each author's posts, all on a single page (index template), by using an MTEntries tag inside of the MTAuthors container tag. As the MTAuthors tag cycles through each author, the MTEntries tag will only retrieve entries for that particular author automatically without having to use the "author" attribute:
CODE
<MTAuthors permissions="post">
 <a name="<$MTAuthorName dirify="1"$>"></a>
 <$MTAuthorName$> (<$MTAuthorEntryCount$>)<br />
 <MTEntries>
   - <a href="<$MTEntryPermalink$>"><$MTEntryTitle$></a><br />
 </MTEntries>
 <br />
</MTAuthors>

Make each author's link to the above page scroll to the beginning of that author's list of posts by using an HTML bookmark at the end of the href URL:
CODE
#<$MTAuthorName dirify="1"$>

Hopefully there's something here that you can use. smile.gif
Political Puzzle
You da man, Tweezerman! biggrin.gif

I was able to take your suggestion and improve on it a bit to get exactly what I was looking for. Now, I can list all of my authors, and when you click on their link, a pop-up will display the titles of all of their posts along with an excerpt.

You can see how this works by going to my blog and looking in my right column under "Our Current Players". Clicking on one of the names will bring up a popup window listing all of the posts that author has made.
soupenvy
Were you able to do this dynamicly, or did you have to hard code an "author archive" for each author?
spabman
This seems to work on one blog, but what if you want to view all authors on a single page and list by who posted last? The authors would be part of the blogging community (in other words each has their own blog within the same domain) but wouldn't be able to post on anyone's elses blog but their own. Then the main index page would collect most recent posts of all the authors and show who has posted in order of most recent post.
bunka
multiblog can do that
spabman
I still don't see where you can sort individual authors by most recent post? It seems that MultiBlog just grants you access to control who can and cannot post to another blog. I've got it working fine, but the attributes on MultiBlog resemble MTBlogs.

Multiblog's sorting is within an author's blog, but if I want to show who has blogged the most recent, I can't get it to move that author to the top of the list?

And just to completely clear up what I'm asking -- I don't mean shared authors of a single blog. I'm talking about individual authors of individual blogs shared on one account.
spabman
I finally figured it out! Ok, I've heard several people mention the plugin "Multiblog", but at first couldn't figure out how it works any different than MTBlogs.

Here's the difference. If you use the "Local Blog Aggregation" tagging method located at the bottom of David Raynes Multiblog website: http://wiki.rayners.org/plugins/MultiBlog along with the plugin, you can get your authors to sort by latest post. Use the MTMultiBlogEntries tag and you're gold.

Phew!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.