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 |
#302
|
|||
|
|||
Great add on, nominated but I woul like somebody help me with central European letters (ćđšč), I cant figure it out how to make Live Search to find threads with those letters...
Thanks advance |
#303
|
|||
|
|||
Great Mod,
but im having only one problem, i need to click outside the search box then click again on search fo see the popup window, it does not work from the first time, is there any way to fix it ? V 3.0.2 |
#304
|
|||
|
|||
hi guys
i have problem with this mod i cant use this mod when i search this code in my template i found 2 link like that in FORUM DISPLAY and header these code are for forum display only (2codes) Code:
<!-- search this forum --> <td class="alt1"> <form action="search.php?do=process" method="post"> <div class="smallfont"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="process" /> <input type="hidden" name="forumchoice[]" value="$forumid" /> <input type="hidden" name="childforums" value="1" /> <input type="hidden" name="exactname" value="1" /> <strong>$vbphrase[search_this_forum]</strong> :<br /> <input type="text" class="bginput" name="query" size="20" style="width:175px" />$gobutton<br /> <a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a> </div> </form> </td> <!-- / search this forum --> Code:
<!-- forum search menu --> <div class="vbmenu_popup" id="forumsearch_menu" style="display:none"> <form action="search.php?do=process" method="post"> <table cellpadding="4" cellspacing="1" border="0"> <tr> <td class="thead">$vbphrase[search_this_forum]<a name="goto_forumsearch"></a></td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="do" value="process" /> <input type="hidden" name="forumchoice[]" value="$forumid" /> <input type="hidden" name="childforums" value="1" /> <input type="hidden" name="exactname" value="1" /> <div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" accesskey="s" tabindex="1004" /></div> </td> </tr> <tr> <td class="vbmenu_option" title="nohilite"> <label for="rb_fd_sp0"><input type="radio" name="showposts" value="0" id="rb_fd_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label> <label for="rb_fd_sp1"><input type="radio" name="showposts" value="1" id="rb_fd_sp1" tabindex="1003" />$vbphrase[show_posts]</label> </td> </tr> <tr> <td class="vbmenu_option"><a href="search.php?$session[sessionurl]f=$forumid" rel="nofollow">$vbphrase[advanced_search]</a></td> </tr> </table> </form> </div> <!-- / forum search menu --> tanx guys |
#305
|
||||
|
||||
You should use code from header.
|
#306
|
|||
|
|||
any idea?
|
#307
|
||||
|
||||
I guess you talking about IE? Because I don't know how to solve this problem with him.
|
#308
|
|||
|
|||
hi
tank you it s working now |
#309
|
|||
|
|||
IE8 & firefox & safari, same problem
|
#310
|
||||
|
||||
I get no pop-up with the live search, you can be?
|
#311
|
|||
|
|||
any expert know how to get CATEGORIE IDs working instead of FORUM IDs? so i dont have to put in 100 forum ids but only 1 categorie id !
its important for my own dropdownmenu of this mod ... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|