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 |
#342
|
|||
|
|||
Quote:
|
#343
|
|||
|
|||
Hi all, today i installed live search on my testsystem (vBullentin 3.8.6). I used this code below. Then for Internet Explorer 8 it's working fine. But if i use Mozilla, the popup doesn't work. Can anybody help please ? I think the div close tag (</div>) is wrongly set (?)
Code:
<td class="vbmenu_option" title="nohilite"> <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> <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><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> </form> </td> </tr> |
#344
|
||||
|
||||
I tagged this mod... I will wait until the mass of people report that it is working across all browsers before I install it on a live site.
|
#345
|
||||
|
||||
install on 3.8.6 and after js patch it works nice
edit: new js in the attachement thx |
#346
|
|||
|
|||
Thanks Nixpeiler, that did the trick for me. I am on 3.8.5 and it is now working flawlessly.
|
#347
|
||||
|
||||
Hi all,
it work allover the forum exept vBAdvance. I take that error at javascript : Quote:
|
#348
|
|||
|
|||
Does anybody know, it's possible to modify the position of the live search popup ? That means, to get the popup in the middle of screen, instead on the right hand side ?
See the EXAMPLE PIC. I'd like to have this windows centered. THX & Cheers Niggoh |
#349
|
|||
|
|||
Hi all,
I've installed the latest version of the live search on VB 4.0.8 and it works a treat, apart from when I want to search for a list of words, rather than an exact match. For example, if the thread title is 'hardware update allowed' and I search for 'hardware software', the search returns zero results. I would like it to return any results with 'hardware' in the title, is this possible? With the usergroup set to NOT use a boolean search, the regular VB search returns all results. Thanks. |
#350
|
|||
|
|||
Hi,
I managed to fix the issue above (#348) by changing the following in ajaxlivesearch.php: $qword .= $vbulletin->GPC['lsawithword'] ? " +$esword" : " $esword"; to $qword .= $vbulletin->GPC['lsawithword'] ? " $esword" : " $esword"; The boolean fulltext search now "Finds rows that contain at least one of the two words.". J. |
#351
|
|||
|
|||
I have Install on my vBulletin 3.8.6 but it dont work...
Have download and Install and my Code show this: Quote:
And "$lsaform" is doesnt work too under my navbar. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|