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 |
#52
|
|||
|
|||
Thanks Maxim
|
#53
|
|||
|
|||
Max.... I'm not sure if you are able to help me with this but I still have problem with Vietnamese language.
Example: when I typed "những", it returned no result. However, when I type "nhung" it somehow shown "những, nhung,...." on the result box. Is there away to make it search with Vietnamese language? Thanks. |
#54
|
||||
|
||||
Wonderful
Thank you |
#55
|
|||
|
|||
hello Max,
Would you please kindly show me how to place the search field on the upper right corner of the header instead of the navbar? Thanks. |
#56
|
||||
|
||||
By forces css
|
#57
|
|||
|
|||
would you kindly be more specific?
|
#58
|
||||
|
||||
You may look on source in demo site.
|
#59
|
|||
|
|||
thanks Max... finally I got it to work the way I wanted it. However, I still have couple small challenges that I still need your expertise on.
1/ How to make the search result include information in vbulletin blog? 2/ Where do I go to look for this since 3.8.x version does not include .js file. Code:
url=url+"?query="+word |
#60
|
|||
|
|||
Geat hack, thank you mad@Max ! * Installed *
Just a problem for me: if I do a search with a word with french accents (?, ?, ?...) for example: " s?n?gal " the live search returns No Results. The same search without french accents " senegal" works. Do you have an idea to fix the problem ? |
#61
|
|||
|
|||
I do have the same problem with Star88. Words as "những" return no result and also, the result does not pick up information in blog
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|