View Full Version : Hide a forum from "What's New?"
GONUMBER6
08-06-2010, 04:04 AM
Can I filter a particular forum from showing up in the 'What's New?' section?
Thanks in advance!
Lynne
08-06-2010, 02:20 PM
To exclude forums in the What's New button, you may add "&exclude=xx" or "&exclude=xx,yy,zz" (separate the forumids by commas) to the end of the What's New search link in the template.
lemonadesoda
08-06-2010, 07:28 PM
Thanks for the useful tip. Could you also mention which template needs to be edited? Thanks.
Lynne, how do we get the What's New? search to show up like vB3 which is Recent including said users own posts?
combs
08-13-2010, 09:20 PM
I'd appreciate an answer to this as well, I understand the first part. I just don't see where to add the code to the what's new search link...how do you edit that template?
carrlos
08-14-2010, 11:27 PM
Bump
sross
08-14-2010, 11:32 PM
There was a "selective forum filter" mod in 3.8 that was brilliant. Gave users the option to turn off forums in their usercp. No one has ported it to 4.x yet though :(
Lynne
08-15-2010, 03:10 AM
Sorry, yes this would be in the navbar template. You find the search link (in several places):
<a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_P ost">
And then add "&exclude=xx" or "&exclude=xx,yy,zz" (separate the forumids by commas) to the end of the url.
carrlos
08-15-2010, 03:37 AM
Sorry, yes this would be in the navbar template. You find the search link (in several places):
<a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_P ost">
And then add "&exclude=xx" or "&exclude=xx,yy,zz" (separate the forumids by commas) to the end of the url.
Thanks Lynne! This is great! To confirm, it should look like this (for one forum):
<a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_P ost&exclude=xx">
Edit:
It worked, thanks! ;)
chriske
08-23-2010, 10:09 PM
Thanks for this topic, gonna try it out :)
I wish this could be customized in the admin panel by adding forum numbers :D
lycheepassion
12-12-2010, 04:11 PM
I did this but it's not working! :( V 4.1 pl2
Conehead555
12-14-2010, 04:20 PM
Doesn't the 'include in searches yes-no option' in Forum Manager cover this?
Remember an Administrator sees everything, you need to log into your testUser to see what members see and log out to see what guests see.
juscampin
01-30-2012, 08:17 PM
EDIT: It's working. I just needed to include &exclude=80 in more places within the template.
I just tried this on mine and it's not working either. Has something changed in the latest update?
This is my line of code in the navbar template:
<a href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_P ost&exclude=80">{vb:rawphrase new_posts_nav}</a>
I found that in 2 different places in that template. Did I miss something?
Thanks,
Jim
nerbert
01-30-2012, 11:01 PM
There was a "selective forum filter" mod in 3.8 that was brilliant. Gave users the option to turn off forums in their usercp. No one has ported it to 4.x yet though :(
https://vborg.vbsupport.ru/showthread.php?t=272375
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.