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 |
#312
|
||||
|
||||
Im waiting for the vb4 version. hehe
|
#313
|
|||
|
|||
On my new custom skin, its not working
this is the code from header Code:
<div class="searchBox clearfix"> <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="" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <div class="searchWrap"> <input class="searchinput" type="text" name="query" tabindex="1004" value="Search forum..." onfocus="if (this.value == 'Search forum...') this.value = '';" onblur="if (this.value == '') this.value = 'Search forum...';" size="23" /> </div> <span class="searchButton"> <input type="image" src="images/styles/ITForum/style/searchButton.gif" value="Search" alt="Submit" /> </span> </form> </div> </div> </div></div When i press on the search box its not doing anything Please help |
#314
|
||||
|
||||
Replace string to
HTML Code:
<input id="lsa_input" class="searchinput" type="text" name="query" tabindex="1004" size="23" />
|
#315
|
|||
|
|||
Code:
<input class="searchinput" type="text" id="lsa_input" name="query" tabindex="1004" value="Search forum..." onfocus="if (this.value == 'Search forum...') this.value = '';" onblur="if (this.value == '') this.value = 'Search forum...';" size="23" /> How can i fix this??? |
#316
|
||||
|
||||
You missed closing div, between
HTML Code:
</span> </form> |
#317
|
|||
|
|||
Still the pop up is coming on top of the seachbox
How can i put the popup box below the search box anything to do in css???? or in the code??? Please help |
#318
|
|||
|
|||
Hi mad@Max could put in the subject a code that is standard for all that work?
Thanks |
#319
|
|||
|
|||
mad@Max Could you please help me?
|
#320
|
|||
|
|||
This is my header code
HTML Code:
<link type="text/css" rel="stylesheet" media="all" href="/forum/cometchat/css/cometchat.css" /> <a name="top"></a> <if condition="$show['guest']"> <div id="welcome"></div> <div class="welcomeWrap" id="welcome-window"> <a href="#" class="close-window"><img src="images/styles/ITForum/style/close.gif" class="x" alt="close" /></a> <img src="images/styles/ITForum/style/welcomeHeding.gif" alt="Welcome to $vboptions[bbtitle]" class="welcome"/> <div class="welcomeDesc">Are you a designer looking for a community? if so come join the conversation!!</div> <a href="#" class="close-window"><img src="images/styles/ITForum/style/btn_just_browsing.gif" alt="Just Browsing" /></a> <a href="register.php$session[sessionurl_q]"><img src="images/styles/ITForum/style/btn_add_yourself_free.gif" alt="Register Today" /></a> <p>There are currently <strong>$numbermembers</strong> members <strong>$totalthreads</strong> threads with <strong>$totalposts</strong> posts.</p> </div> </if> <div id="header"><div class="pageWrapper"> <div class="logo"> <a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a> </div> <div class="searchBox clearfix"> <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="" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <div class="searchWrap"> <input id="lsa_input" class="searchinput" type="text" name="query" tabindex="1004" size="23" /> </div> <span class="searchButton"> <input type="image" src="images/styles/ITForum/style/searchButton.gif" value="Search" alt="Submit" /> </span> </div> </form> </div> </div> </div></div> <!-- nav buttons bar --> <div class="navigation"><div class="pageWrapper"> <ul> <li><a href="$vboptions[homeurl]" title="Home"><span>Home</span></a></li> <if condition="$show['member']"> <li><a href="usercp.php$session[sessionurl_q]"><span>$vbphrase[user_cp]</span></a></li> </if> <if condition="$show['registerbutton']"> <li><a href="register.php$session[sessionurl_q]" rel="nofollow"><span>$vbphrase[register]</span></a></li> </if> $template_hook[navbar_buttons_left] <li><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5"><span>$vbphrase[faq]</span></a></li> <if condition="$show['communitylink'] AND $show['popups']"> <li><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6"><span>$vbphrase[community]</span></a> <script type="text/javascript"> vbmenu_register("community",1); </script></li> <else /> <if condition="$show['memberslist']"> <li><a href="memberlist.php$session[sessionurl_q]"><span>$vbphrase[members_list]</span></a></li> </if> <if condition="$show['quick_links_groups']"> <li><a href="group.php?$session[sessionurl]"><span>$vbphrase[social_groups]</span></a></li> </if> </if> <li><a href="calendar.php$session[sessionurl_q]"><span>$vbphrase[calendar]</span></a></li> <if condition="$show['popups']"> <if condition="$show['searchbuttons']"> <if condition="$show['member']"> <li><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><span>$vbphrase[new_posts_nav]</span></a></li> <else /> <li><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><span>$vbphrase[todays_posts]</span></a></li> </if> <li><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow"><span>$vbphrase[search]</span></a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search",1); </script></if></li> </if> <if condition="$show['member']"> <li><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3"><span>$vbphrase[quick_links]</span></a> <script type="text/javascript"> vbmenu_register("usercptools",1); </script></li> </if> <else /> <if condition="$show['searchbuttons']"> <li><a href="search.php$session[sessionurl_q]" accesskey="4"><span>$vbphrase[search]</span></a></li> <if condition="$show['member']"> <li><a href="search.php?$session[sessionurl]do=getnew" accesskey="2"><span>$vbphrase[new_posts_nav]</span></a></li> <else /> <li><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2"><span>$vbphrase[todays_posts]</span></a></li> </if> </if> <li><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow"><span>$vbphrase[mark_forums_read]</span></a></li> <if condition="$show['member']"> <li><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;"><span>$vbphrase[open_contacts]</span></a></li> </if> </if> $template_hook[navbar_buttons_right] <if condition="$show['member']"> <li><a href="login.php?$session[sessionurl]do=logout&logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')"><span>$vbphrase[log_out]</span></a></li> </if> </ul> </div></div> <!-- / nav buttons bar --> $_phpinclude_output $ad_location[ad_header_end] |
#321
|
|||
|
|||
Got it sorted
Just needed to remove <div id="lsa_window"> cause there is already one below |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|