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)

dvbusuario 03-29-2009 11:55 PM

Quote:

Originally Posted by mad@Max (Post 1777341)
dvbusuario, i need your site, for check the issue.
Stoebi, i'm not test live search with standard dropdown search.

http://www.eldestrampe.net

Thank You!

mad@Max 03-30-2009 12:43 PM

I don't have account.

starplatinum 03-31-2009 11:22 PM

it search only the threads titles not the post content ?!
am i right ?

mad@Max 03-31-2009 11:32 PM

Yes, you're right.

mad@Max 04-10-2009 10:07 AM

Version 2.2
Rewritten piece of main code.

mad@Max 04-12-2009 07:56 PM

Version 2.2.2
Add function:
* search only the specified length of each word
Finally i wrote this function by js and php at the same cut of words less than you specified in your preferences. That is, if you will, for example, enter "bat of the", then perform a search for "bat the", thus cut short the word "of". This script will "wait" until you enter the floor of the three characters.

RobbieZ 04-12-2009 11:31 PM

Thanks Max

When it is performing the search your native lang. is displayed while this happens.

How would i change it to English please.

mad@Max 04-13-2009 12:10 AM

I don't understand:) What problem with lang?

RobbieZ 04-13-2009 06:22 AM

I mean the word 'Euai' when it searches.

https://vborg.vbsupport.ru/external/2009/04/105.jpg

mad@Max 04-13-2009 09:55 AM

I think phrase isn't replaced, just uninstall and install again.

rmxs 04-13-2009 01:31 PM

Thanks for the update

AWJunkies 04-15-2009 08:15 AM

awesome mod thanks.

Nordinho 04-15-2009 11:50 PM

Hmm..the 3.7 version worked perfectly, the 3.8 version work perfectly in Firefox, but like some others I can't get it to display in IE. Anyone found a fix for that?

mad@Max 04-16-2009 12:14 AM

Please, show me site where hack isn't work in ie.

smirkley 04-16-2009 02:03 AM

Glad this mod is being developed even more.

I tried to install and seemed to work properly.

A couple of bugs yet that keep me from installing and keeping live,...

1 - InternetExplorer6 - get a scripting error prompted by the browser in the status bar, I cannot capture the error, but it implies a syntax error on every page. (as a note, I use IE7 at home, but I can only use IE6 at work)

2 - It does not appear that changing the popup width in acp causes the box to change width, stays the same size.( using same IE6 browser of course)

3 - I have vb forum, vb blog, and vb project tools,...
and popup in integrated search shows up under vbprojecttools in search nav... ie,...

Nav Dropdown Search Order:
1 - Search forums
2 - Search project tools
3 - Search Blogs

But when I type in a search word, and the popup shows up inside dropdown, it is in this order,...

Nav Dropdown Search Order:
1 - Search forums
2 - Search project tools
--- Live Search popup box
3 - Search Blogs

I really like this mod and cant wait till it is tweaked just a tad bit more.

Thanks

mad@Max 04-16-2009 07:57 AM

Oh, fu*kin ie! Ok, i'll look what can i do...

powerful_rogue 04-16-2009 10:40 AM

Theres hope for me yet!

I did disable a lot of the mods I had installed, but still had no joy getting this to work in IE.

mad@Max 04-16-2009 01:34 PM

I don't understand, i check latest version on my couple forums with different browsers (incl. ie-6-7-8) and all works.

vietfancy 04-18-2009 01:08 AM

The latest version isn't working with IE.

Mad@Max. Could you add 1 more feature into it. Search by threadid

mad@Max 04-18-2009 07:44 AM

Quote:

Originally Posted by vietfancy (Post 1793670)
Mad@Max. Could you add 1 more feature into it. Search by threadid

What do you mean.

mad@Max 04-22-2009 11:34 PM

Version 2.2.3
Fixed bug with highlighting into highlight tag:)

cgway.net 04-23-2009 02:22 AM

not work in vbadvanced search

mad@Max 04-23-2009 07:27 AM

With which folder placed forum and vba?

voter 04-25-2009 06:33 PM

??? Is this mean, no compatibility with mysqli
Quote:

Fatal error: Cannot use object of type mysqli_result as array in ..../public_html/vb/ajax.php(69) : eval()'d code on line 119
This appears when the results must be shown.

mad@Max 04-25-2009 08:50 PM

Hmm. Try in plugin Live Search AJAX find query_read and replace with query_read_slave.
If it not help try in plugin Live Search AJAX find $vbulletin->db and replace with $db.

TAIFUN_T 04-25-2009 11:39 PM

very nice, bro! I click Installed ;)

ЗачОт! ))

externalaw.com 04-27-2009 01:59 AM

<a href="http://www.externalaw.com" target="_blank">www.externalaw.com</a> how can i space it more to the right and make it bigger, like a big huge cute search box

voter 04-27-2009 07:09 PM

Neither changing query_read into query_read_slave nor replacing all $vbulletin->db with $db gives effect, still

Quote:

Fatal error: Cannot use object of type mysqli_result as array in ...vb/ajax.php(69) : eval()'d code on line 119
instead of results.But if no results are possible, say I enter some nonsense, it is doing something and simply "No Results" appearing.

voter 04-27-2009 07:59 PM

I have localized the error.
It is Lines 114 and 115 of Live Search AJAX
$lsuname = $results['username'];
$lsuid = $results['userid'];
I commented it and now the name of thread starter is not shown in search results, but it works.

Seems something or some other plugin conficts with this one and makes immpossible to generate the username and userid.

mad@Max 04-28-2009 12:30 AM

Oh, you right, this variables not using.

externalaw.com 04-28-2009 12:46 AM

how can i space it more to the right and make it bigger, like a big huge cute search box

mad@Max 04-28-2009 12:48 AM

Give me your source code.

mad@Max 04-30-2009 07:43 PM

Version 2.3.1
Important release:)
Added function of users search.
Added interval between request (set in options). This will reduce the load when searching.
Changed instruction of manual integrate.

Dr. Bantham 05-02-2009 12:12 AM

Quote:

Originally Posted by mad@Max (Post 1742594)
About search field:
CSS:
Code:

#tb-searchdiv{float:right;padding:8px 5px 0 0;text-align:center;line-height:13px;cursor:default}#tb-searchdiv a{color:#000;font-size:11px;text-decoration:none;cursor:pointer}#tb-searchbox{padding:4px 11px 11px 22px;width:119px;background:url(images/as4/global/toolbar_searchbox.png) no-repeat;text-align:left;height:14px}#tb-searchbox input{border:0;padding:0;width:119px;background:#fff;color:#000;font:12px/12px 'Lucida Grande',Verdana,sans-serif;height:14px;outline:none;cursor:text}
HTML Code:

                                        <div id="tb-searchdiv"><div id="lsa_window">
                                                <div id="tb-searchbox"><input type="text" id="lsa_input" name="query" tabindex="1001" maxlength="$vboptions[lsa_maxsym]" value="$vbphrase[live_search]" onfocus="if(this.value=='$vbphrase[live_search]' || document.getElementById('lsa_window_menu').style.display == 'none'){this.value=''};<if condition="!in_array($bbuserinfo[usergroupid], array($vboptions[lsa_group]))"> showHint();</if>" onblur="if (this.value==''){this.value='$vbphrase[live_search]'}"<if condition="!in_array($bbuserinfo[usergroupid], array($vboptions[lsa_group]))"> onkeyup="showHint();</if>"/></div>
        <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<if condition="!in_array($bbuserinfo[usergroupid], array($vboptions[lsa_group]))"><script type="text/javascript"> vbmenu_register("lsa_window",1); </script></if></div>
                                                <a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a>
                                                <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>
                                        </form>


Can you please update the graphic searchbox integration for the new version? Thanks!

externalaw.com 05-02-2009 08:56 AM

never mind

dancue 05-02-2009 01:27 PM

mad@max,
I don't know what I'm doing wrong, but I'm not getting anywhere with this. I don't understand what I need to edit?

Where do I find this:
HTML Code:

                <form action="search.php?do=process" method="post">

                    <input type="hidden" name="do" value="process" />
                    <input type="hidden" name="quicksearch" value="1" />
                    <input type="hidden" name="childforums" value="1" />
                    <input type="hidden" name="exactname" value="1" />
                    <input type="hidden" name="s" value="$session[sessionhash]" />
                    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
                    <input type="text" class="bginput" name="query" size="25" tabindex="1001" />
                    <input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" />

                </form>

Excuse my ignorance.

mad@Max 05-02-2009 05:39 PM

I have given this code as an example. Your code should look like this around.

dancue 05-02-2009 06:12 PM

In what template?

rmxs 05-04-2009 11:59 AM

2.3.1 doenst work for me..
I try search and the search doesnt start after 3th letter.
2.2.3 works goooood

mad@Max 05-04-2009 01:38 PM

You set variable $lsainput?


All times are GMT. The time now is 09:32 AM.

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.01446 seconds
  • Memory Usage 1,828KB
  • 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
  • (2)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

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

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