Here's the basic code to do this. There might be a better way (without adding a query) but I really don't feel like chasing down all calls to indexpost() throughout vB.
Add this:
Code:
$getforum = $DB_site->query_first("
SELECT forumid FROM thread
WHERE threadid=$post[threadid]
");
$forumid = $getforum['forumid'];
if ($forumid == 5 or $forumid == 8 or $forumid == 14) {
return;
}
Right after this in functions.php:
Code:
$post=$DB_site->query_first("SELECT postid,threadid,title,pagetext FROM post WHERE postid='$postid'");
Now it won't index posts from forums 5, 8, and 14.