That didn't take nearly as long as I thought it would. This is what I did to hide a category from Advanced Search Plus.
I downloaded, carefully merged and installed both the Advanced Search Plus and Hide Categories modules.
Then (after I hid my category per the instructions in the Hide Categories read me) I went into includes/modules/my_custom_template/advanced_search_categories.php and replaced
PHP Code:
$from_str_cat = " from " . TABLE_CATEGORIES_DESCRIPTION . " cd, " . TABLE_CATEGORIES . " c ";
$where_str_cat = " where cd.categories_id = c.categories_id and cd.language_id = '" . (int)$_SESSION['languages_id'] . "'";
on or about line 47 with
PHP Code:
$from_str_cat = " from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd," . TABLE_HIDE_CATEGORIES . " cde ";
$where_str_cat = " where c.categories_id=cd.categories_id and c.categories_id=cde.categories_id and c.parent_id= '0' and cd.language_id='" . (int)$_SESSION['languages_id'] . "' and c.categories_status='1' and cde.visibility_status < 2 OR cde.visibility_status IS NULL " ;
My search results no longer include the hidden categories.