Duplicates checkboxes.
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #1
Duplicates checkboxes.
Can somebody check out this please?
http://community.mybb.com/thread-115235.html

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
03-24-2012 11:02 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Duplicates checkboxes.
Is this because it's conflicting with XThreads?

My Blog
03-25-2012 09:21 PM
Find all posts by this user Quote this message in a reply
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #3
RE: Duplicates checkboxes.
I see, know of some fix for this?

Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 03-29-2012 01:18 PM by Sama34.)
03-29-2012 01:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: Duplicates checkboxes.
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:
1
2
3
4
5
6
7
8
			$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;
			';


My Blog
03-30-2012 12:30 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: