The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Extra forum option to...
...exclude a forum from the search indexing? Wayne at vB.com said it is very easy, so I'm crossing my fingers
|
#2
|
||||
|
||||
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; } Code:
$post=$DB_site->query_first("SELECT postid,threadid,title,pagetext FROM post WHERE postid='$postid'"); |
#3
|
|||
|
|||
Cool I was hoping for a more graceful way, i.e., assigning forum IDs through the admin CP, but what can ya do
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|