ACSearch Plugin

By Yohann CIURLIK August 30, 2007, 01:40

After 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:

ACSearch Plugin

Download:
ACSearch plugin (1347)

Installation:

  1. Download the plugin.
  2. Extract the folder, and copy AutoCompletionSearches in the plugins directory (wp-content/plugins/AutoCompletionSearches /).
  3. Activate the plugin from the admin interface.
  4. Update the configuration options from the administration interface (Options -> ACSearch).
  5. CAUTION: Check the ID in the Search Field ACSearch options. It must match the ID of your query. To verify this:
    1. Go to the theme editor (Theme -> Theme Editor).
    2. Select the file searchform.php.
    3. 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.

This article has rained? Subscribe to blog by email or RSS, you will automatically receive the new notes!

This website uses IntenseDebate comments , goal They Are not Currently loaded Because Either your browser does not support JavaScript, or They Did not load fast enough.

45 Comments


1

[...] Fixed and 'everything about blogging, Especially with Wordpress. Go ahead, subscribe to feed o! ACSearch ADDS auto completion to search the WordPress [...]


2
ovidiu August 31, 2007 at 6:53

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


3

[...] Plugin Releases for 8 / 31 ACSearch ADDS auto completion to search the WordPress [...]


4

[...] ACSearch Plugin (tags: wordpress plugin) [...]


5
Yohann CIURLIK August 31, 2007 at 12:51

@ 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 :)


6

[...] Visit [...]


7
Manele September 11, 2007 at 8:03

i just installed this plugin on my blog and i love it! thank you!


8
Yohann CIURLIK September 11, 2007 at 9:45

Thanks to you, Manele :)


9
Geoffrey September 12, 2007 at 2:01

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.


10
Yohann CIURLIK September 12, 2007 at 2:32

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)?


11
Geoffrey September 12, 2007 at 2:53

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 ...


12
Yohann CIURLIK September 12, 2007 at 2:58

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.


13
Geoffrey September 12, 2007 at 3:01

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! "


14
Yohann CIURLIK September 12, 2007 at 3:19

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 :)


15

[...] ACSearch ADDS auto completion to the WordPress search field. [...]


16
"New feature in the blog | idexen blog September 27, 2007 at 13:39

[...] Plugin is downloadable at spawnrider.net Tags: [...]


17
Software Development Guide September 27, 2007 at 15:28

Software Development Guide ...

I Could not Understand Some share of this article, it sounds interesting view ...


18
Yohann CIURLIK September 28, 2007 at 10:59

@ 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 :)


19
Jody Sachse - Wandering the Webernet October 10, 2007 at 3:01

[...] ACSearch ADDS auto completion to the WordPress search field. [...]


20

[...] ACSearch Enable autocompletion in the search fields. [...]


21

Searches [...] autocompletion 1.00 Allows suggest search words. Try it on this site! [...]


22
Das3Zehn Blog »isser wieder da! October 31, 2007 at 17:34

[...] AutoCompletionSearch Das kleine Ajax-net das Ding bei Suchanfragen aufpoppt [...]


23
manele December 10, 2007 at 20:52

Thank you for the plugin!


24

[...] Clean Archive for shaping our records, we just set up a new plugin ACSearch Plugin for adding autocompletion of search field to refine the [...]


25
Jonathan Eunice January 2, 2008 at 18:37

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?


26
Yohann CIURLIK January 2, 2008 at 20:02

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


27

[...] [...] OK autocompletion Searches


28

[...] [...] OK autocompletion Searches


29
hervek April 23, 2008 at 17:18

Hello ... the plugin seems interesting .... but can not find the download link it does not appear in IE or firefox ....

Merciiiiii


30
Yohann CIURLIK April 23, 2008 at 20:17

@ 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


31
hervek April 24, 2008 at 5:19

Many thanks


32
Yohann CIURLIK May 1, 2008 at 16:20

It's good for download, is repaired ;)


33

[...] 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 [...]


34
wins July 1, 2008 at 0:22

Thank you for the plugin, it works spot on! ^ ^


35

[...] 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 [...]


36
Gerald Morales October 27, 2008 at 21:35

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


37
Demyan January 6, 2009 at 22:58

A big thank you for this wonderful plugin! Adopted!


38
jonathan May 19, 2009, 14:31

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


39
Yohann CIURLIK May 19, 2009 at 21:37

@ 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 :)


40
jonathan May 22, 2009 at 15:32

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?


41
Clark July 25th, 2009 at 14:10

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


42
Reno August 30, 2009 at 13:19

No updates????


44
Cam December 27, 2009 at 11:41

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?


45
@ Clippit January 21, 2010 at 15:24

I really tried everything (I think) but it produces no results .... The plugin is compatible with Wordpress 2.9.1? Thank you!

Leave a Comment

Your comment

inicio