ACSearch Plugin
By Yohann CIURLIK August 30, 2007, 01:40After my plugin NiceWeb2Css to format your text in WordPress, I started developing a second plugin: An autocompletion for the search of WordPress.
ACSearch (autocompletion Seaches) adds autocompletion of search box that fail to WordPress. It gets the words directly into your articles.
Screenshot:
Download:
ACSearch plugin (1347)
Installation:
- Download the plugin.
- Extract the folder, and copy AutoCompletionSearches in the plugins directory (wp-content/plugins/AutoCompletionSearches /).
- Activate the plugin from the admin interface.
- Update the configuration options from the administration interface (Options -> ACSearch).
- CAUTION: Check the ID in the Search Field ACSearch options. It must match the ID of your query. 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 assess the result.
Additions:
If you want to change the CSS, change the file 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):
- Posted the first version.
- Does not yet include all the words articles.





































[...] Fixed and 'everything about blogging, Especially with Wordpress. Go ahead, subscribe to feed o! ACSearch ADDS auto completion to search the WordPress [...]
I wanted to try the search on your goal page and nothing Happens firebug shows me plenty of errors on your page.
I Have Problems AND HAD Commenting here, There Are Some Always wp-cache2 errors
[...] Plugin Releases for 8 / 31 ACSearch ADDS auto completion to search the WordPress [...]
[...] ACSearch Plugin (tags: wordpress plugin) [...]
@ Ovidiu:
Like you say it, wp-somes cache2 give me errors, i have desactivated it and all is 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 on your part on this plugin ... I've installed it, it works more or less .... In fact, I'm in Firefox and when the results are displayed in the ... 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 me I can click.
the problem is when you click on the SEARCH button or when you click on the popup that opens (the one displaying the search results)?
When the window opens ... ACSearch typing Plugin example, I see two results that appear are Plugins Plugin and ... if I click 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 into the search bar and you validate it via the popup results, it replicates itself in the search bar.
You have the choice to enter a second and then a third, etc ... (added after the other one), or click on 'search' to search directly with chosen keywords.
Okay ... I understand ... in fact it complements research ... it is not strictly speaking an engine ... and then I'm going to tamper with the code when you clicked it goes directly to the page search
I also want to ask two more quick questions ... can you find somewhere the script to modify his comments ... and we can find somewhere a second script for the small bar that follows us down right?
It just made ... it's late tilt at the same time.
Yohann much thank you! "
Thank you very much.
That is what the plugin was doing early in development so it is I who chose this mode of operation.
Not carried out a search on a single word I found that the improper search will be done this way.
Voili sending as good night
[...] ACSearch ADDS auto completion to the WordPress search field. [...]
[...] Plugin is downloadable 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 to display popup window Which 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 Can not Understand Some Other shares of this article, I can 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 suggest search words. Try it on this site! [...]
[...] AutoCompletionSearch Das kleine Ajax-net das Ding bei Suchanfragen aufpoppt [...]
Thank you for the plugin!
[...] Clean Archive for shaping our records, we just set up a new plugin ACSearch Plugin for adding autocompletion of search field to refine the [...]
Very nice plugin, view one annoyance: Once the search term Desired IS self-Completed, interferes with laundry Seems to Enter (or Return) to launch the search. I Looked Through The Code, and "could not find WHERE this Happens, goal deactivating the plugin Reliably Enter Makes launch The Search (Unfortunately, beautiful Without the auto-complete suggestion). Ideas?
The Problem Is The Code Used Javascript (Ajax AutoSuggest) on my code intercept the Return Key to close the popup window.
If you want to deactivate function cette you just Have to how 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;
This "could resolve your problem.
Sincerely,
Spawnrider
[...] [...] OK autocompletion Searches
[...] [...] OK autocompletion Searches
Hello ... the plugin seems interesting .... but can not find the download link it does not appear in IE or firefox ....
Merciiiiii
@ Hervek And yes, unfortunately due to 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 download, is repaired
[...] When visitors want to get some things, it proposed several suggestions. ACSearch Plugin works very well, and just enable it in the admin panel for [...]
Thank you for the plugin, it works spot on! ^ ^
[...] When visitors want to get some things, several suggestions are offered to him. ACSearch Plugin works very well, and just enable it in the admin panel for it [...]
Yohann, thank you for this plugin that seems interesting. But I can not get it to work ... In WP 2.6.2, I have verified that the search field id is "s" in searchform.php - and there is no suggestion in the relevant field of research ... only "excellent" when I sisi the letter "e" or value when it is the letter "v" ... an idea?
Sincerely,
GM
A big thank you for this wonderful plugin! Adopted!
I have a problem me he comes out of my keywords all drafts of articles, even spost deleted or how to tell it to search only in the post actually online?
Another issue you a way to experience that typing a letter myself out the full title of the post rather than a keyword.
thank you for this plugin
A bientot
@ Wins anything!
Gerald @ I have no idea. Everything works for the best in me. Someone in this kind of problems?
@ Demyan Thanks!
Jonathan @ there a solution:
Edit the file suggest.php, line 30, you must change the SQL query so that the information not be reassembled as tickets open. To do this we must add the Click "post_status = 'open'.
The motion 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 replaces
$ AResults [] = $ word_sanit;
by
$ AResults [] = $ row ['post_title'];
Of course, I have not had time to test but I think you should get by with it
salvation
thank you for your reply 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 for this search in all the title and not just the first letter? Because in my titles there are many keywords and if he types the correct first he found nothing ...
Another thing is it possible by clicking on one matches to arrive directly on the page or it is not planned?
It's me or the version does not work on version 2.8.2 of WP?
in fact, the files are not loaded (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 (I think) but it produces no results .... The plugin is compatible with Wordpress 2.9.1? Thank you!