MyBB Hacks

Full Version: Duplicates checkboxes.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can somebody check out this please?
http://community.mybb.com/thread-115235.html
Is this because it's conflicting with XThreads?
I see, know of some fix for this?
Try this, replace in inc/xthreads/xt_admin.php

PHP Code:
			$fixcode = 'call_user_func_array(array($this, "output_row"), $GLOBALS[\'xt_fc_args\']);';

with

PHP Code:
			$fixcode = '
				// need to disable hooks temporarily to prevent other plugins running twice
				$hooks =& $GLOBALS[\'plugins\']->hooks[\'admin_formcontainer_output_row\'];
				$hooks_copy = $hooks;
				$hooks = array();
				call_user_func_array(array($this, "output_row"), $GLOBALS[\'xt_fc_args\']);
				$hooks = $hooks_copy;
			';

Reference URL's