Is Admin Post Edit Broken in 1.4.13 ?
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #7
RE: Is Admin Post Edit Broken in 1.4.13 ?
Hmm, I think later versions of MyBB might've moved one of the editpost hooks, which breaks the plugin.

See if this fixes it - open up the plugin file, and find:

PHP Code:
global $templates, $post, $adminopt, $theme;

Add below:

PHP Code:
	if(!$post['pid']) {
		$pid = intval($mybb->input['pid']);
		if($pid) $post = get_post($pid);
		if(!$post['pid']) return;
	}


See if that helps.


My Blog
06-07-2010 11:00 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
RE: Is Admin Post Edit Broken in 1.4.13 ? - ZiNgA BuRgA - 06-07-2010 11:00 PM

 Standard Tools
Forum Jump: