I have a few boards that are only for some member groups.. But this goes for one board at a time, so you'll get a lot of cat-bars on your boardindex if you're an admin/gm.
Here's the fix

, It'll hide the cat-bar, but will display the boards if you put 'HIDE' in front of your cat-name. For example 'HIDEAdmins Only' or 'HIDE My Board'
in Boardindex.php search for:
echo "<tr> <td colspan=\"3\" class=\"catbg\" height=\"18\">\n";
echo "<a name=\"$row_board[ID_CAT]\"><b>$row_board[catName]</b></a></td>\n</tr>\n";
And put before it:
if(substr($row_board[catName], 0, 4) != 'HIDE') {
And After It:
}
If you have Collapsable YaBB Installed: (Already Collapsed cat's will look completely hidden !)
search for (Boardindex.php)
if ($allowcollapsemod)
{
if ( $modSettings['showcollapsedicons'] )
$caticon = "<img src=\"$imagesdir/collapsed_none.gif\" alt=\"$txt[334]\"> ";
else
$caticon = '';
$newpost = false;
$newicon = '';
Add before:
if(substr($row_board[catName], 0, 4) != 'HIDE') {
Search for:
else
{
echo "<tr> <td colspan=\"3\" class=\"catbg\" height=\"18\">\n";
echo "<a name=\"$row_board[ID_CAT]\"><b>$row_board[catName]</b></a></td>\n</tr>\n";
}
And add After:
}
Have fun
