Activity Stream
48,167 MEMBERS
62983 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 4 of 4
  1.     
    #1
    Member
    Website's:
    forumflare.com

    Default [vBulletin] Simple Search Bar that can be added anywhere you'd like.

    This is a search modification that can be added pretty much anywhere in your templates, I'd recommend maybe in the navbar or in the header like we have over at Elite-Source.

    Screeny:


    Code:
    Code: 
    <form id="searchfunction" style="margin: 0px; padding: 0px;" 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="s" value="$session[sessionhash]" />
    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
    
    <input maxlength="100" name="query" style="border: 1px solid white; color: #0089AF; font-family: Arial, Helvetica, sans-serif; width: 200px; height: 15px; font-size: 11px; font-weight: bold; padding-top: 2px; padding-bottom: 2px; background: #ffffff;" value="" />
    
    <input type="submit" value="Search" name="Search" />
    
    </form>
    Note that you can change the font color in the white by editing this HTML color in the code: #0089AF

    You can also change what the button 'Search' says by editing this:
    <input type="submit" value="Search" name="Search" />
    to for example;
    <input type="submit" value="Search" name="Elite-Search" />
    Exel Reviewed by Exel on . [vBulletin] Simple Search Bar that can be added anywhere you'd like. This is a search modification that can be added pretty much anywhere in your templates, I'd recommend maybe in the navbar or in the header like we have over at Elite-Source. :) Screeny: http://easycaptures.com/fs/uploaded/508/6159329747.png Code: <form id="searchfunction" style="margin: 0px; padding: 0px;" action="search.php?do=process" method="post"> <input type="hidden" name="do" value="process" /> <input type="hidden" name="quicksearch" value="1" /> Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    UmNotaBlogger.com
    Its better to use the place holder attribute rather than "value"...

  4.     
    #3
    Member
    Website's:
    iWarez.com
    Doesnt work on vb4.

    This one works for vb4:
    <form id="searchfunction" style="margin: 0px; padding: 0px;" 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="s" value="{vb:raw session.sessionurl}" />
    <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />

    <input maxlength="100" name="query" style="border: 1px solid white; color: #0089AF; font-family: Arial, Helvetica, sans-serif; width: 200px; height: 15px; font-size: 11px; font-weight: bold; padding-top: 2px; padding-bottom: 2px; background: #ffffff;" value="" />

    <input type="submit" value="Search" name="Search" />

    </form>

  5.     
    #4
    Member
    Website's:
    forumflare.com
    Yeah, sorry.. I use vB3, I hate vB4 with a passion.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Search function added to private messages!
    By Capone in forum News and Announcements
    Replies: 17
    Last Post: 8th Nov 2011, 10:14 AM
  2. [Hiring] Vbulletin Style help [simple job] few $
    By Majky71 in forum Completed Transactions
    Replies: 4
    Last Post: 11th Jul 2011, 06:37 PM
  3. Miolay - A simple music search engine
    By G56Ace in forum Useful Sites
    Replies: 12
    Last Post: 24th Jun 2010, 02:49 PM
  4. [Selling] Simple Skin Black vBulletin
    By Baraka in forum Completed Transactions
    Replies: 2
    Last Post: 3rd Jun 2010, 09:30 PM
  5. Vbulletin Search
    By Raven Faust in forum vBulletin
    Replies: 4
    Last Post: 9th Aug 2009, 07:08 PM

Tags for this Thread

BE SOCIAL