I have a topic at my site that someone (let’s call them X) posted and then deleted because of some erroneous information. I undeleted it and asked X posted a correction underneath their original post.
Since that time the topic keeps getting deleted. I’ve undeleted it twice and it looks okay but after a little while it appears as deleted again.
Is it possible that the user in question keeps deleting it? I’ve had users who would rather delete posts than endure the “embarrassment” of correcting themselves.
Check your log (admin/logs/staff_action_logs) to see if the user is deleting them. The log will show those posts that were both edited and deleted… and by whomever deleted them. You can click on the information icon for more info as well.
Some users have changed their minds about keeping a post for that and many other reasons. Sometimes it’s just one of those situations where one feels it’s just better to forget what they were going to say. Sometimes you just have to accept their reason, even if one isn’t given.
Users can’t insta-delete topics or posts, though. All they can do is trigger a 24 hour pending delete, which will be a public intent stated in the topic or post, like so:
(post withdrawn by author, will be deleted in 24 hours unless flagged)
Additionally, you can only do this for topics if they have no replies, and the topic is 1 day old or less.
this happens for us as well when a topic gets deleted by the system, that is 24 hours after a post is deleted by the author, there is no way to bring it back; even if we recover it, it gets deleted automatically again after 30 min.
I’ve talked with the user and, as far as I can understand, they’re not constantly deleting it. They were actually surprised about it, as they alerted me to the issue in the first place.
음. 1단계에서 무슨 일이 일어나는지는 완전히 이해하지 못했지만, 결론적으로 사용자가 주제를 생성했다는 전제 하에 2단계는 불가능해 보입니다. 일반 사용자로 주제를 생성한 후 답변을 남기고, 첫 번째 게시글(즉, 주제 글)을 삭제하려고 하면, 첫 번째 게시글은 삭제 대상으로 표시되지 않습니다. 이는 의도된 동작입니다.
제가 파악한 바로는, 게시물이 삭제 예정으로 지정된 경우 일반 사용자의 주제에서 스태프에게는 “삭제 취소” 버튼이 제공되지 않습니다. 대기 기간 동안에는 원글 작성자만 게시물을 삭제 취소할 수 있습니다. "삭제 취소했다"고 말씀하신 것이 자동 삭제가 발생한 후에 이루어진 것을 의미합니까?
사용자가 주제 게시글을 삭제하고, 삭제를 예약합니다. (저는 delete_removed_posts_after 사이트 설정을 1로 변경했습니다)
지정된 시간이 지난 후 주제가 삭제됩니다.
스태프가 주제를 삭제 해제하고 게시글을 원래 버전으로 되돌립니다. (복원만 수행하면 게시글이 "저자가 주제를 철회했으며, 신고되지 않는 한 1시간 후 자동으로 삭제됩니다"라는 메시지와 함께 복원됩니다)
일정 시간이 지난 후 주제가 다시 삭제됩니다.
현재 발생하고 있는 상황: 사용자가 자신의 주제 게시글을 삭제하면 user_deleted라는 속성이 true로 설정됩니다. 30분마다 실행되는 DestroyOldDeletionStubs라는 백그라운드 작업이 있습니다. 이 작업은 PostDestroyer.destroy_stubs 함수를 실행하여 데이터베이스를 검색하고, user_deleted가 true로 설정되어 있고 "삭제 타이머"가 만료된 게시글을 삭제합니다.
문제점: 스태프가 게시글을 복원할 때 user_deleted가 false로 설정되지 않습니다. 따라서 DestroyOldDeletionStubs가 다음에 실행될 때 게시글이 다시 삭제됩니다.