![]() |
Navbar Search Form/Input Box
Updated version of my older mod here, fixed for the new security token feature.
This is a quick template mod that roughly emulates the search box here at vB.org, without the forum select dropdown. I saw a few mods somewhat like it but none with the input box, and like many people here once vB.org released the new skin, I had to have the search box. So after a bit of coding and hacking around, here's the way I did it. Note that simply clicking the search button with no query will bring you to the default search page. Time to Install: 2 Minutes Difficulty: Easy Template Mods: 1 Demo: http://www.sevenstring.org Login: guest/guest (unregistered search is disabled) AdminCP -> Style Manager -> Edit Templates -> navbar Find: Code:
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> Code:
<!-- Search Box --> Optional: Remove the old search link from your navbar. Simply comment out the search text, like so. I'm sure there's a better way to accomplish this, but that's how I pull it off on my site. Any input appreciated. Code:
<!-- $vbphrase[search] --> This will be considered beta until I have it running with 3.7 for awhile to ensure there are no other hidden issues. |
Just installed, and I wanted to note that the link for 'form action' has to be updated to reflect your own forums URL. Other than that, great job!
|
installed.
|
installed Thanks:up:
|
nice mod. Is it possible to put also a second box that does the tag search?
|
Thank you very much :)
|
thanks so much :D
|
Thanks, addded this to my sidebar :)
|
|
https://vborg.vbsupport.ru/
Having this problem, How do i get rid of that arrow No problem, fxied it |
How come I didnt get a little arrow to do the advance search?:p
|
Quote:
|
Nice mod, Install!
but how change method="post" to "only titles"? |
:)Installed thank you very good
|
very nice, worked on 3.7.4 with no problem, if there is a way a text saying search in side and as soon your mouse hit the box make it clear ? that type the search ?
|
Quote:
Quote:
Original: Code:
<a style="text-decoration:none" href="search.php" accesskey="4" rel="nofollow" id="navbar_search" class=""></a> Code:
<a style="text-decoration:none" href="search.php" accesskey="4" rel="nofollow" id="navbar_search2" class=""></a> |
All times are GMT. The time now is 05:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|