Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[YUI] Live Search Details »»
[YUI] Live Search
Version: 3.0.2, by mad@Max mad@Max is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.8.x Rating:
Released: 02-06-2009 Last Update: 07-10-2009 Installs: 162
Uses Plugins Auto-Templates
Additional Files  
No support by the author.

Features:
  • search only, if typed >= 3 symbols;
  • header to window with button close;
  • message about no result;
  • limit number of threads;
  • highlight words in result
  • trim title of thread, if it large (optional)
  • edit position of pop-up window
  • work with vBadvanced
  • limit the number of displayed results
  • group permission
  • search by your own forums
  • sort results of search
  • mod makes only one query to db
  • full compatibility with styles and browsers
  • search by individual words
  • integrate option into standard search
  • search only the specified length of each word
  • users search
  • interval requests
  • wrote 2 js class
Rewritten many things since version 1.6

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>
So, after the opening tag <form ХХХ> add bottom:

HTML Code:
                    <div id="lsa_window">
Before the closing tag </form> add:

HTML Code:
                    </div>
We have prepared the search form to pop-up window. Now we need to bind to the field of javascript.
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>
P.S. If you already have id in your search field and its change may be possible to reset the anchor CSS, do the following.
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

File Type: zip [AJAX] Live Search 2.2.3 Eng.zip (7.3 KB, 305 views)
File Type: zip [AJAX] Live Search 2.3.1 Eng.zip (7.6 KB, 366 views)
File Type: zip [YUI] Live Search v3.0.2 En.zip (9.6 KB, 896 views)

Screenshots

File Type: jpg lsa_set_eng.jpg (110.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #292  
Old 09-02-2009, 06:56 PM
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Posts: 533
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"
Attached Images
File Type: jpg LS1.jpg (79.7 KB, 0 views)
File Type: jpg LS2.JPG (80.0 KB, 0 views)
Reply With Quote
  #293  
Old 09-02-2009, 07:29 PM
mad@Max's Avatar
mad@Max mad@Max is offline
 
Join Date: Jul 2007
Location: Russia
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">
Reply With Quote
  #294  
Old 09-02-2009, 07:58 PM
katie hunter's Avatar
katie hunter katie hunter is offline
 
Join Date: May 2007
Posts: 533
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it worked really nice =) Thanks Mad@max
Reply With Quote
  #295  
Old 09-16-2009, 07:46 AM
AJIekceu4 AJIekceu4 is offline
 
Join Date: Apr 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #296  
Old 09-18-2009, 09:31 AM
TreXiaNos TreXiaNos is offline
 
Join Date: Jun 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks good work
Reply With Quote
  #297  
Old 09-22-2009, 05:32 PM
charlie71 charlie71 is offline
 
Join Date: Sep 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

....
Reply With Quote
  #298  
Old 09-27-2009, 02:41 AM
marianoblesa marianoblesa is offline
 
Join Date: Jan 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #299  
Old 09-29-2009, 04:18 AM
NTMID8 NTMID8 is offline
 
Join Date: Feb 2004
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #300  
Old 10-01-2009, 07:08 AM
Wird0 Wird0 is offline
 
Join Date: Aug 2009
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #301  
Old 10-03-2009, 08:46 PM
marianoblesa marianoblesa is offline
 
Join Date: Jan 2006
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Help please error security token.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:16 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09295 seconds
  • Memory Usage 2,600KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_html
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (6)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete