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)

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.


All times are GMT. The time now is 12:17 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.02674 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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