Boofo; I just had a go at doing this for vb 3.5 and it worked
add a
new plugin in the hook:
search_process_start
use this code, very little change in the code.
PHP Code:
if ($exclude)
{
$zzzz_notforumchoice = "";
$zzzz_excludelist = explode(',', $exclude);
foreach ($zzzz_excludelist AS $zzzz_key => $zzzz_excludeid)
{
$zzzz_notforumchoice .= intval($zzzz_excludeid).",";
}
$zzzz_notforumchoice = substr($zzzz_notforumchoice,0,-1);
if ($showposts)
{
$post_query_logic[] = "thread.forumid NOT IN ($zzzz_notforumchoice)";
}
else
{
$thread_query_logic[] = "thread.forumid NOT IN ($zzzz_notforumchoice)";
}
}
then use exclude e.g. search.php?do=process&replyless=1&replylimit=0&day s=7&dontcache=1&searchdate=7&exclude=22,70,71,72
where the numbers are the forums you want to exclude.