View Full Version : Vbulletin.org Homepage Search field?
carlitosz
12-11-2003, 04:55 PM
Can anybody tell me how to add a search fild like that to me site?
Xenon
12-11-2003, 06:06 PM
it's just an input form which redirects to search.php
look into the search templates to see how the form looks :)
carlitosz
12-11-2003, 07:41 PM
I have no clue how to do it and I really wanted since most of the users on my forums just search
Just insert code similar to this :
<form action="search.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="text" class="bginput" name="query" size="18">
</form>
somewhere within your html or php page where you want to have the search box.
You have to format it to fit it into your page though.
Hope this helps :)
carlitosz
12-12-2003, 01:11 PM
its working but what is doing is sending me to the search.php page with the input already submitted. How can I make it to search when they hit enter?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.