okay, the answer is in the forum_group.
Put your forums in a forum_group and set their sort order accordingly in the database table called minibbtable_forums. put all your related forums in the same forum_group.
Then, magically, it will appear.
If you have a problem in your version (which I did) whereby the forum_group name appeared above each and every forum, you need to change the file bb_func_vforum.php and add the following code:
$doneArr = array();
............. the sixth field in the selection loop is the forum_group, so......
if ($cols[6]!=''){
if (in_array($cols[6], $doneArr)) { // if we have already shown the template for the forum_group
if ($debug) echo "in_array doneArr<br>"; // do nothing
} else {
array_push($doneArr, $cols[6]);
$list_forums.=ParseTpl(makeUp('main_forumgroup')); // parse template which presents forum_gruop as a header inthe forum listing
}
$keyAr++;
}
that's it, as far as i can see.
PROBLEM SOLVED. |