MyBB Hacks

Full Version: Soft Delete
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
I have tried so many plugins like this, undo-delete, trashcan etc etc

The biggest problem is ALWAYS that I cannot see who deleted WHAT the only thing I can see is the posts that have been deleted and in the inbuilt ModCP I can also only see "this post has been deleted by..." but I cannot actually see the post that have been deleted to determine if the delete was legit or not.

This is a huge problem for me who got 6 moderators on my forum when people say that someone have deleted their post for the wrong reasons.

Any suggestions?
Unfortunately it doesn't record that, however, you can see who deleted a thread via moderator logs.
If those are too much to go through, you can try filtering it on the thread (undelete the thread, in the Moderation Options listbox at the bottom of the showthread page, go Edit/View Thread Notes, and it shows the moderation history of the thread there).

I might think about writing who deleted a thread somewhere.
Hi and thanks for your reply Jap

I really hope you do write something for that sometime in the future, and I'll try to stick around here for that.

I think it's a huge problem, I wanna see if my mods do a great job or not. And if 2 moderators delete 2 posts in the same thread, one that's spam and one that's really great but that particular mod doesn't like I cannot see which one of the mods that have abused.
As I somewhat suspected, this may be an issue with delayed moderation.  There doesn't appear to be any easy way to retrieve who initiated a delayed moderation event unfortunately.
Maybe I could just ignore delayed moderation so that it won't record the user.
Hey Zinga, using your plugin for a few weeks now, works great

THere's only one problem, if i delete the post - undelete it and then tries to delete it again I come to a page saying I don't have any privileges to do so, even tho I'm Admin.
Did you perform the required code edit?
(02-01-2011 08:30 PM)ZiNgA BuRgA Wrote: [ -> ]Did you perform the required code edit?

Yes
Sorry, forgot to ask - I presume you did the code edit before you deleted/undeleted anything, right?

Also, is the thread itself (which contains the post) approved or unapproved?

Thanks.
(08-27-2010 08:56 AM)ZiNgA BuRgA Wrote: [ -> ]It was tested against the beta.  I haven't looked at whether it works on MyBB 1.6 final.  I assume you have?  If so, what issues are there?

EDIT: appears to work on MyBB 1.6.0 final, though I haven't tested everything.  Do note that the location of the code edit has changed:
find FIRST INSTANCE of:

PHP Code:
			if($post['threadvisible'] != 0)
			{
				++$forum_counters[$post['fid']]['num_posts'];
			}

add after:

PHP Code:
if(function_exists('softdeletex_approveposts')) eval(softdeletex_approveposts($post));


Sorry, I am a little unclear.  For 1.6 the code is added inside the conditional or not? As I read this insert instruction, it seems to be indicating outside the "$post['threadvisible'] != 0" conditional.  The instructions in the OP for 1.4 though make it look like it would be inside the conditional.
Sorry about that.  Yes, outside the conditional.  In 1.4, there is no such conditional.

Hope that helps.
Pages: 1 2 3 4 5 6 7 8 9
Reference URL's