I’ve just implemented the Edit Comments plugin on my site. While playing with it on my test site, I noticed a couple of things:
First, a small bug. If you implement the time limit (15 minutes by default), then the edit link is correctly hidden from the user’s comments, but the edit-box div is still output. Hence you wind up with (hidden) extra stuff on the page for no good reason. Not a huge issue, but I wanted to clean it up. I fixed this in my version by adding the timeout check to the query for the wrap part too. I’d be glad to send you guys the fixed-up version if you tell me where to send it.
Second - is there any to implement the HTML Formatting buttons for the comment editing box? Nothing obvious leaped out at me.
Lastly, it would be nice if the timeout and moderator-groups could be implemented as tags parameters rather than hard-coded variables. Since they’re used in two different tags, they’d have to be passed twice, but you could set them in a template global and just reuse that. To me, this is much preferable to editing code to change the time limit. It would also allow different time limits and/or moderators in different sections of a site. I can implement that in my version pretty easily, but I wanted to see if you had any thoughts on this first.
Thanks much.