[RFC|Accepted] Soft Delete
- DavidIQ
- Customisations Team Leader
- Posts: 1904
- Joined: Thu Mar 02, 2006 4:29 pm
- Location: Earth
- Contact:
Re: [RFC|Accepted] Soft Delete
No I don't think they should be able to restore a deleted post. It would most likely disrupt the flow and understandability of the topic.
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: [RFC|Accepted] Soft Delete
Isn't that the same reason given to prevent deleting a post?DavidIQ wrote:No I don't think they should be able to restore a deleted post. It would most likely disrupt the flow and understandability of the topic.
If soft delete follows the same rule as hard delete -- the user can only delete his post if it's the last in the topic -- you could also add that rule for restoring the post. That way no flow would be disrupted.
If a user can soft delete any of his posts (because a moderator could always restore them), that would be the rule that allows disrupting the flow, not the restoration.
Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
- canonknipser
- Registered User
- Posts: 71
- Joined: Mon Sep 19, 2011 4:42 am
- Location: Germany
Re: [RFC|Accepted] Soft Delete
If you want to enable the user to
If user_id_delete is empty (=0), it indicates a unapproved post, so user can be enabled to edit it (not undelete, because it is not softdeleted).
Moderators should be able to set the "post locked" flag for softdeleted and unapproved post. This should prevent the user to undelete or edit those posts - maybe a moderator wants to start an internal discussion about the unapproved post before approving, so he can lock the content.
Another question: what happens to tracking mechanism?
Should a undeleted post be marked as "unread"?
- review softdeleted post deleted by himself
- undelete softdeleted post deleted by himself
- review unapproved posts
If user_id_delete is empty (=0), it indicates a unapproved post, so user can be enabled to edit it (not undelete, because it is not softdeleted).
Moderators should be able to set the "post locked" flag for softdeleted and unapproved post. This should prevent the user to undelete or edit those posts - maybe a moderator wants to start an internal discussion about the unapproved post before approving, so he can lock the content.
And, the post should still be the last post in the topic, so if there are new post after the softdeleted post, the user should not be able to restore the post.Pony99CA wrote:If soft delete follows the same rule as hard delete -- the user can only delete his post if it's the last in the topic -- you could also add that rule for restoring the post. That way no flow would be disrupted.
Another question: what happens to tracking mechanism?
Should a undeleted post be marked as "unread"?
Greetings
Frank
phpbb.de support team member - no support via PM or mail
English is not my native language
Extensions and scripts for phpBB
Frank
phpbb.de support team member - no support via PM or mail
English is not my native language
Extensions and scripts for phpBB
- nickvergessen
- Former Team Member
- Posts: 733
- Joined: Sun Oct 07, 2007 11:54 am
- Location: Stuttgart, Germany
- Contact:
Re: [RFC|Accepted] Soft Delete
If you are talking about my images, that is the resulting topic status depending on the status of the included posts, and in that case this is easily possible.EXreaction wrote:I'm not sure there would ever need to be a case where we allow both soft deleting and disapproving on a single post. If it is unapproved, do not allow soft deleting it, and there is no way to go back and set a post to unapproved after it's been approved.
Do you mean, that when a moderator disapproves a Spam post, it is soft deleted and he has to perform a second action until it's finally hard deleted? That would be not acceptable!imkingdavid wrote:How about merging the functionality of disapprove into soft delete? In other words, currently when a post is disapproved from the queue, it is hard deleted. So why not just make it soft deleted? Then you don't have two different types of visibility.
This sounds like a good idea to mecanonknipser wrote:just add a column "user_id_delete" and store the user_id of the user who performed the softdelete action. If it is the same as the user who has posted then allow undelete action. If the user_id is different it indicates a moderator action and so don't show the undeleted post to the user.
If user_id_delete is empty (=0), it indicates a unapproved post ...
Editing of unapproved posts won't (and shouldn't) be possible, as he will be unable to see the topic of his post.canonknipser wrote:... so user can be enabled to edit it (not undelete, because it is not softdeleted).
Member of the Development-Team — No Support via PM
- canonknipser
- Registered User
- Posts: 71
- Joined: Mon Sep 19, 2011 4:42 am
- Location: Germany
Re: [RFC|Accepted] Soft Delete
Why not? If he answers to an approved topic, he can see the topic atm, but not his own post ...nickvergessen wrote:Editing of unapproved posts won't (and shouldn't) be possible, as he will be unable to see the topic of his post.
You are right if he starts a new topic, but why not make the topic visible to the user (as it is visible to the moderators?) Same principle as for post, just with existing columns: if
(user_id = topic_poster and topic_approved = 0)
, he has the right to edit (if it is allowed for the post), but no right to reply ...Greetings
Frank
phpbb.de support team member - no support via PM or mail
English is not my native language
Extensions and scripts for phpBB
Frank
phpbb.de support team member - no support via PM or mail
English is not my native language
Extensions and scripts for phpBB
- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC|Accepted] Soft Delete
Well, I'm assuming you're adding the "hard delete" checkbox on the delete confirmation page, right? It wouldn't be difficult to do the same thing on the disapprove page, so that if they actually want to hard delete a post it doesn't take multiple steps.nickvergessen wrote:Do you mean, that when a moderator disapproves a Spam post, it is soft deleted and he has to perform a second action until it's finally hard deleted? That would be not acceptable!
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC|Accepted] Soft Delete
This is essentially the same as my modification does? If you add another column, the post_approved column can be completely left alone and not used.nickvergessen wrote:This sounds like a good idea to mecanonknipser wrote:just add a column "user_id_delete" and store the user_id of the user who performed the softdelete action. If it is the same as the user who has posted then allow undelete action. If the user_id is different it indicates a moderator action and so don't show the undeleted post to the user.
If user_id_delete is empty (=0), it indicates a unapproved post ...
- nickvergessen
- Former Team Member
- Posts: 733
- Joined: Sun Oct 07, 2007 11:54 am
- Location: Stuttgart, Germany
- Contact:
Re: [RFC|Accepted] Soft Delete
Okay some questions are up for discussion.
Case 1:
If a topic has:
Case 2:
Currently if a topic is unapproved (has only one unapproved post, nothing more), the topic starter is the author of that post, but this is only visible to moderators which can moderate the post anyway.
Now: If m_approve and m_restore are two different permissions, and the topic has one unapproved and one soft deleted post. which information should be stored in the "first_post_*" fields and to which of the moderators [m_approve/m_restore] should this information be visible?
Note: we can not store both informations and display the one for the specific permission
Case 1:
If a topic has:
- 1 approved
- 1 unapproved
- 1 soft deleted post
Case 2:
Currently if a topic is unapproved (has only one unapproved post, nothing more), the topic starter is the author of that post, but this is only visible to moderators which can moderate the post anyway.
Now: If m_approve and m_restore are two different permissions, and the topic has one unapproved and one soft deleted post. which information should be stored in the "first_post_*" fields and to which of the moderators [m_approve/m_restore] should this information be visible?
Note: we can not store both informations and display the one for the specific permission
Member of the Development-Team — No Support via PM
- Pony99CA
- Registered User
- Posts: 986
- Joined: Sun Feb 08, 2009 2:35 am
- Location: Hollister, CA
- Contact:
Re: [RFC|Accepted] Soft Delete
I think that the answer to both is the same -- the first post in the topic controls the topic. Plus, I'm not sure that scenario would be a very common case -- how often would somebody soft delete a post when they can clearly see a post awaiting approval above it. I suppose if the person only had soft delete permission but not approval permission that it could happen -- but that's just an argument to make soft delete/restore and post approval the same permission.nickvergessen wrote:Okay some questions are up for discussion.
Case 1:
If a topic has:and the approved one is "hard" deleted, what status should the topic have? [softdeleted/unapproved/both]
- 1 approved
- 1 unapproved
- 1 soft deleted post
Case 2:
Currently if a topic is unapproved (has only one unapproved post, nothing more), the topic starter is the author of that post, but this is only visible to moderators which can moderate the post anyway.
Now: If m_approve and m_restore are two different permissions, and the topic has one unapproved and one soft deleted post. which information should be stored in the "first_post_*" fields and to which of the moderators [m_approve/m_restore] should this information be visible?
Note: we can not store both informations and display the one for the specific permission
Forgetting about that scenario for a second, consider the following:
If a topic has:
- 1 approved
- 1 unapproved
- 1 more approved post
(Underlining just illustrates changes to the scenario, not answers.)
Making the first post control the topic status is consistent and reasonable. Yes, it's not perfect -- if the second approved post above referred to the hard deleted post without quoting, you'd lose context. Of course, that can already happen today if a moderator deletes a post that a following post referenced.
If you do it the other way, what happens when the unapproved post gets approved? Does that author suddenly become the topic starter? If not, then the topic starter would appear to be somebody other than the person who wrote the first post, which will confuse users.
Steve
Silicon Valley Pocket PC (http://www.svpocketpc.com)
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
Creator of manage_bots and spoof_user (ask me)
Need hosting for a small forum with full cPanel & MySQL access? Contact me or PM me.
- nickvergessen
- Former Team Member
- Posts: 733
- Joined: Sun Oct 07, 2007 11:54 am
- Location: Stuttgart, Germany
- Contact:
Re: [RFC|Accepted] Soft Delete
Yes, that does happen. Topic starter is always the first approved post. The question now is, who should be the topic starter, when the approved posts are gone?Pony99CA wrote:If you do it the other way, what happens when the unapproved post gets approved? Does that author suddenly become the topic starter? If not, then the topic starter would appear to be somebody other than the person who wrote the first post, which will confuse users.
Btw current implementation is no help there, as it has a bug. you will have an approved topic that does not contain any posts for normal users. (which should than not show up...)
Member of the Development-Team — No Support via PM