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 |
#272
|
||||
|
||||
Hm, really, one phrase was missing. Updated.
|
#273
|
||||
|
||||
Version 3.0.2
Fixed previous bug with YUI forces |
#274
|
||||
|
||||
Hi,
Thanks mad@Max, nice mod =) I am having a small issue with my custom template though Would anyone know how to fix this? when the search load, the pop up window shows over the box where you put your text in not under it. How can i make it show under Advance search? This is my template PHP Code:
|
#275
|
||||
|
||||
Show your css class searchBoxInput.
|
#276
|
||||
|
||||
Hi, this ?
PHP Code:
|
#277
|
||||
|
||||
Replace into your css class float:left; on text-align:left;.
|
#278
|
||||
|
||||
Hi I don't know what you mean..
There so many of these --> float:left; on text-align:left;. This is my whole css PHP Code:
|
#279
|
||||
|
||||
I mean change
HTML Code:
.searchBoxInput { background: url(images/ogen/misc/searchBoxInput.gif) no-repeat top left; width:226px; height:21px; float:left; } HTML Code:
.searchBoxInput { background: url(images/ogen/misc/searchBoxInput.gif) no-repeat top left; width:226px; height:21px; text-align:left; } |
#280
|
||||
|
||||
Quote:
That kinda moved my go button down |
#281
|
||||
|
||||
Hm, try add float:right; to loginButton class.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|