How do i exclude a forum id in search button?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lottis
    Senior Member
    • Jun 2004
    • 153
    • 3.6.x

    How do i exclude a forum id in search button?

    <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><img src="imageURLgoeshere" alt="Search" /></a></td>

    This is the code i got to make a search button. (thanx Tyler)
    But can anyone help me make the code exklude a sertain forum id?
    And how do i make it go in feks the right corner?
  • Marco van Herwaarden
    Senior Member
    • Nov 2004
    • 6999
    • 3.8.x

    #2
    You can add an exclude for getnew and getdaily like:
    Code:
    "search.php?$session[sessionurl]do=getnew[B]?exclude=1,2,3[/B]"
    where 1,2,3 is the list of forumids to exclude.
    Want to take your board beyond the standard vBulletin features?
    Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

    Comment

    • Lottis
      Senior Member
      • Jun 2004
      • 153
      • 3.6.x

      #3
      Originally posted by MarcoH64
      You can add an exclude for getnew and getdaily like:
      Code:
      "search.php?$session[sessionurl]do=getnew[B]?exclude=1,2,3[/B]"
      where 1,2,3 is the list of forumids to exclude.
      Thank you very mutch. Il try this out.
      Not everyone is happy fore a christmas forum.

      Comment

      • Lottis
        Senior Member
        • Jun 2004
        • 153
        • 3.6.x

        #4
        <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew?exclude=46" accesskey="2"><img src="images/search.gif" alt="Nye innlegg" /></a></td>

        This dident do the trick.;(

        Comment

        • Marco van Herwaarden
          Senior Member
          • Nov 2004
          • 6999
          • 3.8.x

          #5
          Oops my mistake, replace the ? by a &
          Want to take your board beyond the standard vBulletin features?
          Visit the official Member to Member support site for vBulletin Modifications: www.vbulletin.org

          Comment

          • Lottis
            Senior Member
            • Jun 2004
            • 153
            • 3.6.x

            #6
            Thanx again, Marco.

            Comment

            widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
            Working...