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 |
#282
|
||||
|
||||
It kinda turned out messier xo
I hope this isn't bothering you this is the original look http://i271.photobucket.com/albums/j...ykitten/s2.jpg |
#283
|
||||
|
||||
Try this
HTML Code:
<div class="quicksearch"> <p>Quick Search</p> <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="" /> <input type="hidden" name="securitytoken" value="guest" /> <span id="lsa_window" class="searchBoxInput"> <input type="text" id="lsa_input" class="searchinput" name="query" value="Search Forum" onfocus="if (this.value == 'Search Forum') this.value = '';" onblur="if (this.value == '') this.value = 'Search Forum';" /> </span> <span class="loginButton"> <input type="image" src="$stylevar[imgdir_misc]/gosearch.gif" value="Search" alt="Submit" /> </span> </form> <div class="memberLinks"> <a href="search.php">Go Advanced</a> </div> </div> </div> |
#284
|
||||
|
||||
Thanks !! =] it is working now
|
#285
|
||||
|
||||
Welcome
|
#286
|
|||
|
|||
mad@max
Do you know how to enable this search for pages other than the forum. Say like www.site.com and site.com/somedir/ |
#287
|
|||
|
|||
hi dear;
i am used fast search. how i use yui live search. my search code Code:
<!-- Search Box --> <td valign="middle" class="alt1"> <div style="white-space:nowrap"> <form action="http://www.okulonceciyiz.biz/search.php" method="post"> <input type="hidden" name="s" value="" /> <input type="hidden" name="do" value="process" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="hidden" name="showposts" value="0" /> <input type="hidden" name="quicksearch" value="1" /> <input type="text" style="width:100px;" class="bginput" name="query"/> <input style="font: bold 10px Arial" type="submit" class="button" value="Ara" /></form> <a style="text-decoration:none" href="search.php" accesskey="4" rel="nofollow" id="navbar_search" class=""></a> </div></td> <!-- /Search Box --> |
#288
|
||||
|
||||
Change string
HTML Code:
<input type="text" style="width:100px;" class="bginput" name="query"/>
HTML Code:
<input id="lsa_input" type="text" style="width:100px;" class="bginput" name="query"/>
|
#289
|
|||
|
|||
ie-firefox-chrome dont working in quick search. in the quick search advanced mod working but there 2 click must press on mouse
|
#290
|
||||
|
||||
It's can not be. Hack worked on all browsers (what i tested).
|
#291
|
|||
|
|||
nevermind.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|