« Combining Multiple Blogs Into One | Main | Welcome Guest Author Lance McCord »

Multiple Authors

This tutorial needs to be updated to include the use of the CustomFields plugin as a way to manage a multi-author site. ~Elise March 9, 2007

With MT you can have multiple authors on the same weblog, making it easy to have a friend contribute to your blog as a "guest author" or to create a group weblog to which many people contribute. You can even customize to a small degree, aspects of the author-specific Individual Entry pages.

Adding an Author

To add an author in MT 3.2 open up the Main Menu of your weblog edit window and select "Authors" from the System Shortcuts menu. Click on the "Create New Author" link. In the "Create New Author" window, type in the Username - the name with which the new author will use to log in to the system, the Display Name - the name which will be displayed when the author makes a post, email address, and password (twice) for the new author. Check the boxes associated with the blogs for which you want the new author to have permissions. Save changes. You will be taken to the Author Permissions page for your new author. Select which general permissions you want this author to have on all of the blogs in the system. Check the specific permissions you want this author to have associated with each blog. Save changes.

You will now be able to set the author permissions for this new author on a weblog by weblog basis. Typically for guest authors I only select the "Post" and "Upload Files" permissions. For group weblogs I may or may not have more permissions checked. It depends on how actively involved in the behind-the-scenes blog maintenance I expect them to be. I would only give "System Administrator" (v3.2) or "Edit Authors and Permissions"(v3.1 and earlier) permissions to someone I completely trusted.

Posting

Your authors will now be able to post to the weblogs for which they have permissions. Direct them to your Main Menu weblog edit URL (the one that ends with mt.cgi). Have them sign in with the username and password you have assigned them. If you have given your authors "blog administrator" privileges they will have visibility to the author menu and will be able to edit their author profiles. Note that if your guest authors have different permissions than you, they will see a slightly different version of the menu screen. They may not see other weblogs for which they don't have access, for example.


Author Archives

Movable Type 3.15 (and earlier versions) does not have an easy set up for author archives as it does for monthly and category archives. You can get around this; the method is kludgey, but it works.

To create a page that lists the entries of only one of your authors, create a new Index template from your template edit window. Copy and paste the template code from your Main Index template into this new template. Change the <MTEntries> tag to <MTEntries author="Michelle">, swapping out "Michelle" for the MT username of the author you want to use. Create a name for the template that includes the author's name for easy reference. Create an output file name that includes the author's name for the same reason. Save and rebuild the template.

Repeat for every author. (You can see how this method is not particularly scalable.)

Point to the author pages by hard-coding the links to the individual index pages from your Main Index.

Shelley Kaufman, a.k.a. Girlie, has outlined a method to create author archives using dynamic publishing: Dynamic Archives by Author.


Customizing the Individual Entry Template on a Per Author Basis: example

When I first started including tutorials from guest authors I faced a dilemma. How to have each author's copyright or creative commons license automatically appear on the tutorials they authored?

This can be accomplished using Template Modules, MTIncludes, and the MTIfEqual tag.

1. Download and install the Compare plugin. You will need this plugin to use the MTIfEqual tag. (See What is a Plugin?)

2. Create individual template modules for the License rights for each author. For example, in the case of this weblog, the following is a template module named, Rights Elise:

<div class="link-note">

Learning Movable Type Copyright © 2004-2005 Elise Bauer. All Rights Reserved (unless otherwise specified).

</div>

3. Add the following code to your Individual Entry Archive template where you want the section to appear, substituting "Author1" and "Author2" with the user names of your blog authors. Substitute "Rights Author1" and "Rights Author2" with the names of the template modules you have created with the individual license notices.

<MTIfEqual a="[MTEntryAuthor]" b="Author1">
<MTInclude module="Rights Author1">
</MTIfEqual>

<MTIfEqual a="[MTEntryAuthor]" b="Author2">
<MTInclude module="Rights Author2">
</MTIfEqual>

4. Save your template and rebuild your site.

Now when different authors post, they can have their license information display automatically. An example of this in action is the Converting to PHP tutorial that LMT guest author Sarah Hughes wrote. Note the license info at the bottom of her tutorial. This license information gets displayed automatically on any tutorial that Sarah authors on LMT.

This method can also be used to serve up Google Adsense or Amazon Ads that have the account information for the guest author, or any other author specific content.


Links:


Brad Choate's MTAuthor plugin
Dynamic Archives by Author

Post a comment

(If you haven't left a comment here before, your comment may need to be approved before will appear on the entry. Thanks for waiting.)