The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
[YUI] Live Search Details »» | |||||||||||||||||||||||||||||||||
Features:
Known Issues Double click in search field - still not fixed. Installation: Upload all files from folder upload to forum folder. Import product. Upgrade Uninstall the old version, delete files (if you has use it) and install new version. If you already have opened search field, do following. Search field look like this: HTML Code:
<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]" /> <input type="text" class="bginput" name="query" size="25" tabindex="1001" /> <input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /> </form> HTML Code:
<div id="lsa_window">
HTML Code:
</div>
For this in tag <input type="text" /> add id="lsa_input" As a result, you should get some of this code: HTML Code:
<form action="search.php?do=process" method="post"> <div id="lsa_window"> <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]" /> <input type="text" id="lsa_input" class="bginput" name="query" size="25" tabindex="1001" /> <input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /> </div> </form> Open the template lsa_script and edit the line var lsa = new AJAX_LiveSearch_Prepare("lsa", "lsa_input", "lsa_window"); where the arguments of the class: lsa - variable name initialize class js lsa_input - search field id lsa_window - pop-up window id Thus, changing the arguments of the class AJAX_LiveSearch_Prepare, you can not edit the search field. Live DEMO: http://mixplay.ru/ (user: test, pass: 123456) Live video: http://www.youtube.com/watch?v=t_16fk5VGYw PS Some function writed by ChangUonDyU If you like this mod - Click Install it Download Now
Screenshots
Show Your Support
|
Comments |
#82
|
||||
|
||||
Version 2.0.2
Rewritten some functions. |
#83
|
|||
|
|||
Thank you for the update! It pulls up results now. It still has the issue where you have to click outside the box in order for it to search for the results. If you don't it just has a blank box with no results. Also on my board it doesn't work at all in IE.
Thanks again for the update. |
#84
|
|||
|
|||
Thanks Max for the update but it still doesn't work with non-english characters searches.
I didn't find the issue |
#85
|
||||
|
||||
I searching decision of this issue.
|
#86
|
|||
|
|||
Not work in IE (popup result does not display)
|
#87
|
|||
|
|||
great hack but it has a wrong position -.-"... can someone help?http://img5.imageshack.us/img5/5933/98021795.jpg
|
#88
|
|||
|
|||
i got a issue, i have quick search but when i add your code it will then have 2 search box needhelp. Wish to use the template default search bar so need help
also is it also possible the search starts instantly when u type more than x words im unableto move the search window because on vbulletion option you only grant us to change the height and width but not allowing to move the top <form action="search.php?do=process" method="post"> <div id="lsa_window"> <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="" /> <input type="hidden" name="securitytoken" value="guest" /> <div class="searchBoxInput"> <input type="text" class="searchinput" name="query" value="Search Forum" onfocus="if (this.value == 'Search Forum') this.value = '';" onblur="if (this.value == '') this.value = 'Search Forum';" /> |
#89
|
||||
|
||||
If you wanna use moveable window, you can use old version of hack I still not plan moveable window.
|
#90
|
|||
|
|||
well thing is i dont have the older version anymore and the result window is in mess aswell it displays over the search field. so hope u reconsider to make the window moveable again oratleast tell me where in template i can move the window
couldyouhelp me how to integrate your live search on the code i posted while keeping the default search bar? i prefer my templates search bar |
#91
|
||||
|
||||
If you talk about default dropdown search, integration not easy...
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|