PDA

View Full Version : Add-On Releases - [YUI] Live Search


Pages : 1 [2]

mad@Max
06-23-2009, 01:03 AM
Version 3.0
Rewritten js and the method of intake information on request. Added 2 files to download (js, php).

relaxiha
06-23-2009, 01:37 AM
Hello.
Was much better. Thank you

RobbieZ
06-24-2009, 09:37 AM
Ive got problems max.

When i insert <div id="lsa_window"> into my search it doesnt do anything.


But when i turn on $lsaform and insert $lsaform when i try and add somewords it wont allow me and instead opens up a window saying please insert 3 words maximum.

This is my code without any template edits

<div class="vbmenu_popup" id="navbar_search_menu" style="display:none;margin-top:3px" align="$stylevar[left]">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<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]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div>

</form>
</td>
</tr>
<if condition="$vboptions[threadtagging]">
<tr>
<td class="vbmenu_option"><a href="tags.php$session[sessionurl_q]" rel="nofollow">$vbphrase[tag_search]</a></td>
</tr>
</if>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
$template_hook[navbar_search_menu]
</table>
</div>

mad@Max
06-24-2009, 10:09 AM
You talk about integration?

RobbieZ
06-24-2009, 03:04 PM
You talk about integration?

I have added your edits.

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

But nothing is working

mad@Max
06-24-2009, 05:10 PM
Which version of vB you are using?

g0dfather1984
06-24-2009, 08:16 PM
Nevermind. Got it.

RobbieZ
06-24-2009, 11:11 PM
Which version of vB you are using?


3.8.2

mad@Max
06-25-2009, 12:10 AM
PM me site where you install this hack, i'll see.

Strike3ForumsMH
06-27-2009, 01:33 PM
Max, where do you adjust the position of where the live search dropdown appears? I manually inserted into my site's search bar and as my style is a bit off center, I'd like to control where the dropdown displays beneath the search form to fit my site better.

Any help would be appreciated.

Thank you.

mad@Max
06-27-2009, 07:01 PM
A pop-up window positioned independently from the place of input text.

richTV
07-03-2009, 12:40 AM
Version 3.0
Rewritten js and the method of intake information on request. Added 2 files to download (js, php).

Hi, i just discovered your hack and downloaded v3.0 but the Install notes don't appear to be in English like in v2.3.1 ? :)

mad@Max
07-03-2009, 04:11 PM
Yes, you right. Reuploaded.

richTV
07-04-2009, 03:05 AM
thank you. :)

can you explain what you mean by "If you alrady have opened search field, do following."

is that meant only for your upgrades or do you mean it to be an edit required for ALL installations of your mod in the vB Search Template? eg. search_forums, search_results, search_results_postbit, search_results_postbit_lastvisit

wAnBoA
07-08-2009, 08:13 AM
I'm using Live Search 2.2.3 and i've enabled the search form ( $lsaform )
Is it possible to make it a live search as well?

mad@Max
07-08-2009, 07:03 PM
What you mean, upgrade to last version?

rmxs
07-08-2009, 07:43 PM
hello i run query :
plz little more info for this query !

Dont run this...

Just open plugin and remove // from the begining

Karabaja
07-10-2009, 12:48 AM
Thanks for the hack, just found it and testing it.
It seems to be missing something.

101774

I imagine there should be Sort By text there at the bottom and search again, but there aren't.

mad@Max
07-10-2009, 05:57 PM
Yes, you right, was bug. Fixed in version 3.0.1.

Karabaja
07-11-2009, 10:58 AM
Yes, you right, was bug. Fixed in version 3.0.1.

Thanks for the update. But it seems the same to me.
I guess here is where "Sort by" text should be:
<fieldset class="fieldset">
<legend>
$vbphrase[lsa_sort]
</legend>

But there is no phrase called exactly "lsa_sort" so I assume that is why no text is displayed where it should say Sort by. I could change that to get the text. But still the button is missing to start sorting by chosen criteria. Or maybe there wasn't supposed to be a button at all. But in any case results display order doesn't change when different option is chosen from that sorting drop down.

mad@Max
07-11-2009, 12:06 PM
Hm, really, one phrase was missing. Updated.

mad@Max
07-11-2009, 07:45 PM
Version 3.0.2
Fixed previous bug with YUI forces:)

katie hunter
07-19-2009, 04:12 PM
Hi,

Thanks mad@Max, nice mod =)

I am having a small issue with my custom template though
Would anyone know how to fix this?

http://i271.photobucket.com/albums/jj126/straberrykitten/s2.jpg

when the search load, the pop up window shows over the box where you put your text in not under it.
How can i make it show under Advance search?

http://i271.photobucket.com/albums/jj126/straberrykitten/s1.jpg

This is my template
<div class="quicksearch">
<p>Quick Search</p>
<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="guest" />

<div 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';" />
</div>
<span class="loginButton">
<input type="image" src="$stylevar[imgdir_misc]/gosearch.gif" value="Search" alt="Submit" />
</span>
</div>
</form>
<div class="memberLinks">
<a href="search.php">Go Advanced</a>
</div>
</div>
</div>

mad@Max
07-19-2009, 04:28 PM
Show your css class searchBoxInput.

katie hunter
07-19-2009, 06:14 PM
Hi, this ?

.searchBoxInput {
background: url(images/ogen/misc/searchBoxInput.gif) no-repeat top left;
width:226px;
height:21px;
float:left;
}

mad@Max
07-19-2009, 06:26 PM
Replace into your css class float:left; on text-align:left;.

katie hunter
07-19-2009, 06:42 PM
Hi I don't know what you mean..
There so many of these --> float:left; on text-align:left;.

This is my whole css

img {
border: 0;
}

/* Header CSS */
.header {
height: 99px;
}

.header_left {
float:left;
background: url(images/orangetheme/misc/headerbg.gif) no-repeat top right;
height: 74px;
width: 351px;
padding-left: 94px;
padding-top: 25px;
}

.header_right {
float:right;
padding-top: 21px;
height: 78px;
padding-right: 10px;
}

/* Nav CSS */
.nav {
height: 37px;
background: url(images/orangetheme/misc/navbg.gif) repeat-x;
padding-left: 10px;
}

.navright {
float:right;
margin-top: 4px;
background: url(images/orangetheme/misc/navright.gif) no-repeat;
height: 33px;
line-height: 33px;
width: 203px;
padding-left: 23px;
margin-right: 10px;
}
.navBackTop {
float:right;
background:url(images/orangetheme/misc/backTop.gif) no-repeat;
margin:4px 10px 0 0;
width:94px;
height: 33px;
line-height: 33px;
padding-left:12px;
text-align:center;
}
.navright a:link, .navright a:hover, .navright a:active, .navright a:visited,
.navBackTop a:link, .navBackTop a:hover, .navBackTop a:active, .navBackTop a:visited {
color: #ffffff;
text-decoration: none;
font-size: 12px;
font-family: arial;
}

.navleft {
float:left;
}

.navitem {
height: 37px;
}

.quicksearch p {
width: 254px;
height: 9px;
line-height: 9px;
background: url(images/orangetheme/misc/quicksearchbg.gif) no-repeat top right;
padding: 0px;
margin: 0px;
margin-bottom: 4px;
padding-left: 5px;
}

.navitem a:link, .navitem a:hover, .navitem a:active, .navitem a:visited {
font-family: arial;
font-size: 12px;
color: #fff;
text-decoration: none;
padding-right: 20px;
}

.memberandsearch {
background: #e6e6e6 url(images/orangetheme/misc/memberandsearch.gif) repeat-x;
margin-top: 1px;
border-top: #969696 1px solid;
border-bottom: #c4c4c4 1px solid;
height: 70px;
padding-left: 10px;
padding-right: 10px;
}

.navbc {
background: url(images/orangetheme/misc/navbcbg.gif) repeat-x;
margin-top: 2px;
margin-bottom: 8px;
}

.navbcright {
background: url(images/orangetheme/misc/navbcright.gif) top right no-repeat;
}

.navbcleft {
background: url(images/orangetheme/misc/navbcleft.gif) no-repeat;
height: 24px;
padding-top: 9px;
padding-left: 36px;
}

.navbcleft a:link, .navbcleft a:hover, .navbcleft a:active, .navbcleft a:visited {
color: #6a6a6a;
text-decoration: none;
font-family: arial;
font-size: 11px;
}

.memberlogin {
float:left;
}

.quicksearch {
float:right;
padding-top: 12px;
}

.searchfield {
float:left;
}

/* Main Page CSS */
.tcat_bg {
background: url(images/orangetheme/misc/tcat_bg.gif) repeat-x;
}

.tcat_right {
background: url(images/orangetheme/misc/tcat_right.gif) no-repeat top right;
}

.tcat_left {
background: url(images/orangetheme/misc/tcat_left.gif) no-repeat top left;
height: 34px;
line-height: 34px;
padding-left: 16px;
font-family: arial;
font-size: 12px;
color: #fff;
}

.tcat_left a:hover, .tcat_left a:active, .tcat_left a:visited, .tcat_left a:link {
font-family: arial;
font-size: 12px;
color: #fff;
text-decoration: none;
}

.tfoot_bg {
background: url(images/orangetheme/misc/tfoot_bg.gif) repeat-x top left;
}

.tfoot_r {
background: url(images/orangetheme/misc/tfoot_r.gif) no-repeat top right;
}

.tfoot_l {
height: 9px;
font-size: 1px;
background: url(images/orangetheme/misc/tfoot_l.gif) no-repeat top left;
}

.search-quick {
background: url(images/orangetheme/misc/searchbg.gif) no-repeat;
border: 0px;
width: 219px;
height: 16px;
padding-top: 5px;
padding-left: 7px;
}

.goadv {
clear:both;
margin-top: 7px;
padding-left: 5px;
}

.goadv a:link, .goadv a:hover, .goadv a:active, .goadv a:visited {
font-size: 11px;
color: #7e7e7e;
text-decoration: none;
}

/* Postbit CSS */
.vbmenu_c {
height: 34px;
padding: 0px;
padding-right: 6px;
line-height: 34px;
}

.vbmenu_c a:link, .vbmenu_c a:hover, .vbmenu_c a:active, .vbmenu_c a:visited {
color: #fff;
font-size: 12px;
font-family: arial;
text-ddecoration: none;
}

.alt2pbt {
background: #f1f1f1 url(images/orangetheme/misc/alt2pbt.gif) top left repeat-x;
border-right: #fff 1px solid;
border-top: #dadada 1px solid;
border-left: #dadada 1px solid;
}

.alt1pbt {
background: #f1f1f1 url(images/orangetheme/misc/alt1pbt.gif) top left repeat-x;
border-right: #dadada 1px solid;
border-top: #dadada 1px solid;
border-left: #d8d8d8 1px solid;
font-family: arial;
font-size: 12px;
color: #2d2d2d;
}

.alt2pbb {
background: #f1f1f1;
border-right: #fff 1px solid;
border-bottom: #dadada 1px solid;
border-left: #dadada 1px solid;
}

.alt1pbb {
background: #f1f1f1;
border-bottom: #dadada 1px solid;
border-left: #d8d8d8 1px solid;
}

.greyblock {
margin: 1px 0;
height: 2px;
font-size: 1px;
background: #bcbcbc;
}

.pbbox {
font-family: arial;
font-size: 11px;
color: #000000;
background: url(images/orangetheme/misc/pbboxbg.gif) repeat-x;
text-align: center;
width: 148px;
height: 24px;
line-height: 24px;
overflow:hidden;
}

.pbbox1 {
font-family: arial;
font-size: 11px;
color: #000000;
background: url(images/orangetheme/misc/pbbox1.gif) repeat-x;
text-align: center;
width: 148px;
height: 25px;
line-height: 25px;
}

.pbinfo {
color: #df6d00;
}

/* Footer CSS */
.copyright {
color: #3b3b3b;
line-height: 1.6;
}

.footer {
height: 77px;
background: url(images/orangetheme/misc/footerbg.gif) repeat-x;
border-top: #969696 1px solid;
margin-top: 0px;
}
.footerWrap {
background: url(images/orangetheme/misc/footerRight.gif) no-repeat top right;
height:77px;
}
.footerLogo {
float:right;
padding:18px 97px 0 0;
}
.copyright {
float:left;
padding:20px 0 0 10px;
}
.memberBox {
float:left;
width:291px;
height:74px;
padding:12px 0 0 0px;
}
.memberBox form, .searchBox form {
margin:0;
padding:0;
}
.memberBox input, .searchBox input {
float:left;
}
.memberBox p {
width: 274px;
height: 9px;
line-height: 9px;
background: url(images/orangetheme/misc/memberboxbg.gif) no-repeat top right;
padding: 0px;
margin: 0px;
margin-bottom: 4px;
padding-left: 5px;
}
.loginBox {
height:25px;
}
.loginBoxInput {
background: url(images/orangetheme/misc/loginBoxInput.gif) no-repeat top left;
width:122px;
height:21px;
float:left;
}
.logininput {
border:0;
background:transparent;
font:8pt arial, helvetica, sans-serif;
color: #9a9a9a;
padding:4px 0 2px 0;
width:108px;
margin:1px 7px 0 7px;
}
.searchBoxInput {
background: url(images/orangetheme/misc/searchBoxInput.gif) no-repeat top left;
width:226px;
height:21px;
float:left;
}
.searchinput {
border:0;
background:transparent;
font:8pt arial, helvetica, sans-serif;
color: #9a9a9a;
padding:4px 0 2px 0;
width:212px;
margin:1px 7px 0 7px;
}
.loginButton {
float:left;
padding-left:5px;
}
.memberLinks {
font:8pt arial, helvetica, sans-serif;
color: #7e7e7e;
padding-left:5px;
}
.memberLinks a:link, .memberLinks a:visited {
color: #7e7e7e;
text-decoration:none;
}
.memberLinks a:hover {
color:#e16a00;
text-decoration:none;
}
.memberInfo {
float:left;
padding:22px 0 0 23px;
font:9pt arial, helvetica, sans-serif;
color:#545e69;
}
.memberInfo a:link, .memberInfo a:visited {
font-weight:bold;
color:#1f5891;
}
.memberInfo a:hover {
color:#545e69;
}
.postbitBG {
background: #fdfdfd url(images/orangetheme/misc/postbitBG.gif) repeat-x bottom left;

}

mad@Max
07-19-2009, 07:30 PM
I mean change
.searchBoxInput {
background: url(images/ogen/misc/searchBoxInput.gif) no-repeat top left;
width:226px;
height:21px;
float:left;
}
on
.searchBoxInput {
background: url(images/ogen/misc/searchBoxInput.gif) no-repeat top left;
width:226px;
height:21px;
text-align:left;
}

katie hunter
07-19-2009, 08:23 PM
I mean change
.searchBoxInput {
background: url(images/ogen/misc/searchBoxInput.gif) no-repeat top left;
width:226px;
height:21px;
float:left;
}
on
.searchBoxInput {
background: url(images/ogen/misc/searchBoxInput.gif) no-repeat top left;
width:226px;
height:21px;
text-align:left;
}

Hi,

That kinda moved my go button down

mad@Max
07-19-2009, 08:35 PM
Hm, try add float:right; to loginButton class.

katie hunter
07-19-2009, 09:14 PM
It kinda turned out messier xo
I hope this isn't bothering you

this is the original look http://i271.photobucket.com/albums/jj126/straberrykitten/s2.jpg

mad@Max
07-19-2009, 10:05 PM
Try this
<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

<!-- 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 <input type="text" style="width:100px;" class="bginput" name="query"/>

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

<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,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=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
<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,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=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
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?
<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)

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

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

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

<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,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=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

ThomasBolley
01-22-2010, 04:51 PM
crap, no popup box is coming on insert your install code into header, only shows on integrate on navbar...

relaxiha
01-30-2010, 02:03 PM
one of the best tools in Version 3.8 of course I was.!
It works on version 4?
Please see the new version updates

mad@Max
01-30-2010, 04:53 PM
It still on a developing stage...

BadgerDog
01-31-2010, 03:26 PM
Installed ... thank you ... :)

However, when I clicke on the words "Live Search", all I get is the word "loading ..." in its place ...

Nothing else happens?

If I type in the same search box some piece of text to search for, it simply uses the standard vBulletin search screen?

Any help would be appreciated... :up:

Regards,
Badger

By the way ...

This is from my Navbar

<td class="vbmenu_option" title="nohilite">
<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]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div>
</form>

sKippah
02-05-2010, 01:22 PM
Hi everybody. Will there be an update for 4.0.x ? Thanks for answering

BadgerDog
02-05-2010, 03:55 PM
Anyone able to help us with the question two posts above?

Thanks ... :)

Regards,
Badger

Honk0815
02-09-2010, 09:50 PM
This addon is very good and I need it for VB4 too

BadgerDog
02-09-2010, 10:05 PM
Uninstalled .... no support ...

Thanks anyway ...

Regards,
Badger

mad@Max
02-09-2010, 11:26 PM
Tomorrow i release version for vb4 (left to translate in english).
BadgerDog, you need add id="lsa_input" into <input type="text" class="bginput" name="query" size="25" tabindex="1001" />

BadgerDog
02-10-2010, 07:20 AM
Tomorrow i release version for vb4 (left to translate in english).
BadgerDog, you need add id="lsa_input" into <input type="text" class="bginput" name="query" size="25" tabindex="1001" />


I had done that already....

This is from my Navbar

<td class="vbmenu_option" title="nohilite">
<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]" />
<div><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>
<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div>
</form>

I had removed it here to show you the state of my Navbar to BEFORE adding it, to see if there was anything unusual about it in its original state.

Still get the small "loading ..." message in the "serach box" but nothing else happens. If anyone types in the box, the standard vBulletin search routine happens.

Regards,
Badger

SorentoUltimate
03-26-2010, 04:19 PM
Hello and thanks for the mod,

i need your help to make it work.

i upload the file to my forum and i import the product xml.

At settings i change the Integration into the standard search form (drop-down menu) to yes.

When i open search dropdown menu into search say Live Search when i click inside to start write say Loading...

i write somethnig but the result popup not open !!!

can you help me on that?

SorentoUltimate
03-26-2010, 04:42 PM
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
:)

IE8 & firefox & safari, same problem :)

The same problem

vBulletin 3.8.4

SorentoUltimate
03-26-2010, 07:47 PM
Another problem,

i cannot search with Greek Characters (No Results)

character_set: UTF-8
collation_database: utf8_general_ci

HTML Character Set (From vBulletin Language): UTF-8

SorentoUltimate
04-02-2010, 09:00 PM
Hello and thanks for the mod,

i need your help to make it work.

i upload the file to my forum and i import the product xml.

At settings i change the Integration into the standard search form (drop-down menu) to yes.

When i open search dropdown menu into search say Live Search when i click inside to start write say Loading...

i write somethnig but the result popup not open !!!

can you help me on that?

Another problem,

i cannot search with Greek Characters (No Results)

character_set: UTF-8
collation_database: utf8_general_ci

HTML Character Set (From vBulletin Language): UTF-8

Can You help me with UTF-8

SorentoUltimate
04-05-2010, 11:00 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
:)

IE8 & firefox & safari, same problem :)

The same problem

vBulletin 3.8.4

Problem Solved with the Help of mad@Max :):):):) :up::up::up::up:

Now the only problem are the Search with UTF-8.

Thanks again mad@Max for that very good AddOn and for your Help.

BillieJoe
04-12-2010, 10:42 AM
I kinda got the same error.
I have a search in my navbar like the one here at vbulletin.org.
Is there a chance to get the live-search working for that?

Hell Bomb
06-24-2010, 09:48 PM
Ok, i am getting the same issue as alot of people, I did a clean install of the mod, uploaded the files, installed the product and added the following code to my header


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


The entire code to my header is
<a name="top"></a>
<table width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="logo">
<a href="$vboptions[forumhome].php$session[sessionurl_q]"></a><img src="$stylevar[titleimage]" align="left" border="0" alt="$vboptions[bbtitle]" />
</td>
</tr>
</table>

<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" class="bginput" name="query" size="25" tabindex="1001" />
<input type="submit" id="lsa_input" class="button" value="$vbphrase[go]" tabindex="1004" />
</div>
</form>

<!-- content table -->

$_phpinclude_output

$ad_location[ad_header_end]

yet nothing pops up, i just type in the information, and it goes to the regular search page... any help anyone?

Hell Bomb
06-24-2010, 11:58 PM
Has anyone gotten this to work with 3.8.5 cuz i am getting nothing no matter what i try.

Ichigo88
07-01-2010, 08:47 AM
hi! fine hack thanks! but not work for me! works one time in defaoult skin! but another skin no!

Hell Bomb
07-29-2010, 02:24 AM
hi! fine hack thanks! but not work for me! works one time in defaoult skin! but another skin no!

yea i have came to the conclusion this is not for people who don't know how to code within vBulletin. It took like 3 days for me to get this working and its still buggy. Defiantly needs some work. Hopefully it will get the bugs worked out and this could be one hell of a mod.

vBarsiv
07-29-2010, 02:13 PM
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$query = iconv('UTF-8', $stylevar['charset'], $query)' at line 1

You sure write permission is sql?

Niggoh
08-13-2010, 06:52 PM
Hi all, today i installed live search on my testsystem (vBullentin 3.8.6). I used this code below. Then for Internet Explorer 8 it's working fine. But if i use Mozilla, the popup doesn't work. :( Can anybody help please ? I think the div close tag (</div>) is wrongly set (?)


<td class="vbmenu_option" title="nohilite">
<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]" />
</div>
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div>
</form>
</td>
</tr>

yotsume
12-08-2010, 02:32 PM
I tagged this mod... I will wait until the mass of people report that it is working across all browsers before I install it on a live site.

Nixpeiler
01-13-2011, 02:36 PM
install on 3.8.6 and after js patch it works nice

edit: new js in the attachement

thx

qubed
01-14-2011, 12:06 PM
Thanks Nixpeiler, that did the trick for me. I am on 3.8.5 and it is now working flawlessly.

SorentoUltimate
01-16-2011, 10:52 PM
Hi all,

it work allover the forum exept vBAdvance.

I take that error at javascript :

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET CLR 1.1.4322; .NET CLR 1.0.3705; InfoPath.1; OfficeLiveConnector.1.5; OfficeLivePatch.1.3)
Timestamp: Mon, 17 Jan 2011 00:49:33 UTC


Message: 'this.tobj' is null or not an object
Line: 12
Char: 3
Code: 0
URI: http://www.xxxxxxxxxxxxxxxxxx.com/forum/clientscript/ajax_live_search_min.js?v=386



FIXED, PROBLEM with a custom setting

Niggoh
01-21-2011, 06:56 AM
Does anybody know, it's possible to modify the position of the live search popup ? That means, to get the popup in the middle of screen, instead on the right hand side ?

See the EXAMPLE PIC (http://www.bf-badcompany2.info/content/newspics/13082010/live_search.jpg).

I'd like to have this windows centered.

THX & Cheers
Niggoh

Schaedelio
02-23-2011, 07:41 PM
Hi all,

I've installed the latest version of the live search on VB 4.0.8 and it works a treat, apart from when I want to search for a list of words, rather than an exact match. For example, if the thread title is 'hardware update allowed' and I search for 'hardware software', the search returns zero results. I would like it to return any results with 'hardware' in the title, is this possible?
With the usergroup set to NOT use a boolean search, the regular VB search returns all results.

Thanks.

Schaedelio
02-25-2011, 12:33 PM
Hi,

I managed to fix the issue above (#348) by changing the following in ajaxlivesearch.php:

$qword .= $vbulletin->GPC['lsawithword'] ? " +$esword" : " $esword";
to
$qword .= $vbulletin->GPC['lsawithword'] ? " $esword" : " $esword";

The boolean fulltext search now "Finds rows that contain at least one of the two words.".

J.

Spinning9
02-26-2011, 03:30 PM
I have Install on my vBulletin 3.8.6 but it dont work...
Have download and Install and my Code show this:

<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" class="bginput" name="query" size="25" tabindex="1001" />
<input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" />
</div>
</form>

But why is dont Work?
And "$lsaform" is doesnt work too under my navbar.

twista46
03-12-2011, 12:40 PM
I have a Problem The search popup open when loading the startpage :confused::confused:

Niggoh
10-25-2011, 02:29 PM
Hi guys, i noticed that from technical point of view it's working, but the search it self isn't hat good. Very often the live seach doesn't find the keyword, but when i try the old style search, i get some results.

Thats my config in backend, with forum id's:

News|51
Allgemein|30,31
Multiplayer|32,33,34
Bugs und Probleme|40,41
Client und Serverkonfiguration|37,38
Sonstige Themen|35,49,47
Themen zum Portal|36,46

Looks ok so far. But i dont know, why it's not working correctly. Anyone here who can help ?

Emeralda
11-05-2011, 04:02 PM
I think I'm missing something. I've uploaded the files, installed the xml and nothing has changed on the forum. I checked the lsa template and it already had those divs.

pol7595
02-15-2012, 04:54 PM
What about russian version?

BryanLong
03-31-2012, 09:04 PM
Any possibility to get this working on vB 4.1.11?

Best regards,
Bryan

Mickie D
12-24-2012, 09:33 AM
How do you make the POPUP WINDOW position on the left ?

It popup's in the centre of the screen and over the text input button?

try the search here:
http://www.digitalworldz.co.uk

Cheers.
Mick

Tyran1
09-03-2013, 10:41 PM
Hi guys, i noticed that from technical point of view it's working, but the search it self isn't hat good. Very often the live seach doesn't find the keyword, but when i try the old style search, i get some results.

Thats my config in backend, with forum id's:

News|51
Allgemein|30,31
Multiplayer|32,33,34
Bugs und Probleme|40,41
Client und Serverkonfiguration|37,38
Sonstige Themen|35,49,47
Themen zum Portal|36,46

Looks ok so far. But i dont know, why it's not working correctly. Anyone here who can help ?

Yes, all Posts/ all Words not works!!!

DrCustUmz
02-07-2014, 02:11 PM
this is for the addon - https://vborg.vbsupport.ru/showthread.php?t=204517

Im trying to make the pop up box when you search something fixed (scroll with my page) since my search is in a fixed navbar the way i have it set up looks good and all, but it will not scroll with my navbar for anything!

i have tried rapping countless tables and divs with style="position: fixed;" to no avail, i have re edit lsa-main template, my header, everything i can think of im not new to coding at all, but this is just something i cant figure out for the life of me! i have even tried the new sticky property, and also stickyjs. nothing seems to grab this damn box no matter what i try.

i even got so fed up with it i try'd looking up other methods to go about doing this, but again to no avail. =(

as you can see it searches just fine:
https://vborg.vbsupport.ru/attachment.php?attachmentid=148109&stc=1&d=1391815605

yet when i scroll it stays where ever it was loaded, i want it to follow my nav bar in the same position it loaded in SS 1:
https://vborg.vbsupport.ru/attachment.php?attachmentid=148110&stc=1&d=1391815605

any help would greatly be appreciated =)

DrCustUmz
02-09-2014, 03:19 PM
I forgot to add i inspected the source in firefox, and i was seeing a postition:absolute in the source for the search popup. i couldnt find this absolute anywhere no matter how hard i looked. so i figured it was in the .js even though i saw nothing to do with position or absolute, but js is not my strong suit. although i did solve this issue by using

#lsa_window_menu{
position: fixed !important;
top: 50px !important;
}


in my additional css, i tried alot of other methods and nothing worked but it hit me the next day lol, cant believe it was that simple of a fix, and that i didnt think of it sooner