Good afternoon.

Does anyone know if there is a method to disable the editing of comments after they have been posted? My specific issue involves moderated comments and the ability to edit previously moderated comments (thus, negating the act of moderating).

I know it's not an option in the permissions or comment settings, but it doesn't seem logical to me that it doesn't exist at all.

If it's a code change that is required, I could probably figure out how to implement.

I have searched long and far for an answer to something that I feel should be fairly simple, but to no avail. Thanks in advance for any advice!

Comments

Rmedia1’s picture

No suggestions? Seems strange I would be the first person to have this need. (Or, it could mean that this is/was such a prevalent question, and somehow I missed the myriad of answers) Let's hope it is the more the former than the latter ;)

pgualda’s picture

Easy, touch a code with "dirty style". If you can find the code line to delete I can find it (them?).

Wizard of Wor’s picture

I would like to disable comment editing as well, but have yet to find out how to do so.

And yes, I agree, it does seem quite odd that there's not an option to do so in the Comment module.

ladic’s picture

Hi, I have same problem and I still don't know how make that works.

I could have editing that in core or in template, but I cannot find right part of code. I'm not programmer, unfortunately.

So, do you have any advice?

thank you.

kriskd’s picture

I added this bit of CSS to my style sheet:

div#comments li.comment_edit {display: none; }

It got rid of the link, but a savvy user can just find the path when viewing the source of the page and edit their comment that way. So, not the best solution.

I'd be interested in a better solution as well.

ladic’s picture

But what about a power users (administrators, editors) .. this CSS style probably disable edit function for them too.
It looks like everybody here can programme, so they don't need any advance to disable it.

It doesn't make atmosphere: "drupal is for everyone"
I'm just curious, why Drupal haven't swith for this function.

Any idea, what We have to do? If anyone knows procedure where edit "core" files of Drupal 5.3, please, tell us.
I'll be grateful for that.

ladic’s picture

Thank you.