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)

katie hunter 07-19-2009 09:14 PM

1 Attachment(s)
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

mad@Max 07-19-2009 10:05 PM

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>


katie hunter 07-19-2009 11:02 PM

Thanks !! =] it is working now

mad@Max 07-19-2009 11:11 PM

Welcome:)

Quantnet 07-28-2009 01:23 AM

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/

t.uzuner 08-14-2009 10:22 PM

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>&nbsp;
</div></td>
<!-- /Search Box -->


mad@Max 08-16-2009 02:47 PM

Change string
HTML Code:

<input type="text" style="width:100px;" class="bginput" name="query"/>
to
HTML Code:

<input id="lsa_input" type="text" style="width:100px;" class="bginput" name="query"/>

t.uzuner 08-17-2009 09:07 PM

ie-firefox-chrome dont working in quick search. in the quick search advanced mod working but there 2 click must press on mouse

mad@Max 08-18-2009 12:04 AM

It's can not be. Hack worked on all browsers (what i tested).

dancue 08-18-2009 05:20 PM

nevermind.

katie hunter 09-02-2009 06:56 PM

1 Attachment(s)
Hi Mad@Max, i am having this issue witht he live search on one of my new skins
the search doesn't pop under the text

This is my header code:

PHP Code:

<div class="cow_bgt">

<
div class="cow_bg">
<
div id="wHeader">
        
<
div id="wHeaderWelcome">
  
A Social Network Site aiming for pure entertainment
on pretty much every level
starting at Anime/Manga,
going down the line through MusicSportsGraphics,
GamesNewsRoleplays, and more!
</
div>


  <
div id="wHeaderLinks">
    <
ul>
      <
li><class="left" href="#"></a></li>
      <
li><class="middle" href="http://forum.nihonomaru.com/faq.php?faq=tos#faq_tos1"></a></li>
      <
li><class="right selected" href="http://forum.nihonomaru.com/"></a></li>            
    </
ul>
  </
div>
  <
div id="wHeaderBox">
    <
img src="images/nihonomarumilky/images/login-text.png" />
    
    <if 
condition="$show['guest']">
    <
div style="text-align: center;">
    <!-- 
login form -->
    <
form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
    <
script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
    
    <
input type="text" class="input" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
    
    <
input type="password" class="input" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" />
    
    <
input type="image" src="images/nihonomarumilky/images/button.png" value="" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]accesskey="s" />
    
    <
input type="hidden" name="s" value="$session[sessionhash]/>
    <
input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]/>
    <
input type="hidden" name="do" value="login" />
    <
input type="hidden" name="vb_login_md5password" />
    <
input type="hidden" name="vb_login_md5password_utf" />
    </
form>
    <!-- / 
login form -->

    <
div>
      <
b>Not a member yet?</b> <a href="register.php">Sign up now!</a> | <a href="login.php?do=lostpw">Forgot Password</a>
    </
div>
    </
div>

    <else />
    <
br style="margin-bottom:3px;">
    <
strong><phrase 1="$bbuserinfo[username]2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
    <
phrase 1="$pmbox[lastvisitdate]2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

    <if 
condition="$show['notifications']">
        <
div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
          <if 
condition="$show['popups']">
            <
script type="text/javascript"vBmenu.register("notifications"); </script>
        <else />
            <
script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script>
            <
script type="text/javascript"vBulletin.register_control("vB_Notifications_NoPopups""notifications");  </script>
        </if>
    <else /><if 
condition="$show['pmstats']">
        <
div><phrase 1="$vbphrase[unread_x_nav_compiled]2="$vbphrase[total_x_nav_compiled]3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase>
        
        <if 
condition="$show['member']">
    <
a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a>
    </if>

<if 
condition="$show['pmwarning']"><else /></div></if>
    </if></if>

    <if 
condition="$show['pmwarning']"> - <strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
    
    </if>
    
  </
div>

</
div>

<
div id="wTopLinks" style="margin-bottom:1px;">
    <
a href="http://www.nihonomaru.com/" class="one"></a>
    <
a href="http://nihonomaru.com/gallery/" class="two"></a>
    <
a href="http://forum.nihonomaru.com/videos" class="three"></a>
    <
a href="#reviews" class="four"></a>
    <
a href="#manga" class="five"></a>
    <
a href="#downloads" class="six"></a>          
    <
a href="#webcomics" class="seven"></a>
    <
a href="http://forum.nihonomaru.com/faq.php?faq=ad#faq_advertisement" class="eight"></a>
    <
a href="#spon" class="nine"></a>      
    <
a href="#about" class="ten"></a>           
</
div>

<
div style="clear:both;"></div>







<
div style="width:904px;">

<!-- 
logo -->
<
a name="top"></a>
<
div class="header">
<
div style="width:$stylevar[outerdivwidth];margin: 0 auto;">
<!--<
div class="headerimg">
&
nbsp;
</
div>-->
<
div class="navigation">
<
table cellpadding="0" cellspacing="0" border="0" align="center" class="navigationbar">
    <
tr align="center">
        <if 
condition="$show['member']">
            <
td class="navfirst"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
<else />
            <
td class="navfirst"><a href="register.php$session[sessionurl_q]rel="nofollow">$vbphrase[register]</a></td>
        </if>
        
$template_hook[navbar_buttons_left]
         <
td class="navitem"><a rel="help" href="faq.php$session[sessionurl_q]accesskey="5">$vbphrase[faq]</a></td>
        <!--<if 
condition="$show['communitylink'] AND $show['popups']">
            <
td class="navitem"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"vbmenu_register("community"); </script></td>
        <else />
            <if 
condition="$vboptions['enablememberlist']">
                <
td class="navitem"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
            </if>
            <if 
condition="$show['quick_links_groups']">
                <
td class="navitem"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
            </if>
        </if>-->
        <
td class="navitem"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
        <
td class="navitem"><a href="http://forum.nihonomaru.com/awards.php">Awards</a></td>
        <
td class="navitem"><a href="group.php?$session[sessionurl]">Clubs</a></td>
        <
td class="navitem"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
        <if 
condition="$show['popups']">
            <if 
condition="$show['searchbuttons']">
                <if 
condition="$show['member']">
                <
td class="navitem"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <
td class="navitem"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <
td class="navitem"><a id="navbar_search" href="search.php$session[sessionurl_q]accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"vbmenu_register("navbar_search"); </script></if></td>
            </if>
            <if 
condition="$show['member']">
                <
td class="navitem"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"vbmenu_register("usercptools"); </script></td>
            </if>
        <else />
            <if 
condition="$show['searchbuttons']">
                <
td class="navitem"><a href="search.php$session[sessionurl_q]accesskey="4">$vbphrase[search]</a></td>
                <if 
condition="$show['member']">
                <
td class="navitem"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <
td class="navitem"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
            </if>
            <
td class="navitem"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            <if 
condition="$show['member']">
                <
td class="navitem"><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;">$vbphrase[open_contacts]</a></td>
            </if>
        </if>
        
$template_hook[navbar_buttons_right]
        <!--<if 
condition="$show['member']">
            <
td class="navitem"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
        </if>-->
<
td class="navlast">&nbsp;</td>
        </
tr>
    </
table>
</
div>
</
div>
</
div>
<
div class="qsl">
<
div style="width:$stylevar[outerdivwidth];margin: 0 auto;">
<!--<
div class="headerbar">
<
a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/></a>
</
div>-->

<
div class="qsandlogin" style="float:right;margin-right:25px;">
<
h4>Quick Search</h4>
<
form id="searchbox_008514742519005312674:stktp-0amaq" action="search.php" method="get">
    
      <
input type="hidden" name="cx" value="008514742519005312674:stktp-0amaq" />
      <
input type="hidden" name="cof" value="FORID:9" />
   
    <
span id="lsa_window" class="searchBoxInput">
    <
div class="sefield"><input name="q" type="text" class="se_quick" value="" id="lsa_input" /><input name="do" value="process" type="hidden" /></div>    
    
        
    <
div class="sefield"><input name="showposts" value="0" type="hidden" />
    <
input name="s" value="" type="hidden" /><input src="images/nihonomarumilky/misc/gosearch.gif" style="*padding-top:1px;" type="image" /></div>
    </
span>    
    </
form>
<
div style="clear:both;">
<
a href="search.php">Go Advanced</a>
</
div>
</
div>


</
div>
</
div>
<!-- /
logo -->

<!-- 
content table -->
$spacer_open

$_phpinclude_output

$ad_location
[ad_header_end]

<
div class="orangebar">&nbsp;</div>
<if 
condition="$show['guest']">
<
div class="regbar">
 <
div class="regbarright">
   <
a href="register.php"><img src="images/nihonomarumilky/misc/register.gif" class="register" alt="Register" /></a>
  <
div class="regbarleft">
   <
img src="images/nihonomarumilky/misc/welcome.gif" class="welcome" alt="Welcome" />
  </
div>
 </
div>
</
div>
<else />
<
br />
</if>
<
table cellpadding="0" cellspacing="0" width="100%" align="center">
<
tr valign="top">
<
td class="forum_left"><div class="forum_leftimg<if condition="$show['guest']">2<else /></if>">&nbsp;</div></td>
<
td class="forum_bg"


mad@Max 09-02-2009 07:29 PM

Try this
HTML Code:

<div class="cow_bgt">

<div class="cow_bg">
<div id="wHeader">
       
<div id="wHeaderWelcome">
  A Social Network Site aiming for pure entertainment
on pretty much every level, starting at Anime/Manga,
going down the line through Music, Sports, Graphics,
Games, News, Roleplays, and more!
</div>


  <div id="wHeaderLinks">
    <ul>
      <li><a class="left" href="#"></a></li>
      <li><a class="middle" href="http://forum.nihonomaru.com/faq.php?faq=tos#faq_tos1"></a></li>
      <li><a class="right selected" href="http://forum.nihonomaru.com/"></a></li>           
    </ul>
  </div>
  <div id="wHeaderBox">
    <img src="images/nihonomarumilky/images/login-text.png" />
   
    <if condition="$show['guest']">
    <div style="text-align: center;">
    <!-- login form -->
    <form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
    <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
   
    <input type="text" class="input" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" />
   
    <input type="password" class="input" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" />
   
    <input type="image" src="images/nihonomarumilky/images/button.png" value="" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" />
   
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
    <input type="hidden" name="do" value="login" />
    <input type="hidden" name="vb_login_md5password" />
    <input type="hidden" name="vb_login_md5password_utf" />
    </form>
    <!-- / login form -->

    <div>
      <b>Not a member yet?</b> <a href="register.php">Sign up now!</a> | <a href="login.php?do=lostpw">Forgot Password</a>
    </div>
    </div>

    <else />
    <br style="margin-bottom:3px;">
    <strong><phrase 1="$bbuserinfo[username]" 2="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[welcome_x_link_y]</phrase></strong><br />
    <phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>

    <if condition="$show['notifications']">
        <div><span id="notifications"><a href="usercp.php$session[sessionurl_q]">$vbphrase[your_notifications]:</a> <strong>$notifications_total</strong></span></div>
          <if condition="$show['popups']">
            <script type="text/javascript"> vBmenu.register("notifications"); </script>
        <else />
            <script type="text/javascript" src="clientscript/vbulletin_notifications_nopopups.js?v=$vboptions[simpleversion]"></script>
            <script type="text/javascript"> vBulletin.register_control("vB_Notifications_NoPopups", "notifications");  </script>
        </if>
    <else /><if condition="$show['pmstats']">
        <div><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase>
       
        <if condition="$show['member']">
    <a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a>
    </if>

<if condition="$show['pmwarning']"><else /></div></if>
    </if></if>

    <if condition="$show['pmwarning']"> - <strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></div></if>
   
    </if>
   
  </div>

</div>

<div id="wTopLinks" style="margin-bottom:1px;">
    <a href="http://www.nihonomaru.com/" class="one"></a>
    <a href="http://nihonomaru.com/gallery/" class="two"></a>
    <a href="http://forum.nihonomaru.com/videos" class="three"></a>
    <a href="#reviews" class="four"></a>
    <a href="#manga" class="five"></a>
    <a href="#downloads" class="six"></a>         
    <a href="#webcomics" class="seven"></a>
    <a href="http://forum.nihonomaru.com/faq.php?faq=ad#faq_advertisement" class="eight"></a>
    <a href="#spon" class="nine"></a>     
    <a href="#about" class="ten"></a>         
</div>

<div style="clear:both;"></div>







<div style="width:904px;">

<!-- logo -->
<a name="top"></a>
<div class="header">
<div style="width:$stylevar[outerdivwidth];margin: 0 auto;">
<!--<div class="headerimg">
&nbsp;
</div>-->

<div class="navigation">
<table cellpadding="0" cellspacing="0" border="0" align="center" class="navigationbar">
    <tr align="center">
        <if condition="$show['member']">
            <td class="navfirst"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
<else />
            <td class="navfirst"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
        </if>
        $template_hook[navbar_buttons_left]
        <td class="navitem"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
        <!--<if condition="$show['communitylink'] AND $show['popups']">
            <td class="navitem"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
        <else />
            <if condition="$vboptions['enablememberlist']">
                <td class="navitem"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
            </if>
            <if condition="$show['quick_links_groups']">
                <td class="navitem"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
            </if>
        </if>-->

        <td class="navitem"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
        <td class="navitem"><a href="http://forum.nihonomaru.com/awards.php">Awards</a></td>
        <td class="navitem"><a href="group.php?$session[sessionurl]">Clubs</a></td>
        <td class="navitem"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
        <if condition="$show['popups']">
            <if condition="$show['searchbuttons']">
                <if condition="$show['member']">
                <td class="navitem"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="navitem"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
                <td class="navitem"><a id="navbar_search" href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
            </if>
            <if condition="$show['member']">
                <td class="navitem"><a id="usercptools" href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
            </if>
        <else />
            <if condition="$show['searchbuttons']">
                <td class="navitem"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
                <if condition="$show['member']">
                <td class="navitem"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
                <else />
                <td class="navitem"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
                </if>
            </if>
            <td class="navitem"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
            <if condition="$show['member']">
                <td class="navitem"><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;">$vbphrase[open_contacts]</a></td>
            </if>
        </if>
        $template_hook[navbar_buttons_right]
        <!--<if condition="$show['member']">
            <td class="navitem"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
        </if>-->

<td class="navlast">&nbsp;</td>
        </tr>
    </table>
</div>
</div>
</div>
<div class="qsl">
<div style="width:$stylevar[outerdivwidth];margin: 0 auto;">
<!--<div class="headerbar">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
</div>-->


<div id="lsa_window" class="qsandlogin" style="float:right;margin-right:25px;">
<h4>Quick Search</h4>
<form id="searchbox_008514742519005312674:stktp-0amaq" action="search.php" method="get">
   
      <input type="hidden" name="cx" value="008514742519005312674:stktp-0amaq" />
      <input type="hidden" name="cof" value="FORID:9" />
 
    <span class="searchBoxInput">
    <div class="sefield"><input name="q" type="text" class="se_quick" value="" id="lsa_input" /><input name="do" value="process" type="hidden" /></div>   
   
       
    <div class="sefield"><input name="showposts" value="0" type="hidden" />
    <input name="s" value="" type="hidden" /><input src="images/nihonomarumilky/misc/gosearch.gif" style="*padding-top:1px;" type="image" /></div>
    </span>   
    </form>
<div style="clear:both;">
<a href="search.php">Go Advanced</a>
</div>
</div>


</div>
</div>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]

<div class="orangebar">&nbsp;</div>
<if condition="$show['guest']">
<div class="regbar">
 <div class="regbarright">
  <a href="register.php"><img src="images/nihonomarumilky/misc/register.gif" class="register" alt="Register" /></a>
  <div class="regbarleft">
  <img src="images/nihonomarumilky/misc/welcome.gif" class="welcome" alt="Welcome" />
  </div>
 </div>
</div>
<else />
<br />
</if>
<table cellpadding="0" cellspacing="0" width="100%" align="center">
<tr valign="top">
<td class="forum_left"><div class="forum_leftimg<if condition="$show['guest']">2<else /></if>">&nbsp;</div></td>
<td class="forum_bg">


katie hunter 09-02-2009 07:58 PM

it worked really nice =) Thanks Mad@max

AJIekceu4 09-16-2009 07:46 AM

Hello, all. Great hack but this popup window is very ugly. Can anyone explain in detail which modification is needed with "[YUI] Live Search v3.0.2" that this hack work as here: http://www.quad4forums.com/forums/index.php
Quote:

You see how it creates a popup and pushes everything down below it instead of the box floating above everything
Sorry for bad english.

TreXiaNos 09-18-2009 09:31 AM

thanks good work

charlie71 09-22-2009 05:32 PM

....

marianoblesa 09-27-2009 02:41 AM

Hello good someone might not correctly indicate how to proceed the installation, and functioning?

For the hack [Ajax] Live Search 2.3.1 Eng

As the author explains not work.

Thank you.

NTMID8 09-29-2009 04:18 AM

How do I add to this code, please?
PHP Code:

<form action="search.php" method="post">
                   <
input type="hidden" name="do" value="process" />
                   <
input type="hidden" name="showposts" value="0" />
                   <
input type="hidden" name="quicksearch" 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="20" />&nbsp;$gobutton<br />
                   </
div>
              </
form


Wird0 10-01-2009 07:08 AM

This is a great mod. I like to know how i can change the wide of the "Thread/User Name" box and the "Forum/Status" box. I would like to see a larger thread name and a smaller forum name. It might even be posseble to have only the thread name? I have large thread titles so its best when people see the full name instand :)

I gues we all know about the dubble click problem and we await a sollution for that.

marianoblesa 10-03-2009 08:46 PM

Help please error security token.

jankoalek 10-24-2009 07:00 PM

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

passwords 11-30-2009 11:33 AM

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
:)

havard20009 11-30-2009 02:25 PM

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>
                        &nbsp;
                        <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 -->

can u help me about resolve this problem ??
tanx guys

mad@Max 11-30-2009 04:06 PM

You should use code from header.

passwords 11-30-2009 05:24 PM

Quote:

Originally Posted by passwords (Post 1922981)
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
:)

any idea?

mad@Max 11-30-2009 07:18 PM

I guess you talking about IE? Because I don't know how to solve this problem with him.

havard20009 11-30-2009 11:12 PM

hi
tank you it s working now

passwords 12-01-2009 12:47 AM

Quote:

Originally Posted by mad@Max (Post 1923177)
I guess you talking about IE? Because I don't know how to solve this problem with him.

IE8 & firefox & safari, same problem :)

Das UndergrounD 12-12-2009 03:37 AM

I get no pop-up with the live search, you can be?

Ghostt 12-15-2009 03:32 PM

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 ...

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 05:49 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.02081 seconds
  • Memory Usage 2,215KB
  • 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
  • (5)bbcode_code_printable
  • (7)bbcode_html_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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