The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
![]() |
|||||||||||||||||||||||||||||||||
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 |
#92
|
|||
|
|||
![]()
The install guid is not clear.
I wont to display on nav bar...before was ok 3 letters and i saw results 4th and new results now dont works.. If i dont click search in advance doesnt search automaticaly also to display the box i have to click out.. This is my code Code:
<form action="search.php?do=process" method="post"> <div id="lsa_window"> <div id="tb-searchbox"><b>Live Search: </b> <input type="text" class="bginput" name="query" tabindex="1001" id="lsa_input" maxlength="$vboptions[lsa_maxsym]" value="$vbphrase[live_search]" onfocus="if(this.value=='$vbphrase[live_search]'){this.value=''};<if condition="!in_array($bbuserinfo[usergroupid], array($vboptions[lsa_group]))"> showHint();</if>" onblur="if (this.value==''){this.value='$vbphrase[live_search]'}"<if condition="!in_array($bbuserinfo[usergroupid], array($vboptions[lsa_group]))"> onkeyup="showHint();</if> /> onfocus="if(this.value=='$vbphrase[search_forums]')this.value='';" onblur="if(this.value=='$vbphrase[search_forums]')this.value='';" onkeyup="showHint(this.value)" /></div> <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> <if condition="!in_array($bbuserinfo[usergroupid], array($vboptions[lsa_group]))"><script type="text/javascript"> vbmenu_register("lsa_window",1); </script></if> </form> EDIT AFTER SOME EDITS TO YOUR CODE AT FORM TEMPLATE NOW WORKS GOOD AND NOT NEED CLICKOUTSIDE OF WINDOW TO OPEN THE SEARCH ALSO NOW WORK WITH3-4-5-6-7 LETTERS AND MAKE NEW SEARCH EVERYTIME THAT YOU WRITE SOMETHINK i just add to my navbar $lsaform and activated from settings BYT STILL CANT SEARCH WITH GREEK (NO RESUTLS) MySQL charset: UTF-8 Unicode (utf8) Tables latin1_swedish_ci |
#93
|
|||
|
|||
![]()
I fount out why some people need to click 2 times to open search box.
Is this Live search on the box.. If you remove it no more 2 clicks. How to remove (Simple way) Go to your language and search for Live Search (at results select this from GLOBAL live_search) Click edit and at the boxes bellow with your languages just click a SPACE no let it empty..Just one space.) |
#94
|
||||
|
||||
![]()
Version 2.0.3
Fixed some bugs with search field. Updated instruction. |
#95
|
|||
|
|||
![]()
Updated
(you have remove the text from box right?) Still no results a non english |
#96
|
|||
|
|||
![]()
Nice Addon. Good job.
![]() |
#97
|
||||
|
||||
![]()
rmxs, no, i'm not removing, just rewrote some html and js things.
|
#98
|
|||
|
|||
![]() Quote:
at my template i have add just the code $lsaform is that correct? For me works good (except non eglish) My db is UTF-8 byt tables are latin1_swedish_ci maybe this is the problem with non english.. is possible to change tables collation or can we do it from code? |
#99
|
||||
|
||||
![]()
Yes, thats it
![]() |
#100
|
|||
|
|||
![]()
Ok this release fixed the double click issue but I still have to click outside the box and back on it for the results to show up in Firefox and opera. Still doesn't work in IE at all on my board.
|
#101
|
||||
|
||||
![]()
This is intended
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|