The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to exclude a forum or user from searches? RSS
For the purpose of RSS feeds, I want to exclude a forum(s) or user from showing up when people search the forums or do a New Posts, etc.
How? |
#2
|
|||
|
|||
Forums and Moderators - Edit Forum - Set "Index New Posts in Search Engine" to No.
|
#3
|
|||
|
|||
I thought there was something else, because that isn't working for me. I have it set to no, and rebuilt the search index... the posts were still showing up.
|
#4
|
||||
|
||||
Turning off that option will only suppress the forum threads from appearing when doing a "Search" function (eg: the drop-down box or Advanced Search), not when doing a New Posts command.
Try creating a new plugin with a hook location of "search_start" with the following command... Code:
$_REQUEST['exclude'] .= ',17'; |
#5
|
|||
|
|||
KW802, that worked, wow... that was so easy, I wish I knew more about the programming behind vB.
You should make this a product where people can exclude forums via the AdminCP... |
#6
|
||||
|
||||
Quote:
Quote:
|
#7
|
|||
|
|||
Alright well, I'm about to make it a little more complex.
Can it be re-worked, so that instead of ignoring a whole forum(s)... it instead ignores threads IN those forums IF they don't have replies. So like... if forums = (x,y,x) and thread replies = 0 ignore |
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
Exactly what I need, thanks Kevin.
|
#10
|
|||
|
|||
Thanks, this worked great!
One more problem, the posts still appear in the "recent threads". Any ideas how to exclude? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|