MyBB Hacks

Full Version: Latest Threads In Profile
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Maybe try this.
Find:

PHP Code:
		foreach($GLOBALS['forum_cache'] as $fck => $fcval){
			if($fcval['active'] == 0){
				if($mnuplrt_notactive) $mnuplrt_notactive .= ',';
				$mnuplrt_notactive .= intval($fcval['fid']);
			}
		}

Replace with:

PHP Code:
$mnuplrt_notactive = get_inactive_forums();


Untested.

(11-30-2011 02:09 PM)ZiNgA BuRgA Wrote: [ -> ]Maybe try this.
Find:

PHP Code:
		foreach($GLOBALS['forum_cache'] as $fck => $fcval){
			if($fcval['active'] == 0){
				if($mnuplrt_notactive) $mnuplrt_notactive .= ',';
				$mnuplrt_notactive .= intval($fcval['fid']);
			}
		}

Replace with:

PHP Code:
$mnuplrt_notactive = get_inactive_forums();


Untested.


Yep, that does the trick, thanks.
Thanks, Sama34 and Yumi Smile
I've updated the first post.
Pages: 1 2
Reference URL's