SEB members can now edit their comments after submission.

Posted by Les on Thursday, June 07, 2007 at 07:55 PM. Read 1076 times. Tags: , ,
{name} pic

ExpressionEngine coder extraordinaire Paul Burdick has answered some long standing feature requests with a nifty new plugin that allows members to edit their comments after they’ve already submitted them. This plugin is called, oddly enough, Edit Comments and it does its magic using AJAX to keep things simple.

I’ve already added it to the templates here with a time limit of 60 minutes to make your changes in. This is to allow you to correct your “oh shit” mistakes that you noticed after hitting the submit button, but I don’t want comments to be editable forever. Right now the comment box it puts up is kinda small for my tastes so I’ll look into seeing if I can enlarge it, but it seems to work so try it out and let me know what you think.

Comments:

Page 1 of 1 pages

elwedriddsche United States Posted on 06/07/2007 at 08:04 PM

elwedriddsche pic

Nice wink

 Signature 

Science is answers that must always be questioned.
Philosophy is questions that may never be answered.
Religion is answers that must never be questioned.
Politics is answers that lobbyists pay for.

Lisa United States Posted on 06/07/2007 at 10:37 PM

Lisa pic

Open up the plugin and do a find for textarea.  You’ll see it has columns 30 - I made mine 100 or some such.  Really helps a lot.

elwedriddsche United States Posted on 06/07/2007 at 11:32 PM

elwedriddsche pic

Hey Lisa! You do tech support outside of the official forum? wink

I’ll try this plugin myself, but I’m a bit concerned about having to turn off caching for the template. This might require some rethinking of the template structure…

 Signature 

Science is answers that must always be questioned.
Philosophy is questions that may never be answered.
Religion is answers that must never be questioned.
Politics is answers that lobbyists pay for.

Lisa United States Posted on 06/07/2007 at 11:43 PM

Lisa pic

I don’t use any template caching, so that’s not a problem for me.

And occasionally I’ll pop my head in at some of the places I watch.  I even offered an entire day of free, instant skype and AIM based tech support on my site once - but my site is so far off the radar that no-one took me up on it. *grins*

decrepitoldfool United States Posted on 06/07/2007 at 11:51 PM

decrepitoldfool pic

I think 60 minutes is too long - it’ll mess up the integrity of give-and-take.

elwedriddsche United States Posted on 06/08/2007 at 12:04 AM

elwedriddsche pic

Lisa, I can’t think of anything that would require a full day’s worth of EE tech support.

Other than what lead to SEB’s template melt-down, which is a moot point ever since Les redesigned this site.

 Signature 

Science is answers that must always be questioned.
Philosophy is questions that may never be answered.
Religion is answers that must never be questioned.
Politics is answers that lobbyists pay for.

Moloch United States Posted on 06/08/2007 at 12:11 AM

Moloch pic

30 minutes would be a better time. That would be more than enough to re-proofread even a fairly long post.

EDIT: Woo-hoo, it works!

 Signature 

Beware the beast man, for he is the Devil’s pawn. Alone among God’s primates, he kills for sport or lust or greed. Yea, he will murder his brother to possess his brother’s land. Let him not breed in great numbers, for he will make a desert of his home, and yours. Shun him, for he is the harbinger of death.

Lisa United States Posted on 06/08/2007 at 12:11 AM

Lisa pic

I can think of plenty that would take far more than a day to resolve.  But no - what I meant is that I made myself available via Skype and AIM for anyone to ask questions, and promised I’d be there until I slept.

No-one asked questions.  I got off easy wink

elwedriddsche United States Posted on 06/08/2007 at 12:46 AM

elwedriddsche pic

Is it possible to flag edited comments or even better, provide a record of the edit history?

 Signature 

Science is answers that must always be questioned.
Philosophy is questions that may never be answered.
Religion is answers that must never be questioned.
Politics is answers that lobbyists pay for.

Les United States Posted on 06/08/2007 at 01:02 AM

Les pic

Lisa, thanks! That did the trick.

Elwed, as of the moment, no. Though you could always ask Paul nicely on the EE forums if he’d be willing to consider those ideas. grin

 Signature 

All I know is the wine lasts longer when you don’t gotta share it with someone
All I know is my steak tastes better when I take my steak tastes better pill
-- I Feel Fantastic, Jonathan Coulton

Les United States Posted on 06/08/2007 at 01:08 AM

Les pic

Double dipping to add the following: If you guys think 60 minutes is too long then I’ll shorten it a bit. Does 30 minutes seem like plenty or should it be even shorter? 15?

Oh what the hell, I’ve made it 15 for the time being.

 Signature 

All I know is the wine lasts longer when you don’t gotta share it with someone
All I know is my steak tastes better when I take my steak tastes better pill
-- I Feel Fantastic, Jonathan Coulton

elwedriddsche United States Posted on 06/08/2007 at 01:37 AM

elwedriddsche pic

15 sounds about right.

 Signature 

Science is answers that must always be questioned.
Philosophy is questions that may never be answered.
Religion is answers that must never be questioned.
Politics is answers that lobbyists pay for.

Ragman United States Posted on 06/08/2007 at 11:29 AM

Ragman pic

This plugin is called, oddly enough, Edit Comments

Obviously the man is not familiar with Microsoft development standards. wink

but I don’t want comments to be editable forever.

Gee, thanks.  Now how the hell am I supposed to run for public office if I can’t put past comments in the proper context?  Or at least blame it on someone hijacking my login…

Is it possible to flag edited comments or even better, provide a record of the edit history?

All joking aside, this would be good, since I wonder about a quick give and take resulting in someone editing their post to cover their ass after someone hands it to them.
Moloch United States Posted on 06/20/2007 at 12:27 AM

Moloch pic

What happened to the edit function?

 Signature 

Beware the beast man, for he is the Devil’s pawn. Alone among God’s primates, he kills for sport or lust or greed. Yea, he will murder his brother to possess his brother’s land. Let him not breed in great numbers, for he will make a desert of his home, and yours. Shun him, for he is the harbinger of death.

Moloch United States Posted on 06/20/2007 at 12:27 AM

Moloch pic

Nevermind.....

 Signature 

Beware the beast man, for he is the Devil’s pawn. Alone among God’s primates, he kills for sport or lust or greed. Yea, he will murder his brother to possess his brother’s land. Let him not breed in great numbers, for he will make a desert of his home, and yours. Shun him, for he is the harbinger of death.

Page 1 of 1 pages

Name:

Email:

Location:

URL:

Smileys


Remember my personal information

Notify me of follow-up comments?

Submit the word you see below:


<< Back to main