Search Function

Discussion in 'Community Forum Software' started by Nick, May 29, 2009.

  1. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    We use this code (which should work for any vB forum):
    Code:
    <td class="vbmenu_control" align="right"><form action="search.php?do=process" method="post">
    <input type="hidden" name="do" value="process" /><input type="hidden" name="quicksearch" value="1" /><input type="hidden" name="childforums" value="1" /><input type="hidden" name="exactname" value="1" /><input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /><div><input type="text" class="bginput" name="query" tabindex="1001" size="30" /> <input type="submit" id="searchsubmit" value="Search" tabindex="1004" /></div></form></td>
     
  2. ArnyVee

    ArnyVee Regular Member

    Joined:
    May 25, 2009
    Messages:
    1,264
    Likes Received:
    39
    Thanks Nick! :D

    I'm going to try that out tomorrow on the site. :)
     
  3. Tyler

    Tyler The Badministrator

    Joined:
    Dec 23, 2007
    Messages:
    3,079
    Likes Received:
    63
    Location:
    Long Island, NY
    First Name:
    Tyler
    Let us know how it worked (I'd like to see it in action on your forum). :)
     
  4. ArnyVee

    ArnyVee Regular Member

    Joined:
    May 25, 2009
    Messages:
    1,264
    Likes Received:
    39
  5. Tyler

    Tyler The Badministrator

    Joined:
    Dec 23, 2007
    Messages:
    3,079
    Likes Received:
    63
    Location:
    Long Island, NY
    First Name:
    Tyler
    You could put it on the right side of your navigation bar like we have it, but because that is a mod I'm not sure how easy it would be to add the code to it (I've never used that mod).
     
  6. Nick

    Nick Regular Member

    Joined:
    Jul 27, 2008
    Messages:
    7,441
    Likes Received:
    218
    Arny, I think if you were to remove a few pixels from the spacer between each navbar item, you might be able to squeeze it in at the end.
     
  7. Vekseid

    Vekseid Regular Member

    Joined:
    Jun 2, 2009
    Messages:
    393
    Likes Received:
    13

Share This Page