The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
We have some forums on out website that often contain caustic content re: politics religion etc) that I'd like to exclude from the "Get Daily" results to folks visiting our forums who are not logged in.
I'm running 3.8.4 - any hints on how to best modify search.php in 3.8.4 to exclude certain forums? thanks in advance. or should I exclude these forums altogether from guests via the admin control panel? |
|
#2
|
|||
|
|||
|
You could try something like this: create a new plugin using hook location search_getnew_start and code like this:
Code:
if (empty($vbulletin->GPC['exclude']))
{
$vbulletin->GPC['exclude'] = '1,2,3';
}
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|