notes on admin comment reply

OK, I think I’ve got a cut for the next release of Lorelle’s requested plugin. However, I have not had a chance to test this outside of my own system (where it seems to work fine), and so I would love to have any volunteers help check this out on different installations for anything I’ve overlooked.

The basic mechanics are as follows: I coded up a new link “Reply To” for each post, which you all saw in the last cut. In that one the link goes to the post page’s comment reply section, which at least cut out the intervening pages. At one point I realized the Reply To doesn’t need to be added for comments not yet approved (!) so I cleaned that up (see example).

Anyway, now the Reply To link (see example) opens up a small box with a submit button under the comment using javascript (see example). I added code to the edit-comment.php that now handles a submit query. Each “Reply To” opens up its own box/submit button for the owner’s (see example). On submission, it refreshes, staying on this comment management page (see example). Sorry, no ajaxy goodness at this step, perhaps at the next step if I can figure out how to hook into something similar as to what the approve/unapprove links are doing.

There are a few annoying points left, which I’m not entirely sure how addressable they are. For example, once you approve a post, you’ll need to refresh the page to get its Reply To link, since that part of the code is not hooked into the ajax that WP is using to do this. Ideally I’d like to tap into that, I’ll have to poke around some more. I also have a feeling I should be utilizing the Nonce security model as well.

If you’d like to test this out, please comment! I’d feel better if it were tested out on a few more sites before I release it out in the wild…

del.icio.us:notes on admin comment reply  digg:notes on admin comment reply

6 Comments »

  1. Uno said,

    April 4, 2007 @ 10:27 am

    I’m looking forward to this plugin!

  2. Ronald Huereca said,

    April 15, 2007 @ 7:04 pm

    I’d like to test this out. Thank you.

  3. pelf said,

    April 18, 2007 @ 6:53 pm

    I’d be delighted to be given a chance to test this plugin out because (you can see from my blog that) I reply to individual comments. One-by-one. So yea, may I?

  4. tovorinok said,

    July 5, 2007 @ 1:10 am

    Hello

    Great book. I just want to say what a fantastic thing you are doing! Good luck!

    G’night

  5. Antonio said,

    August 6, 2007 @ 7:17 am

    This plugin is very interesting but in my italian version of wordpress don’t work and I can’t see Reply To link: I think because the plugin search “View Post” string but I’ve only this list of link:

    6 Ago, 14:00 — [ Modifica | Cancella | Non approvare | Approva | Spam ] — Title of my Post

    Do you know why e can you resolve this bug/problem?

    Thanks for your support :)

  6. Anton Storozhuk said,

    November 5, 2007 @ 1:01 pm

    I’d like to check this plugin. I will send you my experience opinion:)

RSS feed for comments on this post · TrackBack URI

Leave a Comment

Bad Behavior has blocked 953 access attempts in the last 7 days.