I like to use "threaded style" comments. However the problem with them is that when a users deletes their own comments all the "replies" to those comments are deleted as well.

Is there a way to "unpublish" those comments instead of deleting them?

3 Answers 3


To unpublish a comment, click on the link to edit it. In the page that appears, you will see an "Administration" section that is a a collapsed field set; select the "Non published" checkbox, and the comment will be unpublished.


If you unpublish a comment, the child comments will still be published; you need to unpublish each of them.



I think by unpublishing the comment you will get the same result. Replies not appearing.

You could use the flag module to provide a 'delete link' flag and then remove the default delete link. You could then at the template level detect whether the comment author has decided they want to delete the comment (i.e. flagged it) and show a message such as "Author removed comment" etc. That way they would still appear in a threaded list.

  • that's a good workaround. I just did a test and checked the database. When I set the status for the first threaded comment to 0 (unpublished) it will not show but replies to it will show. For the admin it will show the thread in red and adds an "approve" link. When I use the "delete" link it deletes the both comments from the table. How can I add a "unpublish" or "unapprove" link to comments?
    – uwe
    Sep 1, 2011 at 1:02

With http://drupal.org/project/hidden_comment you can hide a comment without having to give the "administer comment" permission to a role. Even more, you can allow a role to hide comments in their posts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.