Posted by David Latapie on March 27, 2010 at 12:43am
Is it possible to allow deletion of a reply if and only if it is the last one in queue? This is a very common forum feature.
Example :
thread
reply #1 by user #1
reply #2 by user #2
reply #3 by user #1
reply #4 by user #1
I'd like user#1 to be able to delete reply #4, but not reply #3 (except once reply #4 is deleted, of course). Also, user#1 shall not be able to delete reply #1 and, of course, reply#2.
Does that make sense? Which modules are required and which settings are to be set?
Thanak you.
Comments
This is a very common forum
I have never, ever seen this feature... What forum software does that?
Example of the last in queue feature
A similar feature is visible here: I can
editthis answer since it is the last one in queue, but I cannot edit the one before, because it is not the last one in queue. This proves that the "last in queue behaviour" is already present in Drupal. From edit to delete, there is just one small step, I believe.phphBB, MyBB…
It is shown by the presence of a small cross button on the upper-right corner of the last post, provided you are the author of the said post.
I can't find a screen capture over the top of my head, but I can assure I used it quite often (granted, I may have been moderator on the said forum by this moment).
I'd also be interested in this...
.. but can't help with the answer sorry!
If you could put a feature
If you could put a feature request to commend_edited, I think i can squeeze it in there.
I understood comment_edited
I understood comment_edited to be a module for adding an informative message, whilst my request is adding a function, not an information. I am afraid that, despite your goodwill, your module would not be the right one.
But I must have misundertood the purpose of your module. Could you clarify? Thank you.
No, you are completely right,
No, you are completely right, its just that I already got and implemented a few requests that involved changing the way commenting, and their edit works (eg it provides a time limit for commenting on nodes now) that I thought one more cant hurt.
Maybe it would be better for both my module and for the future of such features to have a new module where we can pour in these comment improvements.
Nodecomment
If you're going to make a new module, please consider making one that can support nodecomment as well.
Michelle
Yeah, I wanted to talk to you
Yeah, I wanted to talk to you about it beforehand anyway, I only have some insight into what features are required because of the commend_edited's issue queue.
I've opened http://drupal.org/project/advanced_comment for this. I first will migrate all the non-comment edit related messages to it, then i'll take a look what other interesting features we should implement, incl the one mentioned here.
I agree
Either create a new module, or rename the existing module. Drupal's tradition is to keep things atomical.
State of the issue?
Did you create a new module? What is its link?
Thank you.
its in the comment above...
its in the comment above... http://groups.drupal.org/node/58453#comment-167973
Done
Done :)
Thank you!