vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - [YUI] Live Search (https://vborg.vbsupport.ru/showthread.php?t=204517)

vietfancy 12-26-2009 12:31 AM

Im waiting for the vb4 version. hehe

malluland 12-29-2009 03:02 PM

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

A small screen from the skin

https://vborg.vbsupport.ru/external/2009/12/13.jpg

When i press on the search box

its not doing anything

Please help

mad@Max 12-29-2009 04:15 PM

Replace string to
HTML Code:

<input id="lsa_input" class="searchinput" type="text"  name="query" tabindex="1004" size="23" />
vietfancy, i have not used vb4 ... yet.

malluland 12-29-2009 04:22 PM

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" />
Tried this and worked but the pop up is now coming over the searchbox

How can i fix this???

mad@Max 12-29-2009 08:35 PM

You missed closing div, between
HTML Code:

</span>
</form>


malluland 12-30-2009 01:39 PM

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

marianoblesa 12-30-2009 01:46 PM

Hi mad@Max could put in the subject a code that is standard for all that work?

Thanks

malluland 12-30-2009 06:11 PM

mad@Max Could you please help me?

malluland 12-30-2009 06:53 PM

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&amp;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&amp;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]


malluland 01-01-2010 09:00 AM

Got it sorted
Just needed to remove <div id="lsa_window">
cause there is already one below


All times are GMT. The time now is 03:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02146 seconds
  • Memory Usage 1,806KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete