Exclude forums from What's New (getnew/getdaily)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    Exclude forums from What's New (getnew/getdaily)

    To exclude specific forums from showing up in getnew/getdaily you can make the following changes in your navbar template:


    For getnew (logged in users) Find x4 :
    Code:
    href="search.php?{vb:raw session.sessionurl}do=getnew&contenttype=vBForum_Post"
    Change to:
    Code:
    href="search.php?{vb:raw session.sessionurl}do=getnew[color=red]&exclude=[/color][color=blue]X,Y,Z[/color]&contenttype=vBForum_Post"
    For getdaily (guests) Find x4:
    Code:
    href="search.php?{vb:raw session.sessionurl}do=getdaily&contenttype=vBForum_Post"
    Change to:
    Code:
    href="search.php?{vb:raw session.sessionurl}do=getdaily[color=red]&exclude=[/color][color=blue]X,Y,Z[/color]&contenttype=vBForum_Post"
    Replaxe X Y and Z with the specific forum ids you want to replace. If you only have one it should look like &exclude=X. If you have 10, it would look like: &exclude=X,Y,Z,A,B,C,D,E,F,G

    So for example to exclude the testing and chit chat forums here on vBulletin.com we would use the following url:

    Code:
    [noparse]http://www.vbulletin.com/forum/search.php?do=getnew[/noparse][color=red]&exclude=[/color][color=blue]15,6[/color][noparse]&contenttype=vBForum_Post[/noparse]
    Chit Chat and Testing forums excluded

Related Topics

Collapse

Working...