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
Very minor update to v1.21 - fix a small bug when trying to merge posts, but user doesn't select any (fix just hides PHP errors).
Will this be updated for 1.6?
Compatibility info in the download box seems to say it already is.....
It seems to be like it's not?
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));

Where do I throw the edit's in?
inc/class_moderation.php

As said in the first post.
Updated to v1.22:
  • Will now block the class_moderation_delete_thread and class_moderation_delete_post hooks from being executed when soft deleting (note that the class_moderation_delete_thread_start and class_moderation_delete_post_start aren't blocked); the hooks will now only be run when the threads/posts are being purged.  This, hopefully, improves compatibility with some other plugins, mainly XThreads.
  • Some minor fixes for MyBB 1.6; 1.6 has fixed some of the counter bugs that I reported, of which, I haven't had the time to test them all, so I don't know whether this plugin still works with the changes, but from some quick tests, it appears to be fine.  Do note that 1.6 requires a slightly different code edit.
Updated to v1.23, fixes some bugs.
Also realised one of the bug fixes in MyBB probably makes more of a mess of things.
Hi, i have a problem:
http://img176.imageshack.us/img176/3310/problemi.png
I think the problem is that I don't have the column of the Rating..
How can i fix this problem?
Please help me...
Pages: 1 2 3 4 5 6 7 8 9
Reference URL's