MyBB Community Forums

Full Version: Removing
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
<if !in_array($forum['fid'], array(1,2,3)) then>
{$subforums}
</if>

Chande 1,2,3 to forum ids.

@down, how is that better? It will get lost during update which changes functions_forumlist.php, unless you use another plugin - Patches.
Perhaps a better way of doing it WITHOUT the plugin would be (Not checked xD)

Open: functions_forumlist.php

Find the line:
eval("\$forum_list .= \"".$templates->get("forumbit_depth3", 1, 0)."\";");

Replacing with:
					// Fetch the template and append it to the list
					if (!in_array($forum['fid'], array(x,y,z)))
					 {
					   eval("\$forum_list .= \"".$templates->get("forumbit_depth3", 1, 0)."\";");
					 }
					else 
					 {
					  // Do nothing, lol
					 }

Dont forget to change x,y,z Big Grin
Thanks.
Pages: 1 2