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 |
#112
|
||||
|
||||
I'm happy
|
#113
|
|||
|
|||
Great ! Now it works like a charm with french accents. Thank you Max
|
#114
|
||||
|
||||
In the next version i will try to make the search for individual words.
|
#115
|
|||
|
|||
Hello max
You have make good work.. I wont to see from you also somethink like similar thead check.. Check for similar thread before posting a new one Its not too clean and conflict with many mods. I think with this mod with some improvments you can tranform it to similar thread check |
#116
|
||||
|
||||
I do not fully understand what you are saying
|
#117
|
|||
|
|||
Ops read again adove.
|
#118
|
||||
|
||||
No, thanks I already wrote a search for individual words. Wait a new version...
|
#119
|
||||
|
||||
Version 2.1
Finally i wrote search by individual words! |
#120
|
||||
|
||||
With Version 1.6 No show results, but yes shows the popup window
Attachment 96985 And with the new version 2.1 no show anything of the popup window How can I fix this? Thank you! |
#121
|
|||
|
|||
Can't get it to work also. No Popup in IE7/IE8 (navbar or $lsaform)
vBulletin 3.8.1pl1 (using Standard-Style without any edits (only navbar )). PHP: 5.2.6 MySQL Version: 5.0.67-community (Charset: UTF-8 Unicode (utf8)) This is the only change i did in template navbar: 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]" /> <div> <input type="text" class="bginput" size="25" id="lsa_input" name="query" tabindex="1001" maxlength="$vboptions[lsa_maxsym]" value="$vbphrase[live_search]" <if condition="!in_array($bbuserinfo[usergroupid], array($vboptions[lsa_group]))">onfocus="vbmenu_register('lsa_window',1); if(this.value=='$vbphrase[live_search]'){this.value=''}; showHint();" onblur="this.value='$vbphrase[live_search]';" onkeyup="showHint();"<else />onfocus="if(this.value=='$vbphrase[live_search]'){this.value=''};" onblur="this.value='$vbphrase[live_search]';"</if> /> <input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /> </div> <div style="margin-top:$stylevar[cellpadding]px"> <label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label> <label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label> </div> </div> </form> With $lsaform placed in header or FORUMHOME for example, your hack is working fine, but not with IE7/IE8 at the moment Video: http://ioj.com/v/3pvf5 Regards, Stoebi |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|