Search Function

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

  1. Nick

    Nick Regular Member

    7,441
    218
    458
    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

    1,264
    39
    404
    Thanks Nick! :D

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

    Tyler The Badministrator

    3,079
    63
    694
    Let us know how it worked (I'd like to see it in action on your forum). :)
     
  4. ArnyVee

    ArnyVee Regular Member

    1,264
    39
    404
  5. Tyler

    Tyler The Badministrator

    3,079
    63
    694
    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

    7,441
    218
    458
    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

    393
    13
    104

Share This Page