Multiple Recycling Bins for different Categories/Boards?

CerealGuy

  • Posts: 343
Multiple Recycling Bins for different Categories/Boards?
« on January 26th, 2014, 04:23 PM »
I would like to have the Feature that we can specifically change the behavior of the "Delete Post/Topic" function.
For Example i have Support Forum and dont want that the deleted topic come in the same Board as Genereal Posts/Topics when i delete them. In the moment we can only set the "global" recycling board.

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Multiple Recycling Bins for different Categories/Boards?
« Reply #1, on January 27th, 2014, 10:24 AM »
I don't even want to know about that... :P

See, I'm a big opponent to the whole Recycle Bin thing. To me, a post should NEVER be moved outside of its context. Years ago, I suggested to Pete that we should instead leave posts in place, and just hide them with a specific flag. He wasn't into it because he believed this would hurt forum performance. Last year, I reformulated my suggestion, and instead suggested to leave posts in place, but hide them at display time. This time he was all right with the change, but...

But this was also the time when he left Wedge, and I simply *completely* forgot about implementing that; I had other priorities, and this one was buried deeper than the rest.

It's a good thing you remind me of it, though. I really, really should remove that feature, and replace it with what I had in mind. This also makes it much easier to restore a topic or posts (as long as they're not hard-deleted), because it's only about changing a flag.
Anyone for it, anyone against it..?

Wanchope

  • Posts: 234
Re: Multiple Recycling Bins for different Categories/Boards?
« Reply #2, on January 27th, 2014, 10:51 AM »
@Nao
No,I really like it. Hide the post from public with admin and mod permission to view and can restore it. Something like the 'post is hidden'. This will also checkmate some autocratic mods as they will not have the permission to hard delete posts, just soft delete. Will be a nice tool in a huge forum with multiple mods.

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Multiple Recycling Bins for different Categories/Boards?
« Reply #3, on January 27th, 2014, 11:28 AM »
Quote from Wanchope on January 27th, 2014, 10:51 AM
@Nao
No,I really like it. Hide the post from public with admin and mod permission to view and can restore it. Something like the 'post is hidden'.
"This post has been deleted."
Quote from Wanchope on January 27th, 2014, 10:51 AM
This will also checkmate some autocratic mods as they will not have the permission to hard delete posts, just soft delete. Will be a nice tool in a huge forum with multiple mods.
Anything can hard-delete a post... wesql::query('DELETE * FROM {db_prefix}messages WHERE id_msg = {literal:12345}'); would, in fact, be the shortest way to do it with only a minimal knowledge of Wedge's intricacies.
While soft-deleting would be something like, wesql::query('UPDATE {db_prefix}messages SET deleted = 1 WHERE id_msg = {literal:12345}'); -- pretty much straightforward. (No, that 'deleted' flag doesn't exist, yet.)

Wanchope

  • Posts: 234

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Multiple Recycling Bins for different Categories/Boards?
« Reply #5, on January 27th, 2014, 04:17 PM »
Oh, yes...
Then, I *guess* I would also have to add a 'can_soft_delete' permission, so that you can safely remove the permission to delete a post.

I can imagine I'll have lots of fun trying to get every single message parsing to actually return an error message... Maybe I should actually build this into parse_bbc's options...

Wanchope

  • Posts: 234
Re: Multiple Recycling Bins for different Categories/Boards?
« Reply #6, on January 27th, 2014, 09:20 PM »
Yeah someone like me will chose
Moderators
Cannot delete (hard delete).
Can soft delete (with admin option to hard delete the already soft deleted posts).
Can restore soft deleted.
We the forum admins will of course have permission to do everything in the forum. We are always in God mode :).

Nao

  • Dadman with a boy
  • Posts: 16,079

Wanchope

  • Posts: 234

Bunstonious

  • Espada
  • Posts: 204
Quote from Random Guy
Not putting miles on your Ferrari is like not having sex with your Girlfriend so she'll be more desirable to her next Boyfriend

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Multiple Recycling Bins for different Categories/Boards?
« Reply #10, on February 4th, 2014, 06:45 PM »
Quote from Wanchope on February 4th, 2014, 12:23 PM
Bump cough, just an innocent reminder...
Well, it's an actual feature to implement, not just a quick tweak, so it's not going to get done overnight...! Unless someone else steps up to do it, of course, but I doubt it..!

This week (and the next?), I'm trying to fix as many bugs as possible, so that I can release a proper public alpha package. A bunch of new features will hopefully come next, then I'll feature-freeze, go beta, fix bugs and do minor tweaks, go RC, fix bugs, and go stable.
That's my schedule...
This feature will probably get into Wedge before I feature-freeze, no worries, but I still have a lot of features I want to do before beta, so it's... kinda complicated.