Sillybean

Comment Author Checklist

This is a WordPress plugin for writers’ critique groups and any other group blog doing some kind of document review. It gives you a new template tag, <?php show_comment_author_checklist() ?>, that generates a list of registered users. The post’s author and users who have commented on the post are crossed off the list; all other users are left alone.

Example: If Mary has posted a document, Jane has commented on it, and John has not, the tag will display:

  • Jane
  • John
  • Mary

Options:

  • exclude the admin user
  • choose the minimum user role to be show in the list (e.g. Contributor, Author, etc.)
  • sort the list by user ID, display name, first name, last name, or login
  • choose the categories in which to show the list

Comment Author Checklist is compatible with WP 2.5 and up, and requires PHP 5.1.0. Download 1.04 »

Comments

  1. tried your plug-in but couldnt get it to work properly

    could only get the heading to show.

    Posted by Jim on March 31st, 2008 at 4:37 pm

  2. Hi, Jim. Thanks for trying it out! Can you give me any more info? The plugin should work on 2.3 and up (I need to mention that in the post).

    Without details, I can suggest only obvious things: make sure you try it on a post in the right category that has comments, and at least the author (if not the commenters) is at or above the minimum user role… and so on.

    Posted by Stephanie on March 31st, 2008 at 4:56 pm

  3. I tested in 2.5, author is admin

    BTW “Show in categories” is hard to use because 2.5 doesnt show the numeric id

    I inserted this code.

    <!-- show_comment_author_checklist -->

    and got these results.

    <!-- show_comment_author_checklist -->
    Checklist

    Posted by Jim on March 31st, 2008 at 5:13 pm

  4. argh!! it ate my code!!

    Posted by Jim on March 31st, 2008 at 5:14 pm

  5. inserted code.

    results.

    Checklist

    ....see if that works

    Posted by Jim on March 31st, 2008 at 5:17 pm

  6. Last try using the comments 8’)

    inserted code.
    <!-- show_comment_author_checklist -->

    <!-- show_comment_author_checklist -->

    results.
    <!-- show_comment_author_checklist -->
    Checklist

    <!-- show_comment_author_checklist -->

    Posted by Jim on March 31st, 2008 at 5:26 pm

  7. it hates me

    Posted by Jim on March 31st, 2008 at 5:26 pm

  8. Thanks, Jim. I think I’ve fixed your code. (Textile is very different from the WP forum stuff, so backticks don’t work here.)

    I must have introduced an error very late last night, because the plugin has stopped working on my test site, too! I’ll dig into it this evening.

    Posted by Stephanie on March 31st, 2008 at 5:27 pm

  9. 1.01 posted. Thanks for your help, Jim!

    Posted by Stephanie on March 31st, 2008 at 6:58 pm

  10. still doesn’t work for me.

    might be you are using another plugin that it needs? have you tried this plugin on a blank website with no other plugins running? I’ve disabled all plugins and switched to default theme and still cant see any changes. I even changed user level needed.

    Here’s a link to my output code.

    wordpress.pastebin.ca/965720

    Posted by Jim on March 31st, 2008 at 11:17 pm

  11. It’s not a plugin dependency; it looks like I have another bug in my category check code. Tune in tomorrow…

    Posted by Stephanie on April 1st, 2008 at 12:01 am

  12. When in doubt, go back to your original working prototype!

    Version 1.02 posted, and all the options work on my test blog. I’ve also added an option to display the checklist on all categories (”*”). Let me know how it goes!

    Posted by Stephanie on April 1st, 2008 at 8:33 pm

  13. still a no go for me…where exactly are you putting the code and which file?

    Posted by Jim on April 2nd, 2008 at 2:26 am

  14. It should go inside the loop in single.php. If you don’t have a separate template for single posts, it could go in index.php with is_single(), presuming that you don’t want the checklist to appear on the home page or archive listings.

    Mine is right below the content:

    <?php the_content('<p>Read the rest of this entry &raquo;</p>');
    if (function_exists(show_comment_author_checklist))
    { show_comment_author_checklist(); } ?>

    Posted by Stephanie on April 2nd, 2008 at 9:59 am

  15. I’ve posted 1.03, which gives you checkboxes for the categories instead of making you type them in.

    Posted by Stephanie on April 4th, 2008 at 3:18 pm

  16. Jim, what version of PHP do you have? I’d thought this would work with 4, but I just noticed one function at the very end that was new in 5.1.0.

    Posted by Stephanie on April 4th, 2008 at 4:33 pm

  17. 4.1.22

    the host is in the process of upgrading to 5.0+, but I’m getting the feeling it will be awhile.

    if that’s the issue then no need to worry about it. I’m just trying to help test the script. I’ve been playing around with the script and I think I’m getting close to figuring out which black hat the rabbit is hiding in.

    Posted by Jim on April 4th, 2008 at 6:27 pm

  18. That explains it!

    I’ll see if I can work around that one function… if so, I’ll let you know. Thanks so much for all your help!

    Posted by Stephanie on April 4th, 2008 at 7:36 pm

  19. hi. Thanks for plugin

    perfect.

    regards

    Posted by baron on May 10th, 2008 at 4:40 pm

Leave a Reply

-- or --

Textile formatting is in effect.

RSS feed for comments on this post. TrackBack URI

'round here

Writing & Publishing 101

The Web Design for Authors series has evolved into Paged Media, a web design company devoted to authors

elsewhere

Blockbuster CEO Doesn’t Understand the Fascination With Netflix — ‘Equally bewildering to Mr. Keyes is the emphasis on catalog size. Why would anyone want to watch anything other than new releases, he wonders. “I don’t care how many movies are available to me. As my personal taste as a customer, I want to watch the new stuff so whether we have 10,000 movies or 200 movies doesn’t matter if I don’t want to see any of the movies that we have . . . our assortment is heavily weighted toward newer releases and mainstream staple titles.”’ And that is why I no longer go to Blockbuster, you idiot. Because I saw the new releases in the theater, thanks very much, and I like watching old stuff that I’ve never seen. You know, on this nifty archival disc format we have. (via DF)

Comment on this

Lenovo’s ad with the two guys in the airport is absolutely hysterical. (For all the people here not watching NBC’s Olympic coverage.)

Comment on this

Writing a novel, a love story — so very true. I think you all know which stage I’m in….

Comment on this

The Shire is in foreclosure! — anybody up for establishing a commune? (via MeFi)

Comment on this

Neuromancer — with Hayden Christiansen in the lead role, I fear for the quality of the movie. The poster makes a most excellent iPhone wallpaper, though.

Comment on this

The second annual A List Apart web design survey is up. If you design sites professionally, please fill it out! No one else is gathering data on our industry.

Comment on this

Revision Control for WP — limits or disables the new revision feature in WordPress 2.6.

Comment on this

Font Conference — Times New Roman presides as the standard fonts debate whether to allow Zapf Dingbats into the club. Hysterical! (via DF)

Comment on this

To celebrate the launch of Tor.com, they’ve reposting the free giveaways they did as teasers. Among other things, that page is a source for some pretty kick-ass iPhone wallpapers.

Comment on this

F*cking programming — Yeah, that sums up my working life. (via comment at Making Light)

Comment on this