Search like Vbteam.

mojopanel

New Member
Its a simple code...

Code:
<!-- \/Mojopanel\/Search Edit\/-->
<form action="search.php?do=process" method="post" name="vbform" id="searchform" style="display:block; margin:5px">
<input type="hidden" name="s" value="" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthreadid" value="" /> 
<input type="text" class="bginput" name="query" size="36" tabindex="1001" value="To search, just type and hit enter." onfocus="value='';"/></form> 
<!-- \/Mojopanel\/Search Edit\/-->

See just add that any where you want, so you can have the same search box as vbteam.
 

mojopanel

New Member
any where.. it up to you..

Like in the nav bar, "PM" info section.

Find:
Code:
<strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />

Add Above:
Code:
<!-- \/Mojopanel\/Search Edit\/-->
<form action="search.php?do=process" method="post" name="vbform" id="searchform" style="display:block; margin:5px">
<input type="hidden" name="s" value="" />
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="do" value="process" />
<input type="hidden" name="searchthreadid" value="" /> 
<input type="text" class="bginput" name="query" [color=DarkRed]size="36"[/color] tabindex="1001" value="To search, just type and hit enter." onfocus="value='';"/></form> 
<!-- \/Mojopanel\/Search Edit\/-->

And change the red bit to change the width of the box.
 

h@ck3r

New Member
mojopanel said:
Any one use this?

Yes I'm using this search box, and also the tabs that VBTeam are using.

I got both codes from this forum. Looks great and works like a charm :)
 

h@ck3r

New Member
TheProphet said:
Im not, but if you can make a "advanced" option i will.
Now i have to type www.vbteam.info/search.php everytime.

Below the search box, you can add a link (Like on eBay) saying 'Advanced search'. This is what I have done.

Or, like wth VBTeam, just type in the search box something stupid like 'iuhihirf' an hit enter. You will then be taken to the advanced search page- yoursite.com/search.php
 
Top