ACSearch Plugin
By Yohann CIURLIK August 30, 2007, 1:40After my plugin NiceWeb2Css to format your text in WordPress , I started in the development of a second plugin: An autocomplete for the search of WordPress.
ACSearch (AutoCompletion Seaches) to add the autocomplete field of research that fail to WordPress. It gets the words right in your articles.
Screenshot:
Download:
ACSearch plugin (1500)
Installation:
- Download the plugin.
- Extract the file AutoCompletionSearches and copy the directory of plugins (wp-content / plugins / AutoCompletionSearches /).
- Activate the plugin from the admin interface.
- Update the configuration options from the admin interface (Options -> ACSearch).
- WARNING: Check the Search Field ID in the options ACSearch. It must match the ID of your search field. To verify this:
- Go to the theme editor (Theme -> Theme Editor).
- Select the file searchform.php.
- You will find the following code <input type = "text" value = "<? Wp_specialchars php echo ($ s, 1);?>" Name = "s" id = "s" />. Here, the identifier (ID ) is: s
Use:
You simply enter a keyword in the search form to your blog to enjoy the result.
Additions:
If you want to change the CSS , edit autosuggest_inquisitor.css located in the folder AutoCompletionSearches \ css directory of your plugins.
This plugin is based on Ajax Auto Suggest v2.1.3 .
Version history (ChangeLog):
Version 1.0 (August 30, 2007):
- Launch of the first version.
- Does not yet include all the words of the articles.





































[...] Fixed and everything about blogging, Especially with WordPress. Go ahead, subscribe to our feed! ACSearch adds auto-completion to the WordPress search [...]
I wanted to try the search on your order page and nothing Happens firebug shows me plenty of errors on your page.
I Have Problems AND HAD commenting here, There Are Always Some wp-cache2 errors
[...] Plugin Releases for 8 / 31 ACSearch adds auto-completion to the WordPress search [...]
[...] ACSearch Plugin (tags: wordpress plugin) [...]
@ Ovidiu:
Like you say it, give me cache2 wp-somes errors, i have desactivated and All Is it ready.
Hmm, sorry for my English but i am going out ot the bed
[...] Visit [...]
i just installed this plugin on my blog and i love it! thank you!
Thanks to you, Manele
Hello Yohann,
Excellent work from you on this Plugin ... I installed it, it works ... more or less. In fact, I'm in Firefox and when the results are displayed in ... nothing is done ... I can click, I use the enter button, I do not redirect to the page in question ... the problem is exactly the same on your site ... would you have a tips?
Thank you in advance ...
Geoffrey.
I do not understand I can click me.
the problem is when you click on the SEARCH button or when you click on the popup that appears (displaying the search results)?
When the window opens ... ACSearch Plugin by typing, for example, I see two results that appear are Plugins Plugin ... and if I click with my mouse on one of these two results, it does absolutely nothing happens ... it should take me to the search page or to the ticket?
Thank you ...
Well the answer is no
Simply by that when you type a keyword in the search bar and you validate it via the popup results, it is copied into the search bar.
You have the choice to enter a second and a third, etc ... (which will be added after the other one), or click on 'search' when searching directly with the chosen keywords.
Okay ... I understand ... in fact it completes the search ... this is not strictly speaking an engine ... and then I'll mess with the code so that when it is clicked it goes directly to the page search
I also want to ask two other small questions ... can I find somewhere the script that allows you to modify his comments ... and can be found somewhere a second script for the small bar that follows us in the bottom right?
It just made ... it's late tilt at the same time.
Yohann thank you very much!
Thank you.
That's what the plugin was doing early in development so it is I who have chosen this mode of operation.
Research which does not occur on a single word I found inappropriate research does take place in this way.
That voulou good night
[...] ACSearch adds auto-completion to the WordPress search field. [...]
[...] Plugin can be downloaded at spawnrider.net Tags: [...]
Software Development Guide ...
I Could not Understand Some share of this article, it sounds interesting ... view
@ SDG: Thanks!
To sum up: It Is a wordpress plugin Which display a popup window with keywords When you press keys in the Some search field of your blog.
You Have a automatic translation by Google here:
http://www.spawnrider.net/blogs/en/2007/08/30/acsearch/
If you cannot Understand Some Other shares of this article, Can I explain it!
I hope you Understand Me
[...] ACSearch adds auto-completion to the WordPress search field. [...]
[...] ACSearch Enable autocompletion in the search fields. [...]
[...] Searches AutoCompletion 1.00 Allows to suggest search terms. Test it on this site! [...]
[...] AutoCompletionSearch Das kleine net Ajax-bei das Ding Suchanfragen aufpoppt [...]
Thank you for the plugin!
[...] Clean Archive for formatting our archives, we have set up a new plugin ACSearch Plugin, allowing the addition of autocomplete to the search box to refine the [...]
Very nice plugin, goal one annoyance: Once the search term Desired IS self-completed, Seems to interferes with pressing Enter (or Return) to launch the search. I Looked Through the code, and Where Could not find this Happens, deactivating the plugin goal Reliably Makes launch Enter the search (unfortunately, beautiful Without the auto-complete suggestions). Ideas?
The problem Is The JavaScript code used (Ajax AutoSuggest) on my code intercept the Return Key to close the popup window.
If you want to deactivate this function you just Have To what somes lines on the JS file:
In this function: _bsn.AutoSuggest.prototype.onKeyPress = function (ev)
How theses lines:
/ / Case RETURN:
/ / This.setHighlightedValue ();
/ / Bubble = false;
/ / Break;
Could this resolve your problem.
Sincerely,
Spawnrider
[...] [...] OK AutoCompletion Searches
[...] [...] OK AutoCompletion Searches
Hello ... the plugin seems interesting .... but can not find the download link, it appears neither in IE or firefox ....
Merciiiiii
@ Hervek And yes, unfortunately after my move to WordPress 2.5 IMP Download my plugin is not compatible!
I will find a solution ...
Meanwhile: http://www.spawnrider.net/dlx_Files/AutoCompletionSearches.zip
Many thanks
It's good for the download is repaired
[...] When visitors want to get some things, it offered several suggestions. ACSearch Plugin works very well, and just enable it in the admin panel in [...]
Thank you for the plugin, it works nickel! ^ ^
[...] When visitors want to get some things, it offered several suggestions. ACSearch Plugin works very well, and just enable it in the admin panel so that [...]
Yohann, thank you for this plugin that seems interesting. But I can not make it work ... In WP 2.6.2, I have verified that the search field id is "s" in searchform.php - and he makes no suggestion relevant in the search field ... only "excellence" when I sisi the letter "e" or value when it is the letter "v" ... any ideas?
Sincerely,
GM
A big thank you for this great plugin! Adopted!
I have a problem I spell my keywords all of my articles or even drafts spost deleted how to tell it to search only in actually post online?
Another question you know a way that typing a letter m'affiche the full title of the post rather than a single keyword.
thank you for this plugin
See you soon
@ WINS nothing!
@ Gerald I have no idea. Everything works better for me. Someone in this kind of problem?
@ Demyan Thank you!
@ Jonathan there a solution:
Edit the file suggest.php, line 30, you must modify the SQL query so that the information be put together not only to open tickets. To do this, add the close "post_status = 'open'".
The query becomes:
$ Sql = 'SELECT post_content, post_title FROM'. $ Table_prefix. 'Posts WHERE post_content LIKE \'%'.$ input.'% \ 'And post_status = \' open \ ";
If you want to go back only titles, line 43 replace
$ AResult [] = $ word_sanit;
by
$ AResult [] = $ row ['post_title'];
Of course, I have not had time to test but I think you should worry out with this
salvation
thank you for your response you can see the plugin on this address
http://90plan.ovh.net/ playlistp ~ / wordpress /
it works very well. thank you
Now is there a posibility to make it search all the title and not just the first letter? Because in my titles there many keywords and if it is a good first step he finds nothing ...
Another thing is it possible by clicking on a result to arrive directly on the page or it is not anticipated?
It's me or the version does not work on version 2.8.2 of WP?
In fact, the files are not loaded (the css, and js files 2)
thank you
No updates??
[...] Download: http://www.spawnrider.net/blogs/2007/08/30/acsearch/ [...]
Hello,
I can not find the id in my theme, here is the code I have:
<Form id = "searchform" action = "<? Php echo get_option ('home')?>" />
<Input type = "text" name = "s" value = "cashback" onfocus = "if (this.value == this.defaultValue) this.value ='';" onblur =" if (this.value == ' ') this.value = this.defaultValue; "/>
<Input type = "image" src = "<? Php bloginfo ('stylesheet_directory');> / img / spacer.gif" />
</ Form>
Can you help me?
I really tried everything (well I think) but it takes no action .... The plugin is compatible with WordPress 2.9.1? Thank you!
[...] AutoCompletion Searches: allows the search engine to make suggestions for [...]