The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi there,
I am creating the header template from scratch, as in my own DIV tags and my own code, and I am placing the nessesary vBulletin code inside this. I have copied the code from the search bar and created my own custom bar that resides in the "header" template, but when I search it tells me: Code:
Please add more constraints to your search. Searches that return all or most of the database are a bad idea. Here is my code: Code:
<div id="search-composition">
<form action="search.php?{vb:raw session.sessionurl}do=process" method="post" id="navbar_search">
<vb:comment><input type="hidden" name="s" value="{vb:raw session.sessionurl}" /></vb:comment>
<input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<input type="hidden" name="do" value="process" />
<input name="search" type="text" class="searchbar" id="search" placeholder="What are you looking for?" />
<div id="searchbutton"><input type="image" class="searchbutton" src="/images/subtwo/search.png" name="submit" onclick="document.getElementById('navbar_search').submit;" tabindex="100"></div>
</form>
</div>
--------------- Added [DATE]1345422854[/DATE] at [TIME]1345422854[/TIME] --------------- Ok after going through the code a few times I realised that the name attribute of the search box was name="search" when it should be name="query". |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|