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 |
#12
|
|||
|
|||
hello
i think have problem with UTF-8 (arabic & persian) because after type word in box show no result |
#13
|
||||
|
||||
Try comment string in plugin Live Search AJAX
PHP Code:
|
#14
|
|||
|
|||
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064 error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$query = iconv('UTF-8', $stylevar['charset'], $query)' at line 1 |
#15
|
|||
|
|||
hello i run query :
Quote:
|
#16
|
|||
|
|||
Yeah,
This is cool, but having 2 search fields is lame. Is there not a way to just replace the regular search field in the navbar with this? |
#17
|
|||
|
|||
yes i think again update previous was better
|
#18
|
|||
|
|||
Thanks for this mod.... it installs fine..
Just no results show up when a search is entered... keeps on with the loading but nothing appears... any ideas? |
#19
|
||||
|
||||
relaxiha, open plugin Live Search AJAX and then find this string and comment it:
Code:
// $query = iconv('UTF-8', $stylevar['charset'], $query); |
#20
|
|||
|
|||
hello
my charset is UTF-8 !!! unknow change this! plz say better information to me! Code:
// $query = iconv('????', $stylevar['charset'], $query); or no! |
#21
|
||||
|
||||
// mean that string makes comment.
I not saying change utf-8. What collocation your db? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|