View Full Version : New Posts
edirty6
02-25-2009, 04:56 PM
Hi
Is there a way of stopping threads within a specific forum showing up on the 'new posts' search?
Lynne
02-25-2009, 05:01 PM
To exclude forums in the New Posts button, you may add "&exclude=xx" or "&exclude=xx,yy,zz" (separate the forumids by commas) to the end of the New Posts url... ie. "/forums/search.php?do=getnew&exclude=xx" This would normally be in the navbar. I think it occurs in a couple of places there, so you will need to edit each of those urls.
Allnick
02-25-2009, 10:31 PM
Isn't this possible from ACP?
Forum Manager > Edit Forum - Go > Index New Posts in Search Engine
(Setting this to 'No' will prevent anyone from being able to search in this forum)
BSMedia
02-25-2009, 10:39 PM
Isn't this possible from ACP?
Forum Manager > Edit Forum - Go > Index New Posts in Search Engine
(Setting this to 'No' will prevent anyone from being able to search in this forum)
Don't think so, thats a totally different thing I beleive.
1Unreal
02-25-2009, 11:03 PM
What you would have to do is go into the templates and edit the link for new posts.
Open your style go to Navigation / Breadcrumb Templates > navbar
The find:
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
And replace with
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew&exclude=XX" accesskey="2">$vbphrase[new_posts_nav]</a></td>
Replace XX with forum IDs.
Lynne
02-25-2009, 11:16 PM
Isn't this possible from ACP?
Forum Manager > Edit Forum - Go > Index New Posts in Search Engine
(Setting this to 'No' will prevent anyone from being able to search in this forum)
Nope, that option only has to do with whether someone may do a search in that forum, not whether it shows up when you ask for New Posts.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.