1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 How to exclude certain forums from a new posts search?

Discussion in 'XenForo Questions and Support' started by Stuart Wright, Jan 19, 2014.

  1. Stuart Wright

    Stuart Wright Well-Known Member

    In vb it used to be forums/search.php?do=getnew&exclude=1,2,3
    Where 1,2,3 are the forum ids to exclude.

    Is this possible in XF?
     
  2. Amaury

    Amaury Well-Known Member

    Admin CP > Applications > Display Node Tree > [Your Forum] > Forum Options
     
  3. AndyB

    AndyB Well-Known Member

    Admin CP > Applications > Display Node Tree > [Your Forum] > Forum Options > Include threads from this forum when users click "New Posts" > Uncheck
     
  4. Stuart Wright

    Stuart Wright Well-Known Member

    Thanks chaps, but I'm needing users to be able to create their own searches whenever they like simply by changing the forum ids in the URL.
     
  5. Jeremy

    Jeremy XenForo Moderator Staff Member

    XenForo doesn't exclude URLs, but you can create URLs with node IDs to include. You would need an add-on to accomplish exclusion.
     
  6. Ludachris

    Ludachris Well-Known Member

    Just for clarification, does unchecking the box to include threads in New Posts remove the node's threads from all search results or just the New Posts results? What I'm after is a way to exclude a forum from all of the main (mass) search results, yet, still maintain a search feature while browsing that forum.
     
  7. Ludachris

    Ludachris Well-Known Member

    Anyone have an answer to this?
     
  8. Mike

    Mike XenForo Developer Staff Member

    It relates only to "find new" activities. Unrelated to search.
     
  9. Ludachris

    Ludachris Well-Known Member

    Perfect, thanks.
     
  10. okhello

    okhello Member

  11. Andrej

    Andrej Well-Known Member

    Thomas.B and okhello like this.
  12. viper357

    viper357 Active Member

    How can I do this? I want to create a link in the navbar that will search only 4 particular forums for new posts? Thanks. :)
     

Share This Page