vb.org Archive

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

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

Quote:

<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

Quote:

Originally Posted by mad@Max (Post 1978724)
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

Quote:

<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

Quote:

Originally Posted by passwords (Post 1922981)
Great Mod,
but im having only one problem, i need to click outside the search box then click again on search fo see the popup window, it does not work from the first time, is there any way to fix it ?
V 3.0.2
:)

Quote:

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

Quote:

Originally Posted by SorentoUltimate (Post 2010619)
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?

Quote:

Originally Posted by SorentoUltimate (Post 2010755)
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

Quote:

Originally Posted by passwords (Post 1922981)
Great Mod,
but im having only one problem, i need to click outside the search box then click again on search fo see the popup window, it does not work from the first time, is there any way to fix it ?
V 3.0.2
:)

Quote:

Originally Posted by passwords (Post 1923292)
IE8 & firefox & safari, same problem :)

Quote:

Originally Posted by SorentoUltimate (Post 2010630)
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

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>

The entire code to my header is
Code:

<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

Quote:

Originally Posted by Ichigo88 (Post 2062614)
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

Quote:

Originally Posted by relaxiha (Post 1737129)
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 (?)

Code:


<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

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

Quote:

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/fo...h_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.

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:

Quote:

<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

Quote:

Originally Posted by Niggoh (Post 2261429)
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
Code:

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/attachmen...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/attachmen...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
Code:

#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


All times are GMT. The time now is 04:47 PM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01699 seconds
  • Memory Usage 1,860KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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