I did exactly that a few days ago, made all forums in one given category not show up on the main index, unless that category was specifically specified in the Cat variable.
This works only for UBB.threads 6.1.x, since there has been some changes in 6.2.x, but I don't think it would be too hard to update it.
Find the following in ubbthreads.php:
<br />// ------------------------------------<br />// Are we just looking at one category?<br /> $catsonly = $user['U_FrontPage'];<br /> $main = "ubbthreads";<br /> if ($config['catsonly']) {<br /> $main = "categories";<br /> }<br /> if (!$catsonly) {<br /> $catsonly = $main;<br /> }<br /> if ( ($C) && ($catsonly == "categories") ) {<br /> $catonly = "WHERE Cat_Number = '$C'";<br /> }<br />ADD the following below:
<br />// -------------------------------------------------------<br />// Hack: Don't show category unless specifically asked for<br /> $catarr = split(",", $Cat);<br /> if ( !in_array(5, $catarr) ) {<br /> if ( !$catonly ) {<br /> $catonly = "WHERE";<br /> } else {<br /> $catonly .= " AND";<br /> }<br /> $catonly .= " Cat_Number <> 5";<br /> }<br />Just change the "5" to the category number you don't want displayed on the main index.