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)
-   -   Miscellaneous Hacks - Quick search pre-populated results: give your visitors quick thread suggestions (https://vborg.vbsupport.ru/showthread.php?t=222001)

ibautocommunity 08-27-2009 10:00 PM

Quick search pre-populated results: give your visitors quick thread suggestions
 
1 Attachment(s)
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"


TimberFloorAu 08-28-2009 10:17 PM

*Awesome* gonna test :)

Shamil. 08-28-2009 10:57 PM

Thanks Michael, installing.

al-Rsha.com 08-28-2009 11:06 PM

Dose it support other languges
like ARABIC languge ..
becouse many mods dosn't support it ^^

Hornstar 08-29-2009 01:43 AM

It is really awesome to see these modifications being released to the public. Now I just wish they were default in VB too.

Thanks.

Hornstar 08-29-2009 01:58 AM

Does this error mean I don't have Sed on my server or that I have something else disabled on my server?

I was up to the scheduled task part and ran it and got this error:

Warning: system() has been disabled for security reasons in [path]/includes/cron/autocomplete-generate.php on line 21

Warning: system() has been disabled for security reasons in [path]/includes/cron/autocomplete-generate.php on line 22
The file /home/****/***/autocomplete/data_1251514584.txt is not writable

bleros 08-29-2009 02:13 AM

thanks bro nice job

0ptima 08-29-2009 03:43 AM

Great hack, thanks for releasing it. Im going to install this when I come back from vacation.

ctrlbrk 08-29-2009 04:26 AM

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.

Can you take a look please?

http://forum.bigmiketrading.com

Mike

ctrlbrk 08-29-2009 04:27 AM

Quote:

Originally Posted by hornstar1337 (Post 1876163)
Does this error mean I don't have Sed on my server or that I have something else disabled on my server?

I was up to the scheduled task part and ran it and got this error:

Warning: system() has been disabled for security reasons in [path]/includes/cron/autocomplete-generate.php on line 21

Warning: system() has been disabled for security reasons in [path]/includes/cron/autocomplete-generate.php on line 22
The file /home/****/***/autocomplete/data_1251514584.txt is not writable

You probably need to check permissions on your autocomplete directory, make sure it is owned by the same user as your normal forum directory (ie: www-data), and set to 755.

Mike


All times are GMT. The time now is 08:45 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.01148 seconds
  • Memory Usage 1,739KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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