Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

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
  #222  
Old 03-15-2013, 08:14 AM
27RUS 27RUS is offline
 
Join Date: Jan 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

on my Style i must do this:

in headinclude

after line {vb:raw template_hook.headinclude_javascript}

put this:

<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}lsa_css.css" />
<script type="text/javascript" src="clientscript/ajax_live_search_init.js?v={vb:raw vboptions.simpleversion}"></script>


it was does not work else, i dont know
Reply With Quote
  #223  
Old 03-15-2013, 06:50 PM
Baghira Baghira is offline
 
Join Date: Mar 2011
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does not work for me. I can enter words, but no live search, just normal search
Reply With Quote
  #224  
Old 01-02-2014, 07:05 AM
ckgb ckgb is offline
 
Join Date: Oct 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got it to work on 4.2.2. Had to add a couple things to header and headerinclude. Tested in FF, IE and Chrome. Works the same everywhere but not all the way.

Works by topic name great. Option where search by an individual word inside posts was no good. Comes back empty every time. The following error comes up in the error log:

Code:
Database error in vBulletin 4.2.2:

Invalid SQL:

                                SELECT thread.threadid, thread.lastpostid, thread.forumid AS tforumid, thread.title AS ttitle, forum.title AS ftitle
                                FROM thread AS thread
                                LEFT JOIN forum AS forum ON(thread.forumid = forum.forumid)
                                WHERE MATCH(thread.title) AGAINST (' +seatt' IN BOOLEAN MODE)

                                AND thread.forumid NOT IN (0)
                                AND thread.lastpostid > 0
                                ORDER BY thread.lastpost DESC
                                LIMIT 50;

MySQL Error   : The used table type doesn't support FULLTEXT indexes
Error Number  : 1214
Request Date  : Thursday, January 2nd 2014 @ 07:55:35 AM
Error Date    : Thursday, January 2nd 2014 @ 07:55:35 AM
Script        : http://www.sitename.com/ajaxlivesearch.php?do=search
Classname     : vB_Database
MySQL Version : 5.5.34-cll
Also search should probably include blogs and groups.

Great potential but had to uninstall.
Reply With Quote
  #225  
Old 01-06-2014, 01:50 PM
btedition btedition is offline
 
Join Date: Jun 2012
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this feature, it does however need to search for the string even if it was in-between some other words.

Example (I want to buy a dog)
Current Search: (to buy a) = No results
What needs to be done is get the search engine to look for the string in between other words.

Great work however
Reply With Quote
  #226  
Old 02-18-2014, 06:53 AM
ClaymanX ClaymanX is offline
 
Join Date: Dec 2013
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry but the search dont find words in the middle or end of an text

Fixed, turned the Fulltext search of in the Ajax Live search settings
Reply With Quote
  #227  
Old 08-27-2014, 01:41 PM
twista46 twista46 is offline
 
Join Date: Oct 2008
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works not with vB Social have any Fixx??
Reply With Quote
  #228  
Old 10-20-2014, 09:35 AM
postcd postcd is offline
 
Join Date: Feb 2012
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please how to exclude some categories or forums from the search?
Reply With Quote
  #229  
Old 03-21-2015, 09:00 PM
iyihost iyihost is offline
 
Join Date: Feb 2008
Posts: 92
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesnt work on 4.2.2

edit: disable fulltext seach.
Reply With Quote
  #230  
Old 05-08-2015, 05:38 AM
dariyos dariyos is offline
 
Join Date: Nov 2011
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello..

sometimes I get a db error:


Code:
Datenbankfehler in vBulletin 4.2.2:

Invalid SQL:

				SELECT thread.threadid, thread.lastpostid, thread.forumid AS tforumid, thread.title AS ttitle, forum.title AS ftitle
				FROM thread AS thread
				LEFT JOIN forum AS forum ON(thread.forumid = forum.forumid)
				WHERE MATCH(thread.title) AGAINST (' +verbindun' IN BOOLEAN MODE)
				AND thread.forumid IN (10lsasort=lastpost)
				AND thread.forumid NOT IN (0,18,52,6,16,17)
				AND thread.lastpostid > 0
				ORDER BY thread.lastpost DESC
				LIMIT 50;

MySQL-Fehler  : Unknown column '10lsasort' in 'where clause'
Fehler-Nr.    : 1054
Fehler-Zeit   : Thursday, 23.04.2015 @ 20:52:15
Datum         : Thursday, 23.04.2015 @ 20:52:15
Skript        : http://www.sps-forum.de/ajaxlivesearch.php?do=search
Referrer      : http://www.sps-forum.de/
IP-Adresse    : 
Benutzername  :
Klassenname   : 
MySQL-Version :
Code:
Datenbankfehler in vBulletin 4.2.2:

Invalid SQL:

				SELECT thread.threadid, thread.lastpostid, thread.forumid AS tforumid, thread.title AS ttitle, forum.title AS ftitle
				FROM thread AS thread
				LEFT JOIN forum AS forum ON(thread.forumid = forum.forumid)
				WHERE MATCH(thread.title) AGAINST (' +troggel' IN BOOLEAN MODE)
				AND thread.forumid IN (10lsasort=lastpost)
				AND thread.forumid NOT IN (0,18,52,6,16,17)
				AND thread.lastpostid > 0
				ORDER BY thread.lastpost DESC
				LIMIT 50;

MySQL-Fehler  : Unknown column '10lsasort' in 'where clause'
Fehler-Nr.    : 1054
Fehler-Zeit   : Sunday, 19.04.2015 @ 17:20:11
Datum         : Sunday, 19.04.2015 @ 17:20:11
Skript        : http://www.sps-forum.de/ajaxlivesearch.php?do=search
Referrer      : http://www.sps-forum.de/
IP-Adresse    : 
Benutzername  :
Klassenname   : 
MySQL-Version :
Reply With Quote
  #231  
Old 09-30-2015, 06:12 AM
dariyos dariyos is offline
 
Join Date: Nov 2011
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

another DB Error:

Code:
Datenbankfehler in vBulletin 4.2.3:

Invalid SQL:

				SELECT thread.threadid, thread.lastpostid, thread.forumid AS tforumid, thread.title AS ttitle, forum.title AS ftitle
				FROM thread AS thread
				LEFT JOIN forum AS forum ON(thread.forumid = forum.forumid)
				WHERE MATCH(thread.title) AGAINST (' +BremswegLive +Search' IN BOOLEAN MODE)
				AND thread.forumid IN (28lsasort=lastpost)
				AND thread.forumid NOT IN (0,18,52,6,16,17)
				AND thread.lastpostid > 0
				ORDER BY thread.lastpost DESC
				LIMIT 50;

MySQL-Fehler  : Unknown column '28lsasort' in 'where clause'
Fehler-Nr.    : 1054
Fehler-Zeit   : Tuesday, 29.09.2015 @ 15:18:25
Datum         : Tuesday, 29.09.2015 @ 15:18:25
Skript        : http://www.sps-forum.de/ajaxlivesearch.php?do=search
Referrer      : http://www.sps-forum.de/
IP-Adresse    : 
Benutzername  : caveman
Klassenname   : vB_Database
MySQL-Version :

Code:
Datenbankfehler in vBulletin 4.2.3:

Invalid SQL:

				SELECT thread.threadid, thread.lastpostid, thread.forumid AS tforumid, thread.title AS ttitle, forum.title AS ftitle
				FROM thread AS thread
				LEFT JOIN forum AS forum ON(thread.forumid = forum.forumid)
				WHERE MATCH(thread.title) AGAINST (' +Live +Search' IN BOOLEAN MODE)
				AND thread.forumid IN (28lsasort=lastpost)
				AND thread.forumid NOT IN (0,18,52,6,16,17)
				AND thread.lastpostid > 0
				ORDER BY thread.lastpost DESC
				LIMIT 50;

MySQL-Fehler  : Unknown column '28lsasort' in 'where clause'
Fehler-Nr.    : 1054
Fehler-Zeit   : Tuesday, 29.09.2015 @ 15:18:21
Datum         : Tuesday, 29.09.2015 @ 15:18:21
Skript        : http://www.sps-forum.de/ajaxlivesearch.php?do=search
Referrer      : http://www.sps-forum.de/
IP-Adresse    : 
Benutzername  : caveman
Klassenname   : vB_Database
MySQL-Version :
how can I fix that?
Reply With Quote
Reply

Thread Tools

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 04:31 AM.


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.09527 seconds
  • Memory Usage 2,325KB
  • 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
  • (5)bbcode_code
  • (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
  • (3)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