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)

Firestar.chkn 02-16-2009 10:03 AM

Mine doesn't give a pop up when I click on the search box. Is there a problem? I didn't do any of the edits, and only did the navbar edit to get it to show above my nav bar. Obviously, I also imported the product. I get the results when I type something in, and press enter, but that's just like the normal search.

Also, is there no way to just replace the default search box from the search drop down menu with this search box, assuming it works, of course?

mad@Max 02-16-2009 01:51 PM

Were can i look on problem?

Firestar.chkn 02-16-2009 05:51 PM

<a href="http://forums.prophecy.co.za" target="_blank">http://forums.prophecy.co.za</a>

Enabling access for unregistered/guests in 1 minute.

EDIT:
Hmmm, this is weird. When I log in with my test user, it works, but not with my admin account. I can see the field with both, but only on the test user does the popup appear. Let me not waste your time. I'll see what I can figure out and then get back to you, if there's still a problem. Thanks for the help any ways!

Firestar.chkn 02-16-2009 05:59 PM

Ok, now something is funny...

I have a thread called "Problems with my hands..."

Now, if I use the search, and I type in
problems

... I get too many results

If I type in "problems with my"
then I get the thread as a result.

However, if I type in
"Hands problems" then I get no results.
"Problem hands" also gives no results.

Is the search case sensitive, or does it search for strings only or does it make use of a contains clause?

mad@Max 02-16-2009 06:00 PM

Maybe you wrong set usergroup permission in hack setting?
Search work only by one word.

Firestar.chkn 02-16-2009 06:02 PM

Yea, for some reason it works fine now, except for the problem described in my post #44 above.

Firestar.chkn 02-16-2009 06:13 PM

Ok, only works on one word. Thanks, I somehow missed that part.

Are there any plans to increase this to multiple words?

mad@Max 02-16-2009 06:26 PM

Yes, i'll plan, but it isn't easy:)

RobbieZ 02-19-2009 02:52 PM

This is my open field search.

HTML Code:

<div class="qsandlogin">
<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" />
        <div class="searchfield"><input name="q" type="text" class="search-quick" value="" /><input name="do" value="process" type="hidden" /></div>                       
        <div class="searchfield"><input name="showposts" value="0" type="hidden" />
        <input name="s" value="" type="hidden" /><input src="images/royalflush/misc/gosearch.gif" type="image" /></div>
        </form>
<a href="search.php">Go Advanced</a>
</div>

any ideas how to insert live search into here?

mad@Max 02-19-2009 03:53 PM

HTML Code:

<div class="qsandlogin">
<h4>Quick Search</h4>
<form id="searchbox_008514742519005312674:stktp-0amaq" action="search.php" method="get">
        <div id="lsa_window">
          <input type="hidden" name="cx" value="008514742519005312674:stktp-0amaq" />
          <input type="hidden" name="cof" value="FORID:9" />
        <div class="searchfield"><input name="q" type="text" class="search-quick" id="lsa_input" maxlength="$vboptions[lsa_maxsym]" value="$vbphrase[live_search]" onfocus="if(this.value=='$vbphrase[live_search]'){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> /><input name="do" value="process" type="hidden" /></div>                       
        <div class="searchfield"><input name="showposts" value="0" type="hidden" />
        <input name="s" value="" type="hidden" /><input src="images/royalflush/misc/gosearch.gif" type="image" /></div>
        </div>
        <if condition="!in_array($bbuserinfo[usergroupid], array($vboptions[lsa_group]))"><script type="text/javascript"> vbmenu_register("lsa_window",1); </script></if>
</form>
<a href="search.php">Go Advanced</a>
</div>


RobbieZ 02-19-2009 04:01 PM

Thanks Maxim :D

rapidphim 02-20-2009 03:22 AM

Max.... I'm not sure if you are able to help me with this but I still have problem with Vietnamese language.

Example: when I typed "những", it returned no result. However, when I type "nhung" it somehow shown "những, nhung,...." on the result box. Is there away to make it search with Vietnamese language?

Thanks.

almohd 02-20-2009 03:42 AM

Wonderful
Thank you

rapidphim 02-20-2009 03:56 PM

hello Max,
Would you please kindly show me how to place the search field on the upper right corner of the header instead of the navbar? Thanks.

mad@Max 02-20-2009 05:27 PM

By forces css :)

rapidphim 02-20-2009 05:57 PM

would you kindly be more specific?

mad@Max 02-20-2009 06:20 PM

You may look on source in demo site.

rapidphim 02-21-2009 12:11 AM

thanks Max... finally I got it to work the way I wanted it. However, I still have couple small challenges that I still need your expertise on.

1/ How to make the search result include information in vbulletin blog?
2/ Where do I go to look for this since 3.8.x version does not include .js file.
Code:

url=url+"?query="+word

star88 02-25-2009 12:05 PM

Geat hack, thank you mad@Max ! * Installed * :)
Just a problem for me: if I do a search with a word with french accents (?, ?, ?...) for example: " s?n?gal " the live search returns No Results.
The same search without french accents " senegal" works.
Do you have an idea to fix the problem ?

rapidphim 02-26-2009 02:01 AM

I do have the same problem with Star88. Words as "những" return no result and also, the result does not pick up information in blog

fukdawrld 02-26-2009 09:50 PM

This is great hack but no search results show for me. It just continues to load only after i click off somewhere else on the page and then click back into the box.

mad@Max 02-26-2009 10:27 PM

For those who get result "no results" try comment or delete this string in plugin Live Search AJAX
PHP Code:

    $query iconv('UTF-8'$stylevar['charset'], $query); 


star88 02-26-2009 11:16 PM

Quote:

Originally Posted by mad@Max (Post 1755586)
For those who get result "no results" try comment or delete this string in plugin Live Search AJAX
PHP Code:

    $query iconv('UTF-8'$stylevar['charset'], $query); 


Thanks for your support. I deleted the line. But it returned "no results" again.

rapidphim 02-27-2009 02:37 AM

I wonder where to find that string on Live Search Ajax? under lsa_script template?

star88 02-27-2009 12:27 PM

Quote:

Originally Posted by rapidphim (Post 1755722)
I wonder where to find that string on Live Search Ajax? under lsa_script template?

check the line 189.

Switch02 02-27-2009 03:32 PM

Thanks very nice ;)

fukdawrld 02-27-2009 04:22 PM

Quote:

Originally Posted by mad@Max (Post 1755586)
For those who get result "no results" try comment or delete this string in plugin Live Search AJAX
PHP Code:

    $query iconv('UTF-8'$stylevar['charset'], $query); 


Same for me..I still have to click off the box and and back in for it to even work..then it pulls up no results

carcomp 03-01-2009 04:34 AM

Here is a small change I made to this mod. It is still ajax, but instead of popping open a box, it just kind "adds" to your screen. Its hard to explain. You'll just have to check it out.

The search bar is in the navbar.
http://www.quad4forums.com

mad@Max 03-01-2009 07:35 AM

How i can look on it?

star88 03-02-2009 12:09 AM

Unfortunately it doesn't work with non-english characters.

rapidphim 03-02-2009 04:28 AM

we are all aware and been waiting patiently for a fix :-)

kmohamed 03-02-2009 04:48 AM

this is really great i luv it

like any great mod need little more imprivment but i think is great work
thanx installed

lowey 03-02-2009 01:36 PM

Absolutely fantastic mod, thank's a lot! :)

The only - very minor - issue that I have is, that some users have to double click on the search form to bring up the popup. It seems, this is only the case when using Firefox or Safari. Maybe someone got an idea on how to fix that?

Keep up the great work!

rapidphim 03-06-2009 01:26 AM

what will be the padding for the toolbar_searchbox.png to show on the left hand side intead of the right ?

dancue 03-10-2009 04:30 AM

Quote:

If you already have opened search field, do following.
Can someone explain what this means?

fukdawrld 03-10-2009 08:21 AM

No luck on results not showing and having to click off the search box issue?

mad@Max 03-10-2009 08:05 PM

Not showing search box?

fukdawrld 03-10-2009 09:36 PM

Yes my results don't show..only the black box...And for the black box to pop up I have to click off the search box and back onto it.

mad@Max 03-10-2009 09:45 PM

I do not fully understand the issues:)
Can you post your site?

fukdawrld 03-11-2009 09:25 AM

Quote:

Originally Posted by mad@Max (Post 1765242)
I do not fully understand the issues:)
Can you post your site?

PM SENT


All times are GMT. The time now is 09:09 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.01536 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
  • (3)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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