How can I soft-delete a topic?


(Rodrigo Farcas) #1

I can turn it invisible, close it and delete it, but how can I soft-delete it in case I need to see the content or IP of the author in the future?

Thanks!


(Michael Downey) #2

Is there any difference in those actions? (Unlisted vs. “soft delete”)

If so what might those differences be in your mind?


(Rodrigo Farcas) #3

-With unlisted, people can still access the topic via direct URL linking or via search engines.
-With soft-delete, only admins or moderators can still access the topic.


(Lisa Wess) #4

We’ve moved those posts to a private category when necessary.


(Rodrigo Farcas) #5

That works, but it is a workaround. Most systems do have a soft-delete, for security purposes (IE: a legal entity requesting an IP of a post, etc)


(Jeff Atwood) #6

Yes, that would be the solution. There is a UI provision in the edit history for hiding revisions of a post if someone posts a SSN or phone #, etc.


(Rodrigo Farcas) #7

Can you explain more? what do you mean by a UI provision?


(Jeff Atwood) #8

There is a button to hide edit revisions in the edit history dialog. A trashcan button. This only hides the specific revision though.


(Rodrigo Farcas) #9

Yeah I see what you mean. Anyway I think there is a fair point of having some sort of soft-delete for forums that need to maintain the posts for legal issues, because if you are requested to show the original post info and you don’t have it, you can be blamed for that, in some countries.


(cpradio) #10

Isn’t “Delete Topic” a soft-delete? You can still get to it using ?status=deleted, I don’t know how long they stick around, but I know they still exist for a while.


(Rodrigo Farcas) #11

Yep for a while, but then they are deleted. Suppose they are deleted and you need to deliver information for legal purposes say, after 2 months? that’s why soft-delete is missing in this case.


(cpradio) #12

Hmm… I just checked our instance and we have some deleted topics that go back to 2010.


(Kane York) #13

“Delete Topic” topics aren’t purged from the database.


(Jeff Atwood) #14

This is not correct, deleted stuff is never purged.


(Rodrigo Farcas) #15

And how you access them?


(Jeff Atwood) #16

@rodrigofarcas your answer was posted upstream.

Also on a user’s profile look for the number of deleted at the top… and click on it. (This does assume you know which user owned the deleted content, though…)


(Rodrigo Farcas) #17

So if I browse forumsurl.com/?status=deleted it will list all deleted topics? or how can I use that parameter?

Cheers


(cpradio) #18

Yes it will list all deleted topics. You can also do it on the category latest pages too so you only see deleted topics in a given category


(Rodrigo Farcas) #19

It does not work for me, it shows the same content as browsing forumsurl.com


(cpradio) #20

What is your home page set as and what version of Discourse are you on?

Edit: You do have to use the querystring on the latest page (or the category latest page)