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

Reply
 
Thread Tools
Quick search pre-populated results: give your visitors quick thread suggestions Details »»
Quick search pre-populated results: give your visitors quick thread suggestions
Version: 1.00, by ibautocommunity ibautocommunity is offline
Developer Last Online: Jun 2020 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.4 Rating:
Released: 08-27-2009 Last Update: Never Installs: 33
Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

Product video demo: http://www.youtube.com/watch?v=eOUq4Z6R7xI

This product integrates with the quicksearch drop down box in NAVBAR; and suggests popular threads while the visitor is typing in search keywords.

Read INSTRUCTIONS.txt for installation instructions.

NOTICE: To fine-tune and configure "relevancy threshold" you must edit /includes/cron/autocomplete-generate.php file. Default installation assumes you have a big discussion forums and suggests only threads which have more than 1000 replies or 1000 views. Edit this number, the query looks like this:

PHP Code:
// This query needs to be customized on a per site basis
$ac_sql "SELECT * FROM "TABLE_PREFIX ."thread where threadid between ".$startat." AND ".$endat." AND (views > 1000 OR replycount > 1000) AND visible = '1' ORDER by views DESC"

Download Now

File Type: zip autocompsearch1.zip (52.6 KB, 327 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 12-20-2009, 08:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ghostt View Post
bad argument. not to isntall a mod which someone realy need isn't a option!
The other options are to write your own or find someone else willing to write it for you. And saying you don't code is a bad argument - I didn't code either until I started a forum and had ideas about what I needed on my site. I either learned to code or went without. And guess what? I learned to code. (OK, I'm not great at it, but I know enough to get by.)
Reply With Quote
  #53  
Old 12-20-2009, 08:33 PM
Ghostt Ghostt is offline
 
Join Date: Oct 2009
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not everyone has time/wants/comprehension to learn codeing. you cant say someone who need support go learn programming... and make your own Boardsoftware
Reply With Quote
  #54  
Old 12-20-2009, 08:40 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ghostt View Post
not everyone has time/wants/comprehension to learn codeing. you cant say someone who need support go learn programming... and make your own Boardsoftware
OK, but *you* can't say "I don't have the time/wants/comprehension therefore I expect someone else to do it for me."
Reply With Quote
  #55  
Old 12-20-2009, 11:55 PM
0ptima 0ptima is offline
 
Join Date: Feb 2002
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ghostt View Post
No Help`??? THIS MOD IS BROKEN! Can someone pls test it with 3.8.4????!!!!

Works fine on 3.8.4 PL 1
Reply With Quote
  #56  
Old 12-20-2009, 11:55 PM
0ptima 0ptima is offline
 
Join Date: Feb 2002
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Ghostt View Post
2. problem:
it isautocompleting the searchtext but you get redirected to the topic! how to disable that redirection to the topic?
then it would be perfect
replace this
Code:
$("#ac_suggest").result(function(event, data, formatted) {
        if(data)
        {
            location.href = '$vboptions[bburl]/showthread.php?t='+data[1];
        }    
            
    });
with this (just add '//' in front of location.href)

Code:
$("#ac_suggest").result(function(event, data, formatted) {
        if(data)
        {
  //           location.href = '$vboptions[bburl]/showthread.php?t='+data[1];
        }    
            
    });
Reply With Quote
  #57  
Old 12-21-2009, 12:11 PM
Ghostt Ghostt is offline
 
Join Date: Oct 2009
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 0ptima View Post
Works fine on 3.8.4 PL 1
Thanks i test it now ones more on a clean testboard and give you an result by editing this post!
where can be the error?

Quote:
Originally Posted by 0ptima View Post
replace this
Code:
$("#ac_suggest").result(function(event, data, formatted) {
        if(data)
        {
            location.href = '$vboptions[bburl]/showthread.php?t='+data[1];
        }    
            
    });
with this (just add '//' in front of location.href)

Code:
$("#ac_suggest").result(function(event, data, formatted) {
        if(data)
        {
  //           location.href = '$vboptions[bburl]/showthread.php?t='+data[1];
        }    
            
    });
very good i rly hope it works. this mod is very usefull
Reply With Quote
  #58  
Old 12-21-2009, 02:46 PM
Ghostt Ghostt is offline
 
Join Date: Oct 2009
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The mod is working on standart VB style!

but not in my boardstyle..

why it isnt working on my style?

/EDIT
i think i can fix it ,it's working on my style but not in the forumhome!
Reply With Quote
  #59  
Old 12-21-2009, 04:22 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My deepest respect to the Coder and his AddOn, but AJAX Live Search is for me the better choice. It works in all Styles with conjunction in all Plugins without any problems since almost one year
Reply With Quote
  #60  
Old 12-21-2009, 04:30 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I either learned to code or went without.
Well and wise said, Lynne. Exactly this is the point :up:
Reply With Quote
  #61  
Old 12-21-2009, 04:34 PM
Ghostt Ghostt is offline
 
Join Date: Oct 2009
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok ive found the problem.
there was a conflict with my script "smoothscroll.js" a slow "anker" -scroll script
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 11:28 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.05367 seconds
  • Memory Usage 2,338KB
  • 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
  • (4)bbcode_code
  • (1)bbcode_php
  • (7)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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