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

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
  #12  
Old 08-29-2009, 05:26 AM
funkmeister funkmeister is offline
 
Join Date: Oct 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ctrlbrk View Post
Hi, this looks fantastic --- except it is not working for me. I ran into no problems or errors, but my search box results are unchanged.
Same here. Followed instructions to the letter. No errors at all. But search box is just as before.

I did lower the number from 1000 to reflect fewer replies and views on my site, but other than that. Just as per the instructions.

Any suggestions?
Reply With Quote
  #13  
Old 08-29-2009, 08:41 AM
Zaivndotcom Zaivndotcom is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I ran sheduled task manager, it appeared that. Help me plz
Quote:
Refreshes autocomplete data

The file /autocomplete/data_1251538806.txt is not writable
Reply With Quote
  #14  
Old 08-29-2009, 08:44 AM
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

try to CHMOD it to 777
Reply With Quote
  #15  
Old 08-29-2009, 09:28 AM
Zaivndotcom Zaivndotcom is offline
 
Join Date: Dec 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Maybe I placed the dirctory autocomplete in the wrong place, cause i don't understand much about this sentence
Quote:
Create writeable directory outside of publicly accessible forum root directory called "autocomplete"

Example: /var/www/autocomplete
Plz tell me exactly where I should create this folder
Reply With Quote
  #16  
Old 08-30-2009, 08:59 AM
NAZIA's Avatar
NAZIA NAZIA is offline
 
Join Date: Feb 2008
Location: Multan Pakistan
Posts: 322
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

goody.. will test it ASAP...
Reply With Quote
  #17  
Old 08-30-2009, 03:58 PM
WildWeb WildWeb is offline
 
Join Date: May 2006
Location: Los Angeles
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this fine work. Seems to be working fine for me.

Question - the autosearch only seems to populate with matches/suggestions when I am in a sub-forum itself and not from Forum Home or any other place on the site. Is this the default behavior or is there something I can change to have it "autocomplete/suggest" topics from anywhere on the site?
Reply With Quote
  #18  
Old 08-30-2009, 10:20 PM
ctrlbrk ctrlbrk is offline
 
Join Date: Nov 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is the author going to provide support for this?

Mike
Reply With Quote
  #19  
Old 08-31-2009, 11:40 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nah, it looks like it is currently not supported by the author, but I am still really glad they shared it. I am currently about to enable the function on my server that was disabled (due to the tightened security on my server)
Reply With Quote
  #20  
Old 08-31-2009, 02:26 PM
goyo goyo is offline
 
Join Date: Mar 2002
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've followed word by word and enabled the system and exec execution in php.ini...unfortunately the cron job doesn't write anything to data.txt (although it creates the file with 0 byte).

We have our own dedicated servers but the hack doesn't work
Reply With Quote
  #21  
Old 08-31-2009, 03:14 PM
ibautocommunity's Avatar
ibautocommunity ibautocommunity is offline
 
Join Date: Jan 2009
Location: Los Angeles, CA
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by goyo View Post
I've followed word by word and enabled the system and exec execution in php.ini...unfortunately the cron job doesn't write anything to data.txt (although it creates the file with 0 byte).

We have our own dedicated servers but the hack doesn't work
Try chmodding the directory and/or the data file 777; it's either not writeable or the server does not have support for "sed".
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 02:41 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.06252 seconds
  • Memory Usage 2,326KB
  • 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
  • (1)bbcode_php
  • (4)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