Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[AJAX] Live Search Details »»
[AJAX] Live Search
Version: 4.0.6, by mad@Max mad@Max is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.x Rating:
Released: 02-09-2010 Last Update: 05-28-2010 Installs: 327
Uses Plugins Template Edits Auto-Templates
Additional Files  
No support by the author.

Description: Search without reload pages: by threads, by users with many sort criteria.

Features:
  • search only, if typed >= 3 symbols;
  • header to window with button close;
  • message about no result;
  • limit number of threads;
  • highlight words in result
  • trim title of thread, if it large (optional)
  • edit position of pop-up window
  • work with vBadvanced
  • limit the number of displayed results
  • group permission
  • search by your own forums
  • sort results of search
  • mod makes only one query to db
  • full compatibility with styles and browsers
  • search by individual words
  • integrate option into standard search
  • search only the specified length of each word
  • users search
  • interval requests
  • wrote 2 js class
  • able to drag'n'drop window
  • Search by threads now produced on an index table thread (fulltext - optional), which increases the speed of search
  • Changed the type of floating window (refused vbmenu)
  • popup transplanted to the div's in tact vb4 (tried to get the maximum sync with the style and API)
  • (for non english users) offer the ability to change the keyboard layout: if by the word search returns zero results, it will try to verify whether the correct layout are the words, checking every word of the existence of the database as a dictionary. In functions_livesearch.php you can find table of characters

Installation:
Upload all files from folder upload to forum folder.
Import product.

History:
4.0.0 - initial release
4.0.1 - fixed some issues, compatibility with 4.0.x
4.0.5 - rewrote js engine
4.0.6 - fix bug with chrome, fix overlay, some js optimization
If you like this hack, please, click INSTALL and Nominate for MOTM

Download Now

File Type: zip [AJAX] Live Search Eng v4.0.6.zip (12.9 KB, 1854 views)

Screenshots

File Type: png lsa4.png (36.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
5 благодарности(ей) от:
btedition, caoanh204, Elric, Slowpoked

Comments
  #142  
Old 08-31-2010, 02:58 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Questions:

1. Why do I have to re-import XML file every time I change the width setting in order to make it actually change the width?

2. If I set search to return just 50 matches, how does the user get to find any matches on other posts or threads that may exist beyond 50? Shouldn't there ne a NEXT 50 button so users can scroll through ALL occurrences of their search request in the whole database?

3. What has been the user experience here in setting the search to 100 or beyond?

Great mod so far... seems to be working well in beta testing with just Moderators using it ... thanks for developing it and fixing earlier problems.

Regards,
Badger
Reply With Quote
  #143  
Old 08-31-2010, 03:09 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bankfodder View Post
This is a sensational search facility.

But what I don't think that Mad@Max has told everyone is that you can also use * ? AND NOT OR w/n as part of your search terms.
What's w/n used for?

I modified the language string to show the use of operators.

Code:
<div align="center"><b>Please type keyword<br>Wildcards Accepted ie: * ? AND NOT OR w/n<\/b><\/div><div align="center">Minimum word length: {1}<br \/>Maximum character: {2}<br \/>Maximum output results: {3}<\/div>
Regards,
Badger
Reply With Quote
  #144  
Old 08-31-2010, 04:07 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance this will ever work with the articles in vBulletin CMS?

Thanks ..

Regards,
Badger
Reply With Quote
  #145  
Old 09-01-2010, 09:02 AM
Cherkez Cherkez is offline
 
Join Date: Jul 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it is not working at my forum too. it has no result when i type words
Reply With Quote
  #146  
Old 09-01-2010, 09:36 AM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Leica.Robbiani View Post
Hi there,


All selected tabs are affected. Open up the "lsa_css.css"-Template and search for "#lsa_cont {". I don't know anymore if I had created this by myself, if you don't find it, create it. Put in the paratheses "z-index: 100;" and all goes fine.

HTML Code:
#lsa_cont {
z-index: 100;
}
Best regards

L.R.
Excellent fix. Thanks
Reply With Quote
  #147  
Old 09-01-2010, 10:26 AM
andreamarucci's Avatar
andreamarucci andreamarucci is offline
 
Join Date: Nov 2005
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a question. The search work but I've tried this and I don't know if this depends from your mod or from VB.

If I try to search for the word "dunlop" for example, the results are shown only when I've finished to type the entire word and not as I type. When I've typed "dunlo" no results are shown but as soon as I type the remaining letter "p" all the results are show.

It's not possible to make that the search is done not on the entire word but also on part of it?
Reply With Quote
  #148  
Old 09-05-2010, 12:49 PM
PaintSplasher's Avatar
PaintSplasher PaintSplasher is offline
 
Join Date: Aug 2005
Location: Germany
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hm,

i get some sql-errors several times, but i can not reproduce it exactly.

Code:
Datenbankfehler in vBulletin 4.0.6:

Invalid SQL:

				SELECT thread.threadid, thread.lastpostid, thread.forumid AS tforumid, thread.title AS ttitle, forum.title AS ftitle
				FROM new_forum_thread AS thread
				LEFT JOIN new_forum_forum AS forum ON(thread.forumid = forum.forumid)
				WHERE MATCH(thread.title) AGAINST (' +Tachol' IN BOOLEAN MODE)
				AND thread.forumid IN (24lsasort=lastpost)
				AND thread.forumid NOT IN (0,58,5,26,29,52,56)
				AND thread.lastpostid > 0
				ORDER BY thread.lastpost DESC
				LIMIT 50;

MySQL-Fehler  : Unknown column '24lsasort' in 'where clause'
Fehler-Nr.    : 1054
Fehler-Zeit   : Sunday, 05.09.2010 @ 15:35:37
Datum         : Sunday, 05.09.2010 @ 15:35:37
Skript        : http://www.fiesta-ka-forum.de/ajaxlivesearch.php?do=search
Referrer      : http://www.fiesta-ka-forum.de/fiesta-mk4-mk5-24/
IP-Adresse    : ******
Benutzername  : *****
Klassenname   : vB_Database
MySQL-Version :
The search seems to work correctly.
Reply With Quote
  #149  
Old 09-05-2010, 03:15 PM
Bankfodder Bankfodder is offline
 
Join Date: Apr 2006
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by andreamarucci View Post
Just a question. The search work but I've tried this and I don't know if this depends from your mod or from VB.

If I try to search for the word "dunlop" for example, the results are shown only when I've finished to type the entire word and not as I type. When I've typed "dunlo" no results are shown but as soon as I type the remaining letter "p" all the results are show.

It's not possible to make that the search is done not on the entire word but also on part of it?
use dun*

that will get what you want
Reply With Quote
  #150  
Old 09-05-2010, 04:38 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, after some pretty thorough testing, I've decided to un-install this mod.

There are some graphics artifacts being complained of by members, including the "live search" phrase appearing behind the search box on some browsers, even though we patched the mod with the "tab" fix mentioned earlier.

Also, we're getting inconsistencies in the search results that don't match what we get with vBulletin's standard search. For example, we search for P14 or P13 and nothing appears in "Live Search" results, whereas in vBulletin's search we get all kinds of hits.

Anyway, thanks again to the author for his efforts. :up:

We'll check back in a few months and see if there's been any refinement of the code.

Regards,
Badger
Reply With Quote
  #151  
Old 09-16-2010, 09:58 AM
Kraxell's Avatar
Kraxell Kraxell is offline
 
Join Date: Jun 2010
Location: Germany
Posts: 481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone know, how i can change the background-color of the results?

Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04855 seconds
  • Memory Usage 2,346KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_html
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (2)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete