View Full Version : Removing certain forums from 'New Posts'
josh_B
01-11-2007, 08:54 PM
I have one particular part of the forum which is a very high post ratio. Is it possible to remove this section from being displayed in 'New Posts'
TIA!
sebbe
01-11-2007, 09:13 PM
Inside Forum Manager you can disable "Index New Posts in Search Engine" per forum basis but that will also prevent users from searching in that forum.
The easy way to do this is just a simple modification to the new post link.
You can pass a list of forumids you want excluded from the new post search by using a link like this one;
http://www.forum.com/search.php?do=getnew&exclude=1
The above link would return all new posts except for posts listed in the forum that is forumid number 1.
You can also pass multiple forumids like so;
http://www.forum.com/search.php?do=getnew&exclude=1,2,3,4,5
josh_B
01-12-2007, 05:38 AM
The easy way to do this is just a simple modification to the new post link.
You can pass a list of forumids you want excluded from the new post search by using a link like this one;
http://www.forum.com/search.php?do=getnew&exclude=1
The above link would return all new posts except for posts listed in the forum that is forumid number 1.
You can also pass multiple forumids like so;
http://www.forum.com/search.php?do=getnew&exclude=1,2,3,4,5
Where would that be inserted?
I have used sebbe's idea at the moment, so thanks for that :) Would like to be able to exlcude from the new post rather than stop the search function altogether..
Thanks for your time..
sebbe
01-12-2007, 09:44 AM
I didn't know about the exclude, nice! :)
Josh, in the navbar template find this
<a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a>
and replace with this
<a href="search.php?$session[sessionurl]do=getnew&exclude=XX,XX,XX" accesskey="2">$vbphrase[new_posts_nav]</a>
Don't forget to change XX,XX,XX to the forums you want excluded.
josh_B
01-12-2007, 12:43 PM
Thanks sebbe, lets see if I can break this like I do most things ;)
phaized
01-29-2007, 01:38 PM
Just came across this, as i was about to ask the same question.
Thanks for the information. :)
plugplay
03-08-2007, 04:18 PM
Is there any way to do it based on a user rather than a forum? I have RSS feeds into many forums and would find it easier to remove the user from the list.
cyberphr
03-08-2007, 04:25 PM
The easy way to do this is just a simple modification to the new post link.
You can pass a list of forumids you want excluded from the new post search by using a link like this one;
http://www.forum.com/search.php?do=getnew&exclude=1
The above link would return all new posts except for posts listed in the forum that is forumid number 1.
You can also pass multiple forumids like so;
http://www.forum.com/search.php?do=getnew&exclude=1,2,3,4,5
A user could simply remove "&exclude", and view results from all forums...
Belgrael
12-29-2008, 01:16 AM
This is really helpful but can someone tell me, if a parent forum is excluded does this cover the child forums or do they need to be specifically excluded as well?
Thanks.
EDIT: I have found the parent forum does not implicitly cover the child forums as well. Each forum has to be specifically excluded.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.