PDA

View Full Version : Exclude forums from get new and daily


KBV
01-19-2006, 09:49 AM
I know there are two mods on this board that do this, but I don't want the user to be able to choice which ones. I want it to be an admin option where the admin can make a forum not show up in "Get New Posts" and "Daily Posts".

Anyone?

Thank you. :)

Andreas
01-19-2006, 10:32 AM
search_getnew_start

$vbulletin->GPC['exclude'] .= ',X,X,Z';


Where X, Y and Z are the forumids you want to exclude.
If you want a more versatile solution (eg. setting in forum manger) this will require a new field in forum table and at least one more plugin.
(Or you would have to hijack forumoptions, which is not recommended)

KBV
01-20-2006, 10:32 AM
I'm dumb as a rock. I can't find search_getnew_start :P Also, where exactly do I place it.

P.S. We made these msg at the same time a day apart. :P

peterska2
01-20-2006, 10:59 AM
It's a hook location. Do it via your plugin manager > Add new plugin.

KBV
01-20-2006, 01:32 PM
Thank you, works like a charm! <3

JohnBee
11-24-2006, 04:17 PM
Thanks for this! excellent little addon. thumbsup!

GameWizard
11-29-2006, 08:12 AM
Is there anyway to actually make this work the other way around, but this I mean rather than excluding specific forums, could we use an 'include' command to specify specifically which boards to appear on the getnew / getdaily pages?

The reason I ask this is because I have a large amount of forums, over 400 and I require this to be setup in order for each subsection in my forum to filter the new posts for that section only, rather than the board as a whole.

PiotrasG
02-14-2007, 06:23 PM
thank you works great, now i wont have new post from rss feed forums :)