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

Paged Media: Web Design for Authors

elsewhere

Talking Points Caribou Barbie — rape kit sold separately.

Comment on this

Being the Book Lady — this made my day.

Comment on this

A fanfic writer goes to Clarion. “...all the sandcastle skills you learned over in Sandbox Someone Else’s Canon are a lot harder to use when you’re not given sand to start with.” Great post.

Comment on this

Tina Fey and Sarah Palin Side by Side on CNN. “That was the first time I’ve ever heard the parody on SNL actually use exactly what was said…”

Comment on this

The Texas voter registration deadline is October 6. See if you’re registered. If not, find your county registrar to fix it.

Comment on this

Have you created your 5 Second Test? — a nifty little test for web designers.

Comment on this

Aaron Sorkin Conjures a Meeting of Obama and Bartlet — How much do I love Maureen Dowd right now? LOTS and LOTS.

Comment on this

Download ‘Boojum,’ by Elizabeth Bear and Sarah Monette — in honor of Talk Like a Pirate Day.

Comment on this

TwitterKeys — “TwitterKeys is a browser bookmarket that pulls up expressive characters for easy copy & paste of all those crazy unicode symbols that people love to include in their emails and blog posts.” Very handy. See also: ⌘C ⌘V Character.

Comment on this

The great Before & After Magazine talks about designing business cards for arts and crafts sales, including tips on photographing the items.

Comment on this

If you have not yet seen Firefly (infidel!), it’s now streaming for free on IMDB, via Hulu. The episodes are out of order, though, so you might want to refer to the Firefly wiki’s episode list rather than IMDB or TV.com, both of which list the massively incorrect original airing order.

Comment on this