The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Advanced Quick Search form like vBulletin.org Details »» | |||||||||||||||||||||||||||
Advanced Quick Search form like vBulletin.org
Developer Last Online: Nov 2023
1. This is a search form similar to what you see at this forum (screenshot above) that includes searching by forums, all posts, titles only with a quick menu. 2. It includes quick tag search as well, if you want. Just remove comments to enable it. 3. Under Search Options, you'll find Code:
My Posts My Threads New Posts Today's Posts Unanswered Threads Advanced Search 4. XHTML valid 5. It would be convenient and easiest if we simply place the code in Ad Location Templates -> ad_header_logo template (if you're not using it for ad purposes ofcourse and the spot is free) OR find this in header template:- Code:
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if> and replace the code in red with the below code. HTML Code:
<if condition="$show['searchbuttons']"> <!-- header quick search form --> <form 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="exactname" value="1" /> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <div><input type="text" name="query" size="30" style="font-size: 8pt;" /> <select name="forumchoice[]"> <option value="-1" selected="selected">All Forums</option> <option value="1">Forum1</option> <option value="2">Forum2</option> <option value="3">Forum3</option> </select> <select name="titleonly"> <option value="0" selected="selected">All Posts</option> <option value="1" >Titles Only</option> </select><input name="search" value="Search" type="submit" class="button" /><a href="search.php" accesskey="4" rel="nofollow" id="navbar_search1" class=""><img src="$stylevar[imgdir_misc]/menu_open.gif" alt="" title="Advanced Search" border="0" /></a> <script type="text/javascript"> vbmenu_register("navbar_search1",1); </script> </div> </form> <!-- <br /> <form action="tags.php" method="get"> <span id="tag_wrapper"><input type="text" id="tag_input" name="tag" size="25" style="font-size: 8pt" value="enter tag, and hit enter" onFocus="this.value=''" onBlur="this.value='enter tag, and hit enter'"/></span> </form> --> <div class="vbmenu_popup" id="navbar_search1_menu" style="display:none"> <table cellpadding="4" cellspacing="1" border="0"> <tr><td class="thead" align="left">Search Options</td></tr> <tr><td class="vbmenu_option" align="left"><a href="search.php?$session[sessionurl]do=finduser&u=$bbuserinfo[userid]" rel="nofollow">My Posts</a></td></tr> <tr><td class="vbmenu_option" align="left"><a href="search.php?$session[sessionurl]do=process&showposts=0&starteronly=1&exactname=1&searchuser=$bbuserinfo[username]" rel="nofollow">My Threads</a></td></tr> <tr><td class="vbmenu_option" align="left"><a href="search.php?$session[sessionurl]do=getnew" rel="nofollow">New Posts</a></td></tr> <tr><td class="vbmenu_option" align="left"><a href="search.php?$session[sessionurl]do=getdaily" rel="nofollow">Today's Posts</a></td></tr> <tr><td class="vbmenu_option" align="left"><a href="search.php?$session[sessionurl]do=process&replyless=1&replylimit=0&exclude=30&nocache=1" rel="nofollow">Unanswered Threads</a></td></tr> <tr><td class="vbmenu_option" align="left"><a href="search.php$session[sessionurl]" accesskey="4" rel="nofollow">Advanced Search</a></td></tr> </table> </div> <!-- / header quick search form --> </if> 6. To add searching within forums, simply find Forum1, Forum2 in the above code and replace them with your forum title and corresponding FORUM ID's in place of option values. Extras:- 1. To enable quick tag search:- Simply uncomment the second form after first instance of </form>. Ofcourse position it, style it as you like. 2. You would notice a Javascript effect in tag search form where there is no submit button and a hint text on focus and blur is placed. If you like, you can do the same for the first form Hope you find this useful. Please MARK AS INSTALLED if you use it. Source: http://tech6.com/f51/advanced-quick-...etin-org-t588/ Show Your Support
|
Comments |
#32
|
||||
|
||||
thx master... :up::up:
|
#33
|
|||
|
|||
What do I put if I want to do
"All Forum" etc. I see value is -1 but what about of other sections of "All blahblah" etc? Will the numbers become like -2 -3 etc? Thanks mate INSTALLED! €dit: I can't see these! My Posts My Threads New Posts Today's Posts Unanswered Threads Advanced Search I have place this mod in my navbar template and replaced it with <br />. My CountUp mod was used to be there and now I have replaced that mod with this, I like the position but I want to see the options above. How can I make them visible? Thank you, TaMpE |
#34
|
||||
|
||||
this is so cool i been waiting for somthing like this thank so much
INSTALLED!!!!! |
#35
|
|||
|
|||
How do I allow my guests to openly search the forums without being taken to the search page and having to enter the CAPTCHA image.
Here is my site: www.SymbianGalaxy.org Try test out the search feature in the header as a guest and you should be taken to the search page asking you to verify the CAPTCHA image. When a user is logged in, they can use the search without having to be taken to the search page, so how do I allow this for the guests ? Any help would be great! Thanks, Trickfly |
#36
|
||||
|
||||
admincp -> vbulletin options -> Human Verification Options -> Verify Guest Searches -> Set to NO
|
#37
|
|||
|
|||
I'd like to put this under my navbar in the header. How do I do that? I have no $navbar in the header template.
|
#38
|
||||
|
||||
Thanks for this. :up:
This really should be a default in the vb code or at least an option. Marked installed For anyone that want to see this under the navbar I simply flipped the buttons to the top and added a <div> with members only <if> Heres the link http://scalemotorcars.com/forum/index.php And a screenshot with it below. |
#39
|
|||
|
|||
Quote:
Thanks |
#40
|
|||
|
|||
Hi, I'm using the Video Directory hack along with VBAdvanced Dynamics as a file manager, which are all integrated with VB and have their own search functions. I would like to integrate those features using this hack so users can search my forums, blogs, video directory, and file database using one form. Is this possible, and if so, can someone explain to me how to do it? Thanks.
|
#41
|
|||
|
|||
I get this when I try to put this in one of my "NOTICES" box.
Code:
Your submission could not be processed because a security token was invalid. If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|