![]() |
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:
|
*Awesome* gonna test :)
|
Thanks Michael, installing.
|
Dose it support other languges
like ARABIC languge .. becouse many mods dosn't support it ^^ |
It is really awesome to see these modifications being released to the public. Now I just wish they were default in VB too.
Thanks. |
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 |
thanks bro nice job
|
Great hack, thanks for releasing it. Im going to install this when I come back from vacation.
|
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 |
Quote:
Mike |
Quote:
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? |
When I ran sheduled task manager, it appeared that. Help me plz
Quote:
|
try to CHMOD it to 777
|
Maybe I placed the dirctory autocomplete in the wrong place, cause i don't understand much about this sentence
Quote:
http://img340.imageshack.us/img340/8076/capturet.jpg |
goody.. will test it ASAP...
|
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? |
Is the author going to provide support for this?
Mike |
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)
|
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 :( |
Quote:
|
any suggestions as to where autocomplete.php file is ?, not in either of the 2 download packages we have d/l
|
There is no autocomplete.php; there is autosearch.php, that goes into your forum root folder; then the cron job .php file goes into the /forumroot/includes/cron folder; that's it in terms of file uploads.
|
Quote:
Quote:
|
Quote:
|
Quote:
|
OK, got this working after uninstall/reinstall...
Apostrophes (') are not working for me in Safari/Firefox (pc & mac). I'm seeing question marks (?) instead. Also, and maybe this is how it's written for now; but it doesn't work in individual forum's search boxes (or sub-forums) for me, but only in the main forum (home) search box (navbar area)...is this as it should be for now? If so, a request...please add it's functionality everywhere! I assume we can change highlight colors etc via CSS (the grey and white color scheme, navy blue highlight etc)? If so, where? Other than that, it's very cool and works for me now. Thank you. |
Hi ! Surely a dumb question but, what is the difference between your hack and the live search hack : https://vborg.vbsupport.ru/showthrea...ghlight=search ??
|
Any feedback from members on this hack?
|
I added this hack to my forum and tweaked the SQL
Following will select only open threads. PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Can this hack be changed so it populates the search box with popular thread titles and not take you directly to the thread?
For example, if someone searches for "Tickle me Elmo", I get a few suggestions. However, when they click on the suggestion, they are taken to very old threads. I would like the thread title to populate the search box and then a regular search is performed based on which auto suggested thread title that was selected. |
I don't understand this:
PHP Code:
PHP Code:
|
Quote:
This number means VIEWS/REPLIES need to be MORE THAN 1000 to get into the list. This works for BIG forums, but may not work on a small forum. If you have a small board you can change the 1000 to 100, and scale it even smaller to include all threads. |
I changed it to "3" and tried it.. hmm, it's not working. I ran the scheduled task and it's saying on there, that it's not been run since january.
I'll try again tomorrow... |
Quote:
|
Well, actually, now I've looked for data.txt (I'd already looked, the code referenced it, I assumed it'd create it) it's not there.
DIR is CHMODDED to 777. Could it be that I don't have SED on my server? How common is it on Linux/Unix Distros? This feature would be sweet for my site.. But Wait, RSS feeds and anything to do with scheduled tasks aren't working either.. looks like I have a conflict in mods. |
When you press RUN NOW button on that specific cron job it has to build the data file; if its not - sed is missing or your cron system is not working for some reason. This is a really simple mod.
|
hmm, ok, so now the data_1256681036.txt files have appeared in my CHMOD'd dir, but still not autocompleting.
I'll go over the installation process and re-do it all.. |
Quote:
Remove this first line: <script src="autocompfiles/jquery-latest.min.js"></script> |
Ok,
I've got it creating the text file properly... now when I'm trying to use the search function nothing is happening. I cut and paste the code in to the template, but still nothing.. it runs, but it does not work on the board. :( |
Quote:
|
All times are GMT. The time now is 04:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|