Current version: 2.0

Diese Seite ist nur auf Englisch verfügbar. (Sie darf aber gerne auf Deutsch kommentiert werden.)

Let’s be honest: the search function included with WordPress is pretty dull. But now there is Advanced Search, and it’s definitely the plugin you are looking for. It does not only provide a bunch of advanced search options to tune the search, but it also uses a much more effective search method: MySQL’s fulltext search. The Advanced Search plugin is Free Software licensed under the GNU GPL.

Advanced Search can be either used as a full-blown form on a dedicated page, or it can be used in the sidebar as a lightweight form (AS Lite). And the best: All the great options and features can easily be fine-tuned by you, the blog owner!

Overview

Features

The search itself:

  • Intelligent Search: Can search for for words instead of strings (visitors can switch),
  • Supports usage of boolean operators,
  • Allows limiting the search to one or more categories and/or authors as well as user-defined periods,
  • Allows setting the search scope to posts, pages and/or comments,
  • Search results can be ranked by relevance or date,

Other features:

  • Features multi-color searchterm highlighting,
  • You can use both versions, or only one – just as you like,
  • Can invisibly replace the internal WordPress search,
  • Sidebar form can be integrated as widget or template function,
  • Form elements of large and lite form can be turned on/off via config file,
  • Easy styling via dedicated CSS files.

Installation

Download

version 2.0, for WordPress 2.3 and higher

Please consider coming back for a donation. You’ll support our efforts and receive a backlink.

Have problems unpacking archives? Try the latest 7zip.

Download

version 0.6, for WordPress 2.0.x

Please consider coming back for a donation. You’ll support our efforts and receive a backlink.

Have problems unpacking archives? Try the latest 7zip.

First …

  • Download the correct package for your WordPress installation. The first package is for WordPress 2.3 or higher, the latter is for the legacy 2.0.x branch.
  • Unpack it and upload the folder advancedsearch to your plugins directory,

The next steps depend on what usage you have in mind:

… if you want a full-blown search form on a dedicated page (the only option for the 0.6 version):

  • Activate the plugin Advanced Search in your admin panel,
  • Create a new page with the title “Advanced Search” (or whatever you like), and the content <!--advancedsearch-->
  • You might want to exclude the link from your pages listing in the sidebar and create another link to your Advanced Search page somewhere else,
  • If you want, customize the CSS in the plugin’s advancedsearch.css to suit your taste. (for 0.6: copy the contents of ctas.css to your main CSS file.)

… if you want a sidebar search form:

  • Activate the plugin Advanced Search Lite in your admin panel,
  • If you use widgets, go to the widget configuration and drag&drop the Advanced Search Lite to a suitable place in your sidebar(s).
  • If you like hacking the templates old-school, open your sidebar.php and insert the following code <?php if ('true' == ASL_ACTIVE) echo as_form('asl') ?>.
  • If you want, customize the CSS in the plugin’s advancedsearch-lite.css to suit your taste.

… if you want both:

  • Activate both Advanced Search and Advanced Search Lite, proceed as described above.

… if you want only the FULLTEXT feature for the built-in search form:

  • Activate either Advanced Search or Advanced Search Lite, then activate the universal search, as described in the advanced instructions (see below).

Upgrading

If you are upgrading, delete the Advanced Search plugin folder from your wp-content/plugins directory, then proceed as described above.

What else?

You can do a lot more with the Advanced Search Plugin. Details on enhancement, configuration, translation and technological background are available on the advanced instructions page. For frequently asked questions (and before posting a comment!), please refer to the FAQs.

Feedback and improvments are as always highly welcome. Please leave a comment below. That’s it! Have a lot of fun with the Advanced Search plugin!

In case you need individual, advanced support: Zirona also provides professional support for this software and its integration on your website (as well as WordPress support in general). Please don’t hesitate to contact us and ask about our services.

297 Kommentare zu „WordPress Advanced Search“

  1. Monika am 7. Oktober 2006 um 19:08 #

    Hi
    length ist ein nicht wirklich erwünschtes Attribut bei input ..
    außerdem kann man es dann nicht via style.css designen.

    ich habe in meinen Testbeiträgen viele pre Tags drin. Die erweiterte Suche von Dir findet diese Beiträge nicht.

    also wenn ich nach pre Suche kommt nichts, nur die hauseigne Fehleranzeige von mir. ich lande aber auch nicht wieder auf der erweiterten Suche - muss man da die statische Seite anpassen.

    ich habe die Überschrift Pingback in meinen Blog , aber das Plugin findet diese nicht.

    so weitertesten geh und danke sag… ;)
    da test ich gern und suche ;)

  2. Alex Günsche am 7. Oktober 2006 um 20:06 #

    Hallöchen,

    length ist ein nicht wirklich erwünschtes Attribut bei input ..
    außerdem kann man es dann nicht via style.css designen.

    Ich dachte eigentlich, dass die length ein gerade benutzerfreundliches Attribut ist. :-? Und bei mir funktioniert es eigentlich ganz gut, das Feld mit width anzupassen.

    ich habe in meinen Testbeiträgen viele pre Tags drin. Die erweiterte Suche von Dir findet diese Beiträge nicht.

    Das ist eines der weniger schönen Features der Volltext-Suche, die ignoriert nämlich von Haus aus Wörter mit weniger als vier Buchstaben. Falls Du aber Zugriff auf die MySQL-Konfiguration auf Deinem Server hast, kannst Du diesen Wert ändern.

    also wenn ich nach pre Suche kommt nichts, nur die hauseigne Fehleranzeige von mir. ich lande aber auch nicht wieder auf der erweiterten Suche - muss man da die statische Seite anpassen.

    Jep, das bietet sich an. Werde ich auch in die Dokumentation reinschreiben.

    ich habe die Überschrift Pingback in meinen Blog , aber das Plugin findet diese nicht.

    Seltsam… hast Du exakt nach Pingback gesucht, oder Ping* oder Ping?

    so weitertesten geh und danke sag… ;)
    da test ich gern und suche

    Das wäre super! :-D

  3. Monika am 7. Oktober 2006 um 21:50 #

    Hi maxlength damit kann man die maximale Anzahl an Eingaben beschränken, also maxlength 50 bedeutet mehr als 50 Zeichen können nicht hineingetippt werden,

    mich störts nicht, weil ich die Formulare sowieso alle auf xhtml ummodele :-)
    fieldset legend label sind meine steten Begleiter ;)

    ich versteh das mit den drei Zeichen , doch wieso kann das die simple hauseigne Suche von WordPress ?

    Trackbacks/Pings
    suche ich da nach Pings kommt ein nicht gefunden

    :( das ist irre umständlich irgendwie -ist das nicht änderbar..
    so eine erweiterte Suche wäre sonst der Hammer

    snief weiter testen geh
    lg

  4. LK am 8. Oktober 2006 um 01:22 #

    Great work. Your plugins are awesome. Any chance that you’ll be adding support for searching custom fields to this plugin?

  5. Alex Günsche am 8. Oktober 2006 um 13:27 #

    Hi LK,

    glad you like my work :-)

    Any chance that you’ll be adding support for searching custom fields to this plugin?

    Absolutely. There will be support for Tags, Meta-Info and custom fields in one of the next versions.

  6. Alex Günsche am 8. Oktober 2006 um 13:38 #

    Hallo Monika,

    Hi maxlength damit kann man die maximale Anzahl an Eingaben beschränken, also maxlength 50 bedeutet mehr als 50 Zeichen können nicht hineingetippt werden,

    Ich Depp, ich habe length mit size verwechselt. Du hast natürlich recht, und ich werde das in der nächsten Version rausnehmen.

    ich versteh das mit den drei Zeichen , doch wieso kann das die simple hauseigne Suche von WordPress ?

    Das mit den 3 Zeichen ist eine Spezialität der Volltextsuche, da sie nach Wörtern und nicht nach Zeichenketten sucht. Die simple Suche prüft nur eine Zeichenkette gegen einen Datenbankeintrag, und da ist die Länge des Suchbegriffs egal.

    Trackbacks/Pings
    suche ich da nach Pings kommt ein nicht gefunden
    :( das ist irre umständlich irgendwie -ist das nicht änderbar..

    Kann sein, dass der Schrägstrich nicht als Trennzeichen interpretiert wird.

    so eine erweiterte Suche wäre sonst der Hammer

    Soweit ich weiß, arbeiten alle erweiterten Suchen in CMSen u.ä. auf Basis von MySQL-Datenbanken (z.B. auch die Wikipedia) mit dieser Volltext-Suche. Ich werde mir mal anschauen, wie die solche Probleme lösen.

  7. LK am 9. Oktober 2006 um 00:52 #

    Glad to hear that custom fields will be included in upcoming release!

    My dream would be to have an option to search on each custom field separately. For example:

    - in box 1, search for posts that have value X for custom field A
    - in box 2, search for posts that have value Y for custom field B
    - the search result would return just posts that meet both criteria

    That might be outside the scope of what you’re envisioning, but I think it would be helpful for those of us using WP for more CMS purposes. (We’re trying to create a searchable directory of homeless shelters.) Thanks for your contribution of this code!

  8. Jo am 9. Oktober 2006 um 14:04 #

    I’ve installed the plugin and it seems to be working ok (1000+ posts) though I’d prefer it if the categories were listed in the same way as I list them in the sidebar: alphabetically and with the child categories under the parent.

    Also, on my results page, I’ve set it up so that it says “search results for [search term]”. But the results from this plugin come up as “search results for advanced”, no matter what the search term was.

    Any thoughts on how to change either of those?

  9. Alex Günsche am 9. Oktober 2006 um 15:30 #

    Hi Jo,

    I’ve installed the plugin and it seems to be working ok (1000+ posts) though I’d prefer it if the categories were listed in the same way as I list them in the sidebar: alphabetically and with the child categories under the parent.

    Good news: Both features are in development and planned for the next release. :-)

    Also, on my results page, I’ve set it up so that it says “search results for [search term]”. But the results from this plugin come up as “search results for advanced”, no matter what the search term was.

    Yes, I know. This is also a thing I’m working on.

  10. Jo am 9. Oktober 2006 um 18:02 #

    Cool :)

  11. http://irregulartimes.com/ am 10. Oktober 2006 um 14:09 #

    Advanced Search Added to Irregular Times…

    For a few years, Irregular Times has had a simple text search box available, but because we have written nearly 3,000 blog entries the sheer number of results often turns out to be unreasonably large. For more focused searching, we have added an advan…

  12. SG am 16. Oktober 2006 um 15:16 #

    Alex, it shows only 4 categories for me. I installed it as it said. My advanced Search page.

    I want an option to include it’s php code in the sidebar so that it shows up the sidebar.

    As Jo stated I also want it to show all Categories and Subcategories in a tree like format with alphabetical sorting of the Categories. Thanks.

  13. SG am 16. Oktober 2006 um 15:19 #

    Also I want it to hide empty categories or subcategories and show the no of posts count next to Category or Subcategory name. Thanks.

  14. SG am 16. Oktober 2006 um 15:34 #

    Sorry this is the third request:

    An option to select or deselect all categories and subcategories. This will be very useful to if I want to check only a few categories and search in them. Otherwise I have to search only in 1 or 2 categories, I have to manually deselect all the other Categories which are 130 in number which is too much work.

    An option that when I check one category, all subcategories in that parent Category should get checked. This will allow me to search very easily in all the posts in one specific category which has many subcategories. My parent category normally does not have any posts and I think it is the same for many others. Thanks.

  15. Alex Günsche am 16. Oktober 2006 um 16:57 #

    Hello Swami (SG),

    The plugin actually offers your requirements for the category output (with some settings changed in the call to the function ctas_form_cats()).

    For your more specific requests, I answered to the mail you sent me.

  16. Jeremy am 29. Oktober 2006 um 17:34 #

    Hey Alex,

    I really love the Advanced Search plugin. However, after upgrading it this morning, it stopped working properly. The advanced search page turns up just fine, with everything in place (http://www.axesandalleys.com/aa-advanced-search/), but when I perform a search, no results come up on the page, just a big blank area with nothing in it. Any thoughts?

  17. Alex Günsche am 29. Oktober 2006 um 19:58 #

    Hi Jeremy,

    I can not reproduce your problem. A search for sport for example does return results on your site. What is true is that an unsuccessful search returns a blank page. But this is not a matter with the plugin, but rather your search.php.

  18. Jeremy am 29. Oktober 2006 um 20:23 #

    Thanks for the quick turnaround Alex. I must have either been putting in unsuccessful terms or fixed something with the site that was affecting Advanced Search in the past couple of hours. It’s working just fine right now. Love the new highlighted terms. Thanks!

  19. Rub3X am 31. Oktober 2006 um 00:25 #

    Whenever I search the comments it has an SQL error..here is an example

  20. Alex Günsche am 31. Oktober 2006 um 00:33 #

    Oh my… I realize there is a snippet of code which I forgot to remove after playing around. Please remove line 426 (the line with WITH QUERY EXPANSION) in the plugin file and try again.

    If that doesn’t solve the problem, which is your MySQL version?

  21. Rub3X am 31. Oktober 2006 um 05:17 #

    That worked. Sorry about breaking your theme I figured it would auto truncate the URL. You should get the plugin to make it do that ;)

  22. Alex Günsche am 31. Oktober 2006 um 10:13 #

    That worked.

    Fine. I can imagine you’ll not be the only one with this problem. (Although it does work with others.)

    Sorry about breaking your theme I figured it would auto truncate the URL. You should get the plugin to make it do that

    Nevermind, I edited you comment before approving anyway. But you’re right, such a plugin would make sense. Unfortunately, I didn’t come accross such a plugin yet.

  23. Marcus Schultz-Bergin am 15. November 2006 um 01:44 #

    Hello,

    Thanks for the plugin, but I am having trouble trying to figure out how to edit the look of the search page. The method for establishing the look of the page is different then what I am used to. I was wondering if there are any instructions somewhere they will aid in editing the output.

    Thanks

  24. Alex Günsche am 15. November 2006 um 11:34 #

    Hello Marcus,

    could you please explain, what exactly you are trying to do? Are you trying to create a template or do you have trouble with the CSS?

  25. Marcus Schultz-Bergin am 16. November 2006 um 00:27 #

    Hello Alex,

    I am fine with both CSS and WP template creation, my issue is getting the search to look different in its output. For instance, in the links above to see the advanced search in action, the last one is for BballCity and you even mention that it is “lightweight”, etc. I would like to set up something like that… but when I look in the php file for the advanced search you don’t have one specific section for the output, but instead output different parts all over the file.
    I am just having a hard time comparing the output (on my webpage) with the code, since its not centrally located.

    On a slightly related note, perhaps you could start putting out ’search templates’ to change the way it looks without the user having to do much. But I am totally willing to change my search myself, if only I could come to terms with the php file.

  26. Alex Günsche am 16. November 2006 um 08:10 #

    you don’t have one specific section for the output, but instead output different parts all over the file.

    Apparently, it’s too obvious. ;-) There is the function ctas_form() at the very top of the plugin file which cumulates a set of other functions to compose the search form.

    As I wrote in the Advanced Howto, you can create a new template and use the contents of ctas_form() to exactly reproduce the search form on this template page. If you want to exclude sections, you can simply remove the according function (and possibly some HTML chunks). This is the way to go, and this is the way it has been done on Bbcity and a couple of other pages.

    I think this should also answer your “related note”. ;-)

  27. Phil am 21. November 2006 um 02:01 #

    first, thanks for your work. Hi have wordpress 2.0.5 with the default theme and I follow the procedure but when I go to the advanced search page…it’s blank. Any idee?

    Phil

  28. Phil am 21. November 2006 um 03:46 #

    Sorry, I don’t know why but now that work. :)

  29. goxu am 24. November 2006 um 13:14 #

    Hi,

    I’ts so cool plugin.

    I’m wodering if it is only me to get 0 results and redirected to the index when searching by ‘php.’ Does others also have this problem?

  30. pavonic am 24. November 2006 um 15:18 #

    Hi,

    I’m using WP 2.05 with polyglot plugin. This plugin change the WP locale dinamically by user request.

    I had to make the following changes to your plugin so that the related .mo file inside /advancedsearch/ln10/ got loaded corrispondently.

    1)
    I moved the load_plugin_textdomain() call inside and on top of the ctas_init() function.

    2)
    I replaced the WP_LANG defines used in the ctas_hintpopup() with the global $locale variable.

    Thanks for your great plugin!
    Cristian

  31. Alex Günsche am 24. November 2006 um 17:23 #

    goxu,

    a unsuccessful search can have various reasons. One can be that your language doesn’t have word boundaries such as blanks or commas. These characters are needed by MySQL to recognize the words within a search query. Another reason for failure are too short search term. By default, MySQL ignores words with three letters and less in order to improve performance. One can change this setting, but this requires access to the server’s MySQL configuration.

    Christian,

    that sounds interesting. I also use the Polyglot plugin, and I solved the problem by (a) adding the translations to my global language file and (b) determining the current language via $polyglot_settings['lang_pref']. Using the $locale variable is a great idea; I thank you for your enlightenment, and I’ll include it in the next release.

    However, I was not able to reproduce the load_plugin_textdomain() hack. I have to admit that it doesn’t make sense to me, as the function is executed anyway when the file is loaded. Could you please give me some more details on how to achieve this? I really love Polyglot, and I would love to see both plugins working together “out of the box”. Correction: It does work! My mistake was that I had deleted the the reference to the plugin’s language file as I wanted to use the global one. Now it works perfect, thank you very much!

  32. clare am 28. November 2006 um 03:27 #

    Thank you for the great plugin - I was wondering if it was possible to customise this even further and search through custom fields as well.

  33. Alex Günsche am 28. November 2006 um 11:28 #

    This is definitely a good idea, but the problem is the database structure of the wp_postmeta table (when it comes to custom fields). The custom fields are not arranged in a row, but their values are spread over multiple rows inside one column. While this surely makes sense for the usual duties of this data, it is — due to the nature of the SQL queries — virtually impossible (or at least ) to integrate this into a search, especially a MySQL fulltext search.

  34. clare am 28. November 2006 um 18:38 #

    I see what you’re saying. This is a pity.

    Perhaps a separate search function would work to search only the meta keys.

  35. manuel am 8. Dezember 2006 um 10:10 #

    Hi, thanks it is a great plugin.
    I would like to ask you if will be any way to use it with wordpress mu (multy user). I’m looking for a pluging or hack to have the possibily to make search across a blog comunity using tags too. Any clues will be wellcome, Thanks. Can I use avanced search for this?
    Thanks again for your work

  36. Alex Günsche am 8. Dezember 2006 um 15:00 #

    Hi manuel,

    I think it would be technically possible with some effort, but I have to admit that I haven’t occupied too much with WPµ so far. I could do an implementation, but… well, that would be far beyond free support. ;-)

  37. Rose Kane am 13. Dezember 2006 um 22:26 #

    Guten Abend Alex,

    eine Frage: Die normale Suchfunktion von WP findet keine statischen Seiten (Pages). Kann das dein Plugin? Bzw. findet dein Plugin beides (stat. Seiten & nichtstat. -> Blogbeiträge/Kategorien)?

    Danke für die Auskunft.

    LG
    R.K.

  38. Vroomfogle am 14. Dezember 2006 um 00:39 #

    Hi,

    I seem to be having some problems performing a search. I get a WP error like this:

    WordPress database error: [You have an error in your SQL syntax near ‘BOOLEAN MODE ) AND post_date_gmt

  39. Alex Günsche am 14. Dezember 2006 um 00:55 #

    Rose Kane,

    ja… das Plugin findet einfach ALLES! :-P

    Vroomfogle,

    this error indicates that you have a MySQL version older than 4.0, which means that it hasn’t boolean mode implemented. If you want, you can remove the words IN BOOLEAN MODE from the SQL code in the plugin file. This will result in a different search behaviour considering the results and the ranking, but it will at least allow you to use the Advanced Search. Alternatively, upgrade to a newer MySQL version.

  40. Rose Kane am 14. Dezember 2006 um 03:22 #

    Alex, okay, dann werde ich das doch glatt mal die Tage testen. );°) Ich berichte dann …

    LG
    R.K.

  41. Vroomfogle am 20. Dezember 2006 um 03:21 #

    Alex - thanks. I upgraded and things work as expected now, except one issue.

    I’m actually running my own plugin to do sorting by custom fields. It uses the posts_join and posts orderby filters. I’m also running a plugin to split results among multiple pages. Well, these plugins aren’t working nicely with the advanced search. Specifically I would like Advanced Search to return all results without breaking into pages itself so pagenavi can deal with it. Secondly, I’d like retain my ordering. Any idea what/where I may need to modify to get these plugins working together?

    Another problem is that the category list is truncated in the search form. There’s no scroll bar to look through all categories, just the top several categories can be seen. Any suggestions?

    Thanks!

  42. Alex Günsche am 20. Dezember 2006 um 12:27 #

    Hi,

    I’m actually running my own plugin to do sorting by custom fields. It uses the posts_join and posts orderby filters. I’m also running a plugin to split results among multiple pages. Well, these plugins aren’t working nicely with the advanced search.

    Yes, that’s an unfortunate, yet expectable issue. The Advanced Search uses a special query syntax and is inserted via the very early posts_request API filter, while the WordPress filters for your plugins only modify the already inserted query. Thus, conflicts are very likely.

    Specifically I would like Advanced Search to return all results without breaking into pages itself so pagenavi can deal with it.

    This is no problem, you just need to remove the LIMIT parameter from the SQL query.

    Secondly, I’d like retain my ordering.

    I don’t know if I got you right… The Advanced Search can return results ordered by relevance score related to the search terms, and it can order by timestamp (both ascending or descending). Your visitors can set these parameters at the bottom of the search form, and you can change the default presets in the plugin file. You could even choose a different field to sort by (in the SQL query), provided it is in the wp_posts table.

    Another problem is that the category list is truncated in the search form.

    This is a problem which appears to be caused by another plugin (see comment #12 on this page). I’d suggest to do the good ole try’n'error to determine the blocker and have a look what in this plugin might cause the trouble.

  43. Vroomfogle am 20. Dezember 2006 um 14:46 #

    Alex, thanks for the info again. What I mean about ordering is that I’m ordering my custom fields. My ‘blog’ actually doesn’t use time at all, it uses only custom fields to order by (it’s a timeline for a fictitious world). So I actually don’t want to sort by relevance OR chronologically. I just want it to return all results so I can then sort by custom fields (i’m using usermeta plugin which utilizes a separate table).

    I’ll play with my plugins. I suspect fold_category_list to be the culprit.

  44. Alex Günsche am 21. Dezember 2006 um 15:10 #

    I just want it to return all results so I can then sort by custom fields (i’m using usermeta plugin which utilizes a separate table).

    I’m afraid, in this case the only solution would be to hack another INNER JOIN on the respective table into the plugin’s SQL and adapt the form elements accordingly.

  45. Rirath am 25. Dezember 2006 um 01:13 #

    I’ll be using this just as soon as it includes support for tags and meta-info. Otherwise, looks great. I’m assuming it’s possible to show just the search form and hide all the advance options, to seamlessly replace the default search.

  46. Alex Günsche am 26. Dezember 2006 um 13:12 #

    I’m assuming it’s possible to show just the search form and hide all the advance options, to seamlessly replace the default search.

    You can achieve this by taking the ready form and inserting hidden input fields with your presets. For hints on composing custom search forms, please see the advanced tutorial.

  47. Nobbi am 26. Dezember 2006 um 21:53 #

    Hi Alex,

    ich möchte nicht versäumen, zur Info auch zwei Seiten zu nennen, bei denen Advanced Search in der aktuellen Version 0.4 läuft:
    http://www.webnobbi.de (oder .eu *g*)
    http://www.pro-goch.de

    Seeehr schönes Plugin und auch das Update ging absolut problemlos über die Bühne :-) .

  48. Marco am 3. Januar 2007 um 14:28 #

    Hi,
    I’ve tried ypur plugin but features
    “Allows limiting the search to one or more categories”
    do not works…
    I’ve tried on “advanced search” your site but do not works…
    Regards Marco

  49. Alex Günsche am 3. Januar 2007 um 15:44 #

    Hi Marco,

    could you please describe your problem a bit more specifically? What did you try, what happened, and what would you have expected?

    And could you please give me a link to your website?

  50. Marco am 3. Januar 2007 um 15:54 #

    Hi Alex…
    example: in your site go to advanced search http://www.zirona.com/erweiterte-suche/ and in search query insert Herbert Hanewinkel …select only category Meinung and exclude other categories.. after try to search.

    If I exclude category software and Wissenswertes post “Encrypted contact forms for WordPress” is visible. Do you understand?
    Thanks

  51. Christophe am 4. Januar 2007 um 16:26 #

    Tolles Ding, nur ich finde im Quelltext nicht, wie man das Ding in der Breite anpassen kann. Es sprengt mein Layout total.

    Wie ändere ich das?

  52. Alex Günsche am 5. Januar 2007 um 19:25 #

    Hello Marco,

    that’s weird indeed. I have to check whether this is a new error in version 0.4. or if it has to do with my site (as I have imported posts from another blog, which might have messed up my installation).

    Christophe,

    das sollte eigentlich alles wunderbar mit CSS gehen.

  53. Marco am 6. Januar 2007 um 00:37 #

    I’ve same problem on my site.
    I have imported posts from feed rss and advanced-search by categories do not works correctly

  54. Mr Papa am 6. Januar 2007 um 05:05 #

    Hello,

    When searching, the plugin asks for the number of results to display on each page. This does not seem to be working for me…

    I always get the number of posts displayed equal to the option in the wp admin for posts to show on a page…

    For some of my template pages, I can bypass this with query_posts($query_string . ‘&showposts=25′) right before the loop to “reset” the number of posts displayed (useful on my archives pages).

    Is there any way for me to actually let your plugin determin how many posts to show?

    Thanks…

    Mr Papa

  55. Alex Günsche am 6. Januar 2007 um 17:36 #

    If your template uses query_posts(), then it’s written badly. A theme should always have a proper Loop, query_posts() is just for additional loops. I’m afraid I can’t really help you with this, you should possibly ask the theme’s author to fix the templates.

  56. Mr Papa am 6. Januar 2007 um 18:13 #

    I probably wasnt clear… or perhaps there is another way… or I am just missing something… the loop displays posts in a paged manner based on the number of posts per page to display set up in the wp admin… in some specialized pages that I have, I dont want that limit as I may be only displaying titles or authors or such… my fix on those specialized pages was to use the query_posts() right before the loop to reset the number of items displayed…

    is there another way to control the number of posts displayed per page so that it can be different on different pages?

    Also, how do I get the number of search results selected in your plugin to actually get displayed since wp is auto paging it with the number of posts per page in the wp admin and your option number appears to be ignored?

    Thanks Alex!

    Mr Papa

  57. Alex Günsche am 8. Januar 2007 um 01:17 #

    Hi,

    ok, I’m starting to understand your configuration. ;-)

    I actually do know that query_posts() has this behaviour to change the number of posts if it is called before the main Loop. I still have to say that this is a pretty ugly hack, if you know what I mean. There are many other ways to influence the number of posts; for example you could use an iterator and break out of the Loop at a certain point.

    However, your description makes me assume that you don’t have a search.php in your theme. Maybe you could create such a Template page and construct it with a proper Loop and without query_posts(). Then the Advanced Seach plugin could take care of the number of posts displayed.

    Does this bring you any further or did I get it all wrong again?

  58. Mr Papa am 8. Januar 2007 um 04:54 #

    Thanks for replying Alex… yes, I agree its ugly and only using in a couple of odd spots :wink: hoping to find some different workarounds…

    no, I dont have a search.php - not really familiar with that… guess its time to get familiar :woot:

    let me do some research and see if that helps me out…

    thanks…

    Mr Papa

  59. markww am 11. Januar 2007 um 06:19 #

    Hi,

    Two questions:

    1) I tried downloading the zip to my XP machine for unzipping, but I get an error saying the zip is corrupt.

    2) Will this work with the latest release of wordpress?

    Thanks for what looks to be a great plugin,

    Mark

  60. cj am 11. Januar 2007 um 08:51 #

    Hi Alex,

    Great Plugin! Thanks for the hard work.

    I found a few issues in version 0.4 that I have resolved locally. I wanted to pass my changes back to you for review.

    problem: category filters not applied
    I checked the resulting SQL string and found ‘OR (1=1)’ appended to the category qualifier. I traced this to advancedsearch.php line 427. I suppose the author filtering is still being developed (I don’t see any UI for it…). My workaround was to comment lines 415 to 432 and add an extra closing parentheses to line 411.

    problem: date qualifier was inaccurate
    I checked the resulting SQL string and found an extra date qualifier. I traced this to advancedsearch.php line 482. My workaround was to comment that line.

    Thanks again,

    cj

  61. Alex Günsche am 12. Januar 2007 um 12:58 #

    Hello markww,

    1) I tried downloading the zip to my XP machine for unzipping, but I get an error saying the zip is corrupt.

    Some Windows unzipping applications are known to have this behaviour. Please try 7zip, its an advanced packaging solution and it’s Open Source.

    2) Will this work with the latest release of wordpress?

    It runs on WordPress 2.0.6 on this very website and I have developed the 0.4 release on WP 2.1 alpha3 from SVN. So it’s supposed to work on the upcoming 2.1 release, too.

  62. Alex Günsche am 12. Januar 2007 um 13:15 #

    Hello cj,

    Great Plugin! Thanks for the hard work.

    You’re welcome. Glad you like it. :-)

    I found a few issues in version 0.4 that I have resolved locally. I wanted to pass my changes back to you for review.
    problem: category filters not applied
    I checked the resulting SQL string and found ‘OR (1=1)’ appended to the category qualifier. I traced this to advancedsearch.php line 427.

    Thank you very much for tracing the problem. It appears to be the same issue that Marco (comment #48 on this page) mentions. I didn’t have the time yet to have a look and fix it.

    It must be a new one in 0.4, as it did work before. Unfortunately, I didn’t test this feature before the release, because I made only small changes to the SQL query construction and assumed it would work. Shame on me. :-(

    I suppose the author filtering is still being developed (I don’t see any UI for it…).

    Yes, there is an author filtering. It even works, in opposite to the category filtering (just tested). ;-) The reason why you don’t see the UI on your site might be that you have only one author who has written posts so far. In this case, the author selection field is suppressed. The same applies to the category selection. And if you only have one category and one author (e.g. on a fresh install), the entire “from” fieldset is hidden.

    problem: date qualifier was inaccurate
    I checked the resulting SQL string and found an extra date qualifier. I traced this to advancedsearch.php line 482. My workaround was to comment that line.

    Good to know. Thank you for this one, too. I’ll have a look and fix it.

    Well, today I got sent Italian translations for the plugin, and along with your fixes, this is good reason for the soon release of a new version. :-D

  63. markww am 12. Januar 2007 um 16:42 #

    Thank you very much Alex.

  64. Eric Fields am 16. Januar 2007 um 17:45 #

    This worked beautifully on one WP site I have. I’m trying to get it going on another site and it’s not working at all; i just get the ‘no results’ screen for anything i search for. This site uses the K2 theme, which has an ajaxy search in the sidebar that shows you the results without reloading. I was thinking this was the problem, but i switched to another theme and still no results.

    Anyone know what I can do to further test this?

  65. Marcel am 17. Januar 2007 um 16:14 #

    I’m using the andreas01 theme and want to use the advanced search. But the version 0.5 doesn’t work with wordpress 2.0.7 for pages. I tried also the standard theme from wordpress.
    The fulltext index is created and a search on the mysql shell succeeded but I only find posts no pages. The highliting is working. But there are no results from pages.
    What do I wrong?

  66. Alex Günsche am 18. Januar 2007 um 12:02 #

    Hello Eric and Marcel,

    Eric, could you please try deactivating other plugins and check if it works without them?

    Marcel, I’m sorry, I can’t reproduce this on my site. Can you please give me a link to your site and describe how I can reproduce it?

  67. Marcel am 18. Januar 2007 um 19:04 #

    Hi Alex,

    I’m not sure what happend but now it seems to work with one exception.
    Try Footnote. Click on Search and enter “Bayo” as search string. You will get several results. In the footer of every hit it appears the post date and the category. All pages are categorized into “Uncategorized”(I’ve renamed it to “Chess”). Is this a correct behaviour?
    Real blog posts will show the correct category.

  68. Alex Günsche am 19. Januar 2007 um 16:00 #

    Yes, this is a normal behaviour. Pages in WordPress belong to the default category, hence your search template makes this output appear. You would experience the same behaviour with other page searching plugins.

  69. Dennis am 20. Januar 2007 um 16:20 #

    Alex -

    The zip download is not working for me. I get the message from winzip that it is not a valid archive. Could you check it out, maybe it is just me.

    Thanks - Dennis

  70. Alex Günsche am 20. Januar 2007 um 16:28 #

    No, it’s not you, it’s WinZip. ;-)
    Please try with 7zip, this one is better (and btw Free Software).

  71. Dennis am 20. Januar 2007 um 16:46 #

    Worked perfectly. Thanks!

  72. Dennis am 21. Januar 2007 um 11:10 #

    Alex - Again thanks for the plugin. I have it up an running. It works great with all posts that were written before installation of Advanced Search, but it is not returning results for post written after installation. I’ve read through the comments here and did not find any mention of this. The the standard WP-Search does return the correct results for the same queries on new posts.

    Any ideas of the top of your head?

  73. Dennis am 21. Januar 2007 um 13:24 #

    Alex - Regarding message #72 above. When I go to a post that I have just written and manually reset the post timestamp to one day earlier (or any earlier date), Advanced Search will then return it correctly in results.

    Could this be an issue with the query Advanced Search is using to search the wp database for posts?

  74. hansi am 23. Januar 2007 um 19:28 #

    hi, ich habe das plugin hochgeladen und aktiviert aber irgendwie zeigt es mir auf der seite keine kategorien an.

  75. Alex Günsche am 23. Januar 2007 um 20:05 #

    Also ich sehe auf der genannten Seite jede Menge Kategorien.

  76. hansi am 24. Januar 2007 um 08:30 #

    ups, hab auch gesehen es liegt an der schriftfarbe, die ist auch weiß deswegen sehich die nicht

  77. Jesse am 24. Januar 2007 um 16:50 #

    I’m a n00b, what do you mean with ad the content in
    Create a new page with the title “Advanced Search” (or whatever you like), and the content

  78. Alex Günsche am 24. Januar 2007 um 17:03 #

    You simply go to Write -> Page in your admin panel. Then you insert the title “Advanced Search” (or something different). Then you you add nothing but the code <!–advancedsearch–> in the content area. After that, you simply safe/publish the page. When you visit the newly created page on your blog, you will see the Advanced Search form.

  79. Jeff am 27. Januar 2007 um 09:14 #

    Hi,

    Would really love to see a Widget version of this plugin, so it can be seen as a small widget in the sidebar with options of simple and advanced search…and it can be added into sidebar just by drag and drop as like other widgets.

  80. Alex Günsche am 30. Januar 2007 um 17:57 #

    Jeff, I already considered this, and I decided not to “widgetize” this plugin. This is because the search form consists of so many elements that you nevertheless would have to edit the code in order to select a subset of them, which again would make it easier to directly insert the code into your sidebar.

  81. catzy am 1. Februar 2007 um 16:42 #

    Everything done per your instructions, yet when i click on my Advanced Search page, i get a 404 error. Any ideas? Thanks. Staci

  82. Alex Günsche am 1. Februar 2007 um 16:44 #

    catzy, please give me a link to your website, so I can have a look.

  83. catzy am 1. Februar 2007 um 16:50 #

    i wish i could, it’s on an intranet.

  84. Alex Günsche am 1. Februar 2007 um 19:57 #

    Could you please go to Manage -> Pages in your control panel, and click View beneath the AdvancedSearch page. Does this also give a 404?

  85. Aza am 2. Februar 2007 um 19:40 #

    Thanks for this great plugin! It’s certainly the best search available for WP.
    I’ve just installed it on my test server (Ubuntu LAMP on an old PC) where I’m trying to configure WP as a simple mini-CMS. It’s a pure WP 2.1 - not updated from previous versions and I think they may have changed the wpdb() or the database format a bit as I have some problems:
    1. Searching comments produces only 1 result even if all 3 checkboxes are checked (search in posts, pages and comments).
    2. Only the first results page is displayed.
    The only active plugins are Paged Comments and Recent Comments, but deactivating them doesn’t fix anything.

    I’d also strongly recommend to everyone to make a search.php template for his/hers main theme (if it doesn’t have one) as that makes the display of search results a lot better and highly customizable.

    For that template to work right the main form action has to be changed from: $_SERVER['PHP_SELF'] to: bloginfo('home');
    Otherwise WP 2.1 doesn’t load the search.php every time…

  86. Sadalwantar am 7. Februar 2007 um 17:10 #

    auf meinem testblog (WPD2.1) mit statischer Home-Seite (-habe das aber auch ohne probiert-) habe ich mal das AS 0.5 installiert und mit den Standardartikeln versucht, einige Suchen nachzuvollziehen. Dabei stellte sich heraus, dass das Plugin unter WP 2.1 wohl nicht richtig mit Seiten bzw. auch mit Kommentaren arbeitet…

    siehe: http://www.midgardr.de/_devarea_/A0001.b/

    wo liegt das problem?
    (also ähnlich dem von #85 / Aza, nur dass halt ausschließlich Blogartikel durchsucht werden)

  87. frank am 7. Februar 2007 um 18:09 #

    Hi Alex!
    Ich hab nach 0.3 die 0.5 installiert, nachdem ich auf WP 2.1 geupdated habe…
    Wenn Du die Seite Suchen im o. g. Link benutzt, siehst Du Merkwürdiges…
    1. kennt die Suchergebnisseite keine deutschen Umlaute mehr…
    (außer im letzten von mir geschriebenen Beitrag nach Umstellung auf WP 2.1… könnte also ein WP 2.1 Problem sein)
    2. schreibt sie weitere Suchergebnisse aus unerfindlichen Gründen unterhalb des eigentlichen contents…

    ist das Umschreiben der action wie im Kommentar von Aza benannt eine Lösung…?

    oder sitzt Du bereits eh an Version 0.6?

    Alle Treffer in Beiträgen sollten doch schon richtig untereinander angezeigt werden.

    LG Frank

  88. Nathan am 12. Februar 2007 um 04:37 #

    Hello,

    I’m trying to get this plugin to work on a site I’m building: http://pittsburghdrinkspecials.com/advanced-search/

    Whenever I search I can’t seem to bring up any results, though. Any ideas?

    Thanks in advance for any help you can throw my way!

  89. woomera am 15. Februar 2007 um 17:02 #

    Nice plug-in.thanks.
    but can anyone tell me how can i remove the translation from the plug-in?

  90. Roger am 15. Februar 2007 um 19:19 #

    That’s funny, I actually want the translation to work, but woomera wants to get rid of it? Anywayz, I can’t get the plugin to work in another language. There are localized versions included in the package, I followed the instructions and uploaded all files correctly, but how do you specify the language to be used?

  91. Alex Günsche am 16. Februar 2007 um 18:03 #

    woomera, I don’t know what you mean, but maybe you have a wrong setting for WPLANG in the wp-config.php file. If in doubt, it should be sufficient to delete the language files in l10n.

    Roger, the language to be used is defined in the WPLANG constant in your wp_config.php file.

  92. Gunnar am 18. Februar 2007 um 06:45 #

    Hi Alex,

    Das PlugIn ist genau das, wonach ich schon länger gesucht habe. Nur (WP2.1) ich hab die selben Probleme wie Frank (Eintrag 83) und die anderen Wordpress 2.1-User - Auch bei mir gibt’s eine Fehlermeldung bei der Eingabe von Suchbegriffen mit Umlauten, und zwar:

    “Warning: Unknown modifier ‘2′ in /home/ …. /wp-content/plugins/advancedsearch/advancedsearch.php on line 545″

    Dann hab ich ebenfalls immer nur eine Ergebnis-Seite … und nichts zum “Blättern” …

    Ein bisschen probiert hab ich natürlich selbst schon: Wordpress 2.1 unterscheidet zwischen “Pages” und “Posts” ja nicht mehr mit den Werten in “post_status”, sondern mit den Werten in (neu) “post_type” - Die Suche findet grundsätzlich keine Ergebnisse auf Pages - bis jetzt war ich (noch) erfolglos, aber ich bleib dran. Nur “meckern” macht ja keinen Spaß.

    :-)

    Letzter Punkt (Eher unwichtig und nur zufällig bemerkt, weil ich von der Tastatur abgerutscht bin) - Bei leer abgeschickten Such-Anfragen gibt’s eine Meldung “You have an error in your SQL syntax …” Das dürfte aber leicht abzufangen sein, schätze ich.

    Datt war’s soweit - Dank Dir für die Arbeit und viele Grüße,

    Gunnar

  93. Alex Günsche am 18. Februar 2007 um 11:35 #

    Hallo Gunnar,

    es tut mir sehr Leid, dass bereits mehrere Benutzer diese Fehler gemeldet haben, aber es noch keine neue Version gibt. Ich habe leider momentan sehr viel zu tun, daher bleiben die Plugins ein bissel auf der Strecke. Aber das AdvancedSearch-Plugin ist gerade in Bearbeitung, die meisten der gemeldeten Fehler habe ich schon behoben.

    Das PlugIn ist genau das, wonach ich schon länger gesucht habe. Nur (WP2.1) ich hab die selben Probleme wie Frank (Eintrag 83) und die anderen Wordpress 2.1-User - Auch bei mir gibt’s eine Fehlermeldung bei der Eingabe von Suchbegriffen mit Umlauten, und zwar:
    “Warning: Unknown modifier ‘2′ in /home/ …. /wp-content/plugins/advancedsearch/advancedsearch.php on line 545″

    Ich habe eine Ahnung, woher das kommt, hängt vermutlich mit dem “clean-umlauts”-Plugin zusammen.

    Dann hab ich ebenfalls immer nur eine Ergebnis-Seite … und nichts zum “Blättern” …

    Das ist ein sehr seltsames Problem mit WP 2.1, das ich momentan untersuche und mir derzeit eigentlich die meisten Nerven raubt.

    Ein bisschen probiert hab ich natürlich selbst schon: Wordpress 2.1 unterscheidet zwischen “Pages” und “Posts” ja nicht mehr mit den Werten in “post_status”, sondern mit den Werten in (neu) “post_type” - Die Suche findet grundsätzlich keine Ergebnisse auf Pages - bis jetzt war ich (noch) erfolglos, aber ich bleib dran. Nur “meckern” macht ja keinen Spaß.

    Das Problem habe ich mittlerweile mit einer Versionsabfrage und -weiche gelöst, da ich mit dem Plugin abwärtskompatibel bleiben möchte. Besonders elegant ist das nicht, aber es funktioniert.

    Letzter Punkt (Eher unwichtig und nur zufällig bemerkt, weil ich von der Tastatur abgerutscht bin) - Bei leer abgeschickten Such-Anfragen gibt’s eine Meldung “You have an error in your SQL syntax …” Das dürfte aber leicht abzufangen sein, schätze ich.

    Das ist höchst seltsam und keineswegs unwichtig, denn es könnte bedeuten, dass man SQL einschleusen kann. Allerdings kann ich das bei mir nicht reproduzieren, hab es auch sonst noch nirgends gesehen und wüsste momentan auch nicht, an welcher Stelle es entsteht. Könnte es mit einem Deiner anderen Plugins zusammenhängen? Kannst evtl. Du das Problem reproduzieren und mir die exakte Fehlermeldung per Mail schicken?

  94. Gunnar am 19. Februar 2007 um 04:52 #

    Hallo Alex,

    vielen Dank für den guten Support - und die Ursache für den MySQL-Error hat nichts mit Deinem PlugIn zu tun, das lag an ein paar Eigenbau-Funktionen der Test-Seite, an der ich grade arbeite (Siehe E-Mail) …

    :-)

  95. Nathan am 21. Februar 2007 um 21:09 #

    Hey Alex,

    This is a super cool plugin and great work btw!

    I was just wondering if you would know why the categories aren’t showing up in mine?

    I have multiple categories and I tried messing around in the plugin itself (and managed to get From the Categories to show… :)

    But I’m really no PHP wiz so I can’t do much on my own.

    Any help would be greatly appreciated!

  96. Alex Günsche am 24. Februar 2007 um 14:15 #

    Nathan, I don’t know. Maybe you should try with an out-of-the-box version, and then report possible errors you get with this one.

  97. Gyanguru am 28. Februar 2007 um 05:10 #

    Thas was a great Plugin from you I was searching for it for mroe than a month

  98. Simon am 28. Februar 2007 um 15:43 #

    Hi Alex,

    Thanks for all your effort on this, it’s a really great plugin.

    One question - is it possible to display truncated search results, showing the highlighted search term in context? I have some large pages on the site I’m developing, and when searching for a term within the page, the entire page is displayed in the search results. What I’d really like is for the results to be more like this, if I search for the word ‘context’:

    Page 2
    …here is the search term in context, rather than displaying the whole page…

    that is, the search term surrounded by x words (or x characters) on either side.

  99. Alex Günsche am 1. März 2007 um 08:36 #

    Simon, this really sounds interesting. The thing is, this is actually something that appears to not belong into the AdvancedSearch plugin itself (at least to me). But I’ll keep it in mind and I’ll check if and how it could be implemented, maybe as a standalone plugin.

    Besides, as the AdvancedSearch searches for words and usually matches more than one position in the text, it might also need to output more than one result “chunks”. This idea might be more suitable for the legacy WordPress search, which finds exactly one string in each result.

  100. Ananda am 5. März 2007 um 12:56 #

    @ Simon (#98)

    One of the solutions similar to this in one of the themes I use is to add the rss summary info to the search.php file for the theme.

    Add the code:


    <?php the_excerpt_rss(); ?>

    below the search results. It’s not nearly as nice as having the actual search term in those few sentences, but it does help the reader a little bit.

  101. Ananda am 5. März 2007 um 13:01 #

    Alex,

    This is a great plugin! I’m still playing around with it on my test machine, and one of the things I’m also testing out is a plugin called “Now Reading.”

    It’s probably not in your interest to develop this, but I was wondering how one would go about including the “Now Reading” content in the search results. Now Reading adds its own tables to the WP Database…. If you can take a look at the plugin and give me some pointers on where to start, that would be great.

    Thanks!

    ~ Ananda

  102. Chris Hunt am 5. März 2007 um 13:48 #

    There’s a plugin called Search Excerpt - http://fucoder.com/code/search-excerpt/ - which, erm, makes a nice excerpt of the matched page with the matched text highlighted. I’m not using your search plugin (yet) so I don’t know if the two work together, but if not you may be able to make something of their code.

  103. Alex Günsche am 5. März 2007 um 14:10 #

    Ananda, you would need to do a SQL JOIN on the other tables in order to include search results from them. I recommend that you do testing on the MySQL command line first, which is much better for developing MySQL queries. Once you’ve got the result you desired, you can incorporate it into the SQL statement in the plugin file.

    Chris, the AdvancedSearch does highlighting, too. The highlighting function of the Search Excerpt plugin will certainly not work properly with AdvancedSearch results, because the latter uses a different logic (see above in the plugin description). As for the nicer excerpt, if the plugin hooks into one of the the_excerpt or the_content filters, it might work.

  104. coyotech am 7. März 2007 um 01:35 #

    I really need some help all im trying to do is get this to replace the deflaut search form. That advance tutorial pretty vague I looked and still I’m lost.

  105. Alex Günsche am 7. März 2007 um 01:55 #

    I really need some help all im trying to do is get this to replace the deflaut search form.

    If you have patience for some few more days, there will be an “AdvancedSearch Lite” which will be a drop-in replacement for the legacy WP search.

  106. Tedinoz am 7. März 2007 um 13:06 #

    Hi

    Plugin installed, but maybe I misunderstand how plugin works. BTW running 0.6 on WP2.05 and FireFox 1.5.0.9. & IE7

    I thought that I should be able to put a phrase in quotes (such as “HMAS Australia”) and that the plugin would return all the relevant posts. In fact, it returns none. Search HMAS Australia (no quotes) and it returns 2,300-odd (which is about right because it has every post with the word HMAS OR Australia in it). Search “HMAS Australia (leading quote only-did this by accident!) and it returns relevant posts but from one category only(when all were ticked); trailing quote only brings posts from another category only.

    OK, now the weird one, when I run the leading or trailing quote in IE7, it returns 2,300 posts.

    Am I on the right track about phrases?

    The search page is hidden from the menu and site map until working right, so let me know if you want to try it.

    Thanks

    Ted

  107. Alex Günsche am 7. März 2007 um 19:38 #

    Yes, a link to your search page would be helpful.

  108. Tedinoz am 9. März 2007 um 04:58 #

    Of course, I should have included it the first time round.
    http://www.navyhistory.org.au/pages-to-be-held-back/advanced-search/
    Ted

  109. carl am 11. März 2007 um 23:26 #

    what exactelly am i suppose to include when you say “<!–advancedsearch–>”? thanks in advance!

  110. Alex Günsche am 12. März 2007 um 09:37 #

    Create a new page, insert this piece of code, save the page.

    Btw: next time, please don’t write 4 comments at once, or I’ll have to feed you to Akismet.

  111. crybaby am 12. März 2007 um 15:17 #

    ok captain, however it would be nice to actually be able to post CODE in the code brackets.

    also, i have “installed” the plugin writen a bunch of new pages inserted the “code” in many different ways and it doesnt show anything exept this “comment” i HTML-source. so, is there anything else i need for this plugin to work? im using the latest WP download on localhost..

    thanks in advance. sorry for spamming..

  112. Alex Günsche am 12. März 2007 um 15:54 #

    ok captain, however it would be nice to actually be able to post CODE in the code brackets.

    Yeah, maybe. But WordPress doesn’t convert the tags automatically. Btw, note that you can always edit your code for 30 minutes after posting, i.e. you didn’t need to write three other posts.

    also, i have “installed” the plugin writen a bunch of new pages inserted the “code” in many different ways and it doesnt show anything exept this “comment” i HTML-source. so, is there anything else i need for this plugin to work? im using the latest WP download on localhost.

    No, it’s nothing but entering this “conditional” comment and saving the page. If you had it online somewhere, I could have a look at it. But this way, I can’t really help you but suggesting to try again.

  113. psycentr am 13. März 2007 um 22:14 #

    First, I love this advanced search. Love it. But I’m having a formatting problem - without messing around the code, this is what I get (screenshots): this and this.

    I’m not the most tech-savvy person in the world so I am really sorry if this is an obvious question. But does anyone have any tips on correcting this?

    Same result on multiple browsers, running wordpress2, and using Blix theme.

  114. Alex Günsche am 13. März 2007 um 22:39 #

    It might be that the Blix theme has some weird CSS attributes for ul and/or li elements (e.g. fixed width/height or floating), which make the list elements float so strangely. I’m afraid, your only chance is to open the Blix CSS and have a look at the relevant attributes. If they are intended for a specific part of the theme (e.g. the header), then it might help to apply more specific CSS selectors to them.

  115. psycentr am 13. März 2007 um 23:28 #

    Hi again…thanks for your quick reply! We fixed it, you were right about looking at the theme. If anyone else has this problem - the changes have to be made in the Forms section of layout.css if you’re using Blix. Then the beautiful advanced search is all better.

  116. Eric am 14. März 2007 um 07:46 #

    Hi.

    I’ve installed this plugin and it’s perfect for my purposes.

    That being said, I can’t get it to work. I am running WP 2.1.2. I’ve dropped the downloaded folder into my plugins directory, activated plugin, etc…

    Here’s the advanced search page:
    http://www.pqdb.com/demos/ajaz/?page_id=3

    But when I search, no results are produced. Can you see what is going wrong?

    Thanks!

    Eric

  117. Stefan am 16. März 2007 um 12:57 #

    Hallo,
    das Plugin funktioniert super und ist echt große Spitze.

    Jedoch habe ich einen Bug entdeckt, der auch auf der Demo-Resultpage auftritt.

    Wenn ich direkt nach der Suche 1x zu den früheren Einträgen blättere und direkt danach wieder zu den späteren blättern will, ist der Suchstring im Eimer.
    Das “&” in der url wird durch “#038;” ersetzt.

    Blättere ich direkt nach der Suche 2x zu früheren Einträgen ist der Link “Spätere Einträge” dort korrekt.

    Gruß, Stefan.

  118. Alex Günsche am 16. März 2007 um 13:15 #

    Eric, maybe you’re using the wrong terms? It may be that they are too generic or too short. When I go to your search page and e.g. search for “membres”, I actually do get a result.

    Stefan, danke für den Hinweis. Ich kann mir auch schon ungefähr vorstellen, wo es hängt. Ich werde der Sache nachgehen und es für die nächste Version beheben.

  119. tim am 17. März 2007 um 02:20 #

    when do you think you will have custom field support?

  120. Aza am 17. März 2007 um 10:32 #

    Hi Alex, I’ve just upgraded to version 0.6 (very busy lately…). Everything works good except 2 things:

    1. When WP creates the “previous page” link, only from page 2 back to page 1, it converts the ampersand to urlencode and then eats the &, leaving only #038; (as Stefan probably explains in comment 117, sry, don’t speak German :)
    That happens only when going from 2 to 1, 3 to 2 is ok, 4 to 3 is ok, etc. Seems like WP bug, probably something to do with get_pagenum_link() in link-template.php but I couldn’t find it. As a temporary workaround I’m using javascript to go back a page. Works ok. Instead of “previous_posts_link()” use
    if ( intval($paged) > 1 ) echo '<a href="history.go(-1)" rel="nofollow">« Previous Page</a>';

    2. On my site, when search results are displayed, Advanced Search shows the correct number of results per page, as selected - 5, 10, 15, etc. but WP calculates the number of pages according to the “Posts per page” setting in the options. So, if this is 10 (the default) and the results are 32, there will be 4 pages no matter how many results per page are displayed. I was thinking to try to adapt a simple paging function in the search template, so Advanced Search can do the pages independently, but for now an easy workaround is to add
    $wp_query->query_vars['posts_per_page'] = $ctas_limit_diff;
    around line 474 in advancedsearch.php, just above “For getting paged searches working in WP 2.1″. Hope that helps.

  121. Alex Günsche am 17. März 2007 um 12:31 #

    Hi Aza,

    wow, you’re amazing. Thanks for your solution (again ;) ). I’ll check it and put it into a new version.

    tim: This feature is not on my list right now. See discussions above.

  122. Jürgen am 17. März 2007 um 20:45 #

    Very long and complete desciption. Thanks for the time you spend on write it. Jürgen from Germany :-)

  123. Aza am 17. März 2007 um 20:56 #

    You’re welcome Alex, I’m glad I could help a bit.

    Small correction: in comment 120 when using javascript to go back a page, the link should be “href=”javascript: history.go(-1)”, not just “href=”history.go(-1)”.

  124. Serola am 18. März 2007 um 18:39 #

    Nice plugin, and it works unlike other search plugins that I have tested. However, there are a few problems. On some searches I get the following warning:

    preg_replace(): Compilation failed: PCRE does not support \L, \l, \N, \P, \p, \U, \u, or \X at offset 21 in /home/www/wp-content/plugins/advancedsearch/advancedsearch.php on line 560

    The second issue is probably caused by unsupported special characters. Scandinavian letters like ä (auml) and ö (ouml) do work but they are not counted in the length of search word. Therefore four letter word like ‘tämä’ is not searched.

    I’m using Wordpress 2.0.9 FI and Minima Plus theme.

  125. Serola am 18. März 2007 um 19:02 #

    Found some more details on errors occurred on my blog at http://serola.info/ .
    Warning “preg_replace(): Compilation failed…” comes if I use asterisk for truncation. I also found that double quote characters for phrase search does not work (nothing found).

    I’m using Wordpress 2.0.9 FI and Minima Plus theme.

  126. Serola am 19. März 2007 um 10:14 #

    In AdvancedSearch Lite the same problems occurred when using it on WordPress 2.0.9 with Minima Plus theme:

    1.High lite feature works but causes ugly warnings if search word is truncated with asterisk. And I found the reason: from high lite array the ‘*’ is missing.
    2. Phrase searches using double quote characters does not work.
    3. Special characters (like ä ‘auml’) are not counted into word length.

    I also found one javascript expression that is needless and not accepted by XHTML-validator. The script that open the small window for search help does not need expression: language=”javascript”.

    Nevertheless, this is a wonderful plugin and I am going to use it on my web site. I just love it =)

    I also noticed that you have planned to add tag fields into searches. What about the other way around? It would be nice if tags in tag clouds or keywords in category lists could run AdvancedSearch queries. I’m using Jerome’s keyword plugin but I can’t use categories in it since that plugin won’t list search results for pages. For the same reason I can’t define tags for the pages. It is not nice that some keywords or tags that occur only on pages become listed but don’t give any results when selected. So, is there a way to make keywords and tags to use AdvancedSearch queries?

    And an other question. Can I use both of the plugins on the same site: AdvancedSearch and AdvancedSearch Lite?

  127. Alex Günsche am 20. März 2007 um 10:13 #

    Hello Serola,

    thank you very much for your feedback. I’ll check and correct the reported bugs with the next version.

    And, yes, you can use AS and AS Lite on the same site. (As you see, I also do.)

    edit: By the way, if you find that bug too annoying, you could disable highlighting ($ctas_do_hilite=false in the plugin file).

  128. AA am 21. März 2007 um 23:56 #

    download files are corrupt. i would like to try, but even 7-zip does not work

  129. Ryan am 28. März 2007 um 20:21 #

    I would love to be able to do a search of custom fields. I would like it to display each of the keys as a dropdown list and a text box of dropdown for the values. The selection of select or textbox should depend on a setting I choose.

    I would like this for putting up documents and classifying them.
    Thanks, just a vote. Essentially, i would like the same think LK would like.

    Ryan

  130. Flash Buddy am 28. März 2007 um 23:00 #

    Side Bar Search Possible. While I can copy and paste the code into the sidebar and have a working search it seems when I edit to pare that code down the search breaks.

    I’ve been trying to hide the input field (changed text to hidden).

    I need some suggestions to get the default search working from the sidebar. Has anybody gotten this concept to work. I’d expect there are many of us with the sidebar search that would like to retain it for aesthetics.

    http://impim.com

  131. Aza am 30. März 2007 um 19:51 #

    Flash Buddy, I have something similar setup on my site http://www.laptoptips.ca/ , but in the header.
    Have a look at the source and copy it if you want, or email me through the form there and I’ll send you the code.

  132. Alex Günsche am 31. März 2007 um 17:35 #

    There’s also AdvancedSearch Lite, especially for this purpose. Actually, the sidebar form on my site is AS Lite. AS and AS Lite work fine together.

  133. Subir Ghosh am 1. April 2007 um 11:14 #

    I want to use this plugin. But I want to EXCLUDE some categories from the search. I don’t want 3 or 4 categories to show in the list on teh Advanced Search page. Is this possible?

  134. Alex Günsche am 2. April 2007 um 14:07 #

    Subir, please have a look at the call to ctas_form_cats(), you can define categories to exclude there.

  135. Subir Ghosh am 2. April 2007 um 17:03 #

    Hello Alex:

    line 61 ctas_form_cats()

    should i make it like

    $ctas_form_cats = ctas_form_cats(-3 -4 -5);

  136. Alex Günsche am 2. April 2007 um 19:01 #

    No, see below where the function is defined. There is an $exclude parameter which takes comma-separated category ids.

  137. Marco am 7. April 2007 um 15:09 #

    Hallo Alex
    Dein Plugin ist sensationell!!! Genau das, was ich gesucht habe.

    Leider funzt aber etwas nicht unter: “aus diesen Kategorien”
    Hier werden nur die zwei Kategorien angezeigt. Alle Anderen fallen weg. Habe die Vermutung, dass es an den Unterkategorien liegen könnte, welche noch nicht alle einen Beitrg besitzen. Hast du mir ne Lösung???

  138. firdaus am 8. April 2007 um 12:49 #

    i’ve installed the plug in, working fine, but why when the search does not return anything, the page goes to;

    Not Found

    Sorry, but you are looking for something that isn’t here.

    how to edit this, goes to something like your search is not found

  139. Marco am 12. April 2007 um 15:07 #

    Ciao Alex
    Mein Problem hat sich erübrigt. Musste einfach die Beiträge in der übergeordneten Kategorie auch anzeigen lassen, dann klappte es.
    Merci nochmlas für das super Plugin.

  140. okNYC am 13. April 2007 um 19:57 #

    I have the exact same problem as Dennis: old posts are retrieved, new ones aren’t. WHY?
    Thank you.

  141. Alex Günsche am 14. April 2007 um 21:39 #

    okNYC, I don’t know. Can you point me to an example on your website?

  142. BMW am 16. April 2007 um 17:42 #

    cool. Thanks for the plugin.

  143. Matt am 19. April 2007 um 00:49 #

    Serola said: “2. Phrase searches using double quote characters does not work.”

    I’ve been wrestling with this problem; partly because quoted phrases work ok on my (local) test machine, but not on my live machine… There appears to be a conflict in behaviour between MySql 4.x and 5.x, plus it might be dependent on magic_quotes stuff…

    The fix is to go to line 391-ish (Advanced Search v.0.6) and replace the line

    $ctas_searchquery = (empty($_GET['ctas_searchquery'])) ? '' : mysql_real_escape_string( $_GET[ctas_searchquery] );

    with the line

    $ctas_searchquery = (empty($_GET['ctas_searchquery'])) ? '' : mysql_real_escape_string( stripslashes($_GET[ctas_searchquery]) );

    (at least it works for me). This is because my search string was going into the MySql server like \\\”string\\\”; on 5.x it doesn’t appear to make a difference…

    Cheers! (Great plugin!)

  144. RayzrShrp am 23. April 2007 um 04:52 #

    Hmm something with my website is not right I think.

    I moved the advancedsearch folder to my plugins directory and I enabled the plugin and created the page called Advanced Search with in the body of the page but when I click the Advanced Search page it just loads a page with on it.

    I’ve had this same problem with other plugins where it seems like they just aren’t even running the plugins code. I chowned my entire website directory to my webserver but still no luck. Any ideas?

  145. Lorin Rivers am 23. April 2007 um 21:28 #

    I’ve got thousands of authors and I’d like to be able to search on author name and get the author.php for that author. Is that possible?

  146. Gabriele am 24. April 2007 um 18:45 #

    Why not all the categories are shown in the search form?

    Have a look here http://www.livecity.it/ricerca-avanzata/
    It shows just one categorie and its subcategories, where are
    the other ones?

    Thanks in advance
    –Gabriele

  147. m0n am 25. April 2007 um 07:17 #

    Thank you for providing this great plugin. However, I need your help. I am trying to create a search page in which the advanced search form remains on the page after the search results have been displayed on the same page — just like the advanced search lite search form remains on the page after a search is executed. Currently, the plugin works great, only the form disappears after every search. Is it possible to keep the form on the page after the search results are displayed next to it (on the same page)? Sorry for the redundancy — just trying to be clear. Thanks!

  148. Lim_Dul am 26. April 2007 um 12:25 #

    Ich habe folgendes Problem festgestellt, man kann mit dem Plugin nicht nur nach Kommentaren suchen. Beispielsweise taucht hier im Kommentar 1 oder 2 das Word Pingback auf.

    Suche ich nun nach Pingback mit der Erweiterten Suche und haben den Haken nur bei Kommentaren, wird der Beitrag nicht gefunden. Mache ich ihn noch zusätzlich bei den Beiträgen, dann wird der Beitrag gefunden.

  149. Lim_Dul am 26. April 2007 um 12:31 #

    Oh, und nochwas, Beiträge die geschrieben und nicht veröffentlich wurde, haben das Datum 0000-00-00 00:00:00, was bei der Berechnung des Startdatums in ctas_form_date dafür sorgt, dass 00 0000 rauskommt.

  150. Simon am 30. April 2007 um 23:29 #

    Uh-oh - the search obviously checks the entire html content of a post or page - try searching for ‘href’, for instance. Not that many people will want to search for html code, but if a search term appears in a URL, which it often will if using permalinks, the search results are a mess.

    With the highlight search term feature on, such that all found terms get wrapped in a span, I get huge problems if my search term matches any of the post’s html code. If I have a link to, say, /potato/article1.html, then search the site for ‘potato’, the page containing the link appears, but a span is inserted in the middle of the URL code, as in:

    <a href="/<span class="highlight">potato</span>/article1.html">Article 1</a>

    which renders as a link to a non-existent page called ‘/<span class=’

    I could turn the highlighting off (although I’d rather not), but I still don’t want my html to be searched - only the non-html content. I’m not sure what can be done about this, because I have no idea how it would be possible to tell the search not to look inside html tags, but I thought I’d mention it as a problem.

  151. Paul S. am 3. Mai 2007 um 18:31 #

    I have installed the plugin. The searches work well, but there is no hilighting. I have checked $ctas_do_hilite and it is set to true. The blog is not public, yet, but if you email me, I’ll send you the link.

    Thanks for any help you can offer.

    -Paul S.

  152. Martins am 14. Mai 2007 um 13:24 #

    Dear Zirona,
    thanks for the plugin but there is an error when activating the plugin:
    WordPress database error: [The used table type doesn’t support FULLTEXT indexes]
    ALTER TABLE wp_posts ADD FULLTEXT ( post_title, post_content )

    WordPress database error: [The used table type doesn’t support FULLTEXT indexes]
    ALTER TABLE wp_comments ADD FULLTEXT ( comment_content )

    I am using advancedsearch 0.6 and WP 2.1.3. And the when trying to search it prints similar error:
    WordPress database error: [The used table type doesn’t support FULLTEXT indexes]

    btw, looking forward for the search within customfields. For the custom field search try http://guff.szub.net/2006/04/21/search-custom-fields/. Would be nice if this could be merged with Advanced Search.

    Martins.

  153. Alex Günsche am 14. Mai 2007 um 13:45 #

    Martins, if you changed the table type and don’t use the default MyISAM tables, then the FULLTEXT indexing doesn’t work. See the MySQL manuals.

  154. Martins am 14. Mai 2007 um 14:57 #

    Thanks a lot for a quick answer. I had not noticed the MySQL had made all the tables as InnoDB..

  155. Mike J am 16. Mai 2007 um 15:43 #

    For those having the error with the #038; in the url from page 2 to 1, use this for the page navi links in the search template of the theme:


    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('&laquo; Previous Results'); ?></div>
    <div class="alignright">
    <?php // fixes pagination bug
    if ($paged>1) {
    $link = str_replace('#038;','&amp;', get_previous_posts_page_link());
    echo '<a href="'.str_replace('&&','&', $link).'">Next Results &raquo; </a>';
    }
    ?></div>
    </div>

  156. Martins am 16. Mai 2007 um 22:30 #

    For those who are looking to search within custom fields look at the plug-in http://kamvajag.lv/programming/custom-search/ I wrote by expanding the Search Custom plug-in written by http://guff.szub.net/2006/04/21/search-custom-fields/

  157. Paul S. am 17. Mai 2007 um 20:31 #

    When I use the plugin, I get a list of posts that contain the search terms, but only the titles of the posts, no text, no hilighting. Am I doing something wrong?

    Update:
    Nevermind. FYI, the search.php page in the theme I was using had to be modified. Fixed.

  158. Thale am 18. Mai 2007 um 10:38 #

    Hello,

    Will you port this plugin to dotclear of another blog engine?

    Very good plugin indeed, one of the best for wordpress!

  159. Beth am 19. Mai 2007 um 09:24 #

    Wonderful plugin! Thank you!!!

  160. Ashe am 21. Mai 2007 um 22:25 #

    i looked but couldnt find an answer so i figured id ask here;

    does this search as an external source, or does it search within wordpress? what i mean is that my pages have php (with an activated exec php plugin) in wordpress, but what displays on my pages on the site is the action of the php , the words it collected. i need something that will search my pages “externally” i guess for lack of a better word.

    thanks in advance.
    Ashe

  161. Martins am 24. Mai 2007 um 08:15 #

    Ashe: by “externally” you might mean a google search smth like:
    “search_for site:yoursite.com”.

  162. Luc am 25. Mai 2007 um 20:01 #

    Hello,

    I have a sql error with WP2.2 :

    see http://audioblog.fr/recherche/

    Luc

  163. Alex Günsche am 25. Mai 2007 um 20:26 #

    Sorry, I don’t see an error on the above page. Could you possibly provide a screenshot?

    edit: I see now that there is an error when a query is issued. But this is not a fault of the plugin, because there is some strange UNION statement which seems to be inserted by another plugin. I also have some blogs on WP 2.2, and the error doesn’t occur there.

  164. Götz am 23. Juni 2007 um 23:41 #

    Hi, habe ich etwas falsch gemacht oder warum ignoriert dein Plugin tags?

    Besten Dank!

  165. Alex Günsche am 25. Juni 2007 um 10:29 #

    Tags werden von dem Plugin nicht durchsucht, das wurde aber auch nie behauptet.

  166. Rafael am 26. Juni 2007 um 20:01 #

    the categories are not showing up in the advanced search form.

    http://international.ucf.edu/faculty/?page_id=3

    I have taken it out and re-installed it several times and still no categories show up. I have another blog which is the same wordpress version (2.1.3) and categories show up just fine.

    Please Help.

  167. juliaL49 am 27. Juni 2007 um 09:20 #

    Hallihallo und erstmal DANKE für das tolle Plugin. Genau was ich gesucht habe.

    Nur ist mir aufgefallen, dass nach der Aktivierung plötzlich das Erstellen von Beiträgen in der Zukunft nicht mehr möglich war und auch erschien nach dem Speichern von Beiträgen eine leere Seite.
    Als erste Fehlerursache, habe ich das Search Highlighting ausgestellt und jetzt funktioniert es wieder.

    Eine Idee, woran das liegen könnte? Mir ist das Search Highlighting nicht so wichtig, aber vielleicht haben andere das gleiche Problem und möchten eine Lösung. Und vielleicht kann der Bug auch ganz behoben werden.

  168. Alex Günsche am 27. Juni 2007 um 11:44 #

    Rafael: This problem has been reported by others already, and it was a problem with other plugins. We also had issues with the K2 theme and derivates.

    Julia: Hm, keine Ahnung. Das es ausgerechnet mit dem Highlighting zu tun hat, wundert mich sehr. Ich habe auch noch keine derartige Fehlermeldung bekommen. Vielleicht gibt es eine Interferenz mit einem anderen Plugin? :-?

  169. Werner Weimann am 10. Juli 2007 um 18:56 #

    Hallo.

    Habe gerade eben das Plugin installiert und bekomme nun folgende Fehlermeldung angezeigt:

    WordPress Datenbank-Fehler: [The used table type doesn’t support FULLTEXT indexes]
    SELECT SQL_CALC_FOUND_ROWS DISTINCT *, MATCH(wp_posts.post_title, wp_posts.post_content ) AGAINST(’Spielregeln’) AS score FROM wp_posts INNER JOIN wp_post2cat ON wp_posts.ID = wp_post2cat.post_id WHERE MATCH(wp_posts.post_title, wp_posts.post_content ) AGAINST(’Spielregeln’ IN BOOLEAN MODE ) AND ….. usw. eben

    An was kann dies liegen?

    Ich benutze WP 2.2

    Gruss, Werner

  170. Alex Günsche am 11. Juli 2007 um 19:26 #

    Falscher Tabellentyp, siehe oben bzw. Google.

  171. Mattias am 28. Juli 2007 um 11:00 #

    Can’t get this to work as I like. Most of my comments are on pages and not posts. But no result is displayed from those comments?

  172. Rosina Lippi am 6. August 2007 um 20:13 #

    Servus.

    Would it be possible to get a list of posts (titles with links) rather than the posts in their entirety on the results page?

    I’ve got more than a thousand posts, and it’s hard to scan search results when there are fifty full entries.

    danke sehr

  173. Roy am 9. August 2007 um 18:23 #

    The concept is great. I would love a search function like this if people could choose between “search titles only” and “search everything”. Is it possible to make a search function for titles only??

  174. Monica am 9. August 2007 um 20:25 #

    Category form does not appear for me site either. I have no other plugins installed. Using Wordpress 2.1.3. Using a modified Hope-10 theme but switched to Classic to test, but category form did not appear there either. How to fix this, I REALLY want to use this plugin.

  175. Monica am 9. August 2007 um 20:39 #

    Bummer, it doesn’t seem to work at all with my site. I tried a basic search that returns 30 hits but got nothing with advanced search. Actually, I can’t get it to find anything on my site. A serious downer, this plugin looked so hot.

  176. Alex Günsche am 11. August 2007 um 14:38 #

    Rosina, this must be done in your search.php.

    Roy, it would be, but I haven’t done it as I believe it is not needed by the majority of users.

    Monica, please deactivate all other plugins for a test.

  177. Monica am 13. August 2007 um 16:05 #

    Thanks Alex, but like I said in my first post, I have no other plugins installed. Only the Akismet and Hello Dolly which were part of Wordpress installation, and they are deactivated.

  178. Alex Günsche am 14. August 2007 um 23:24 #

    Sorry, I missed that part. Ok, let’s see, are there any error messages when activating or using the plugin? What search terms did you use? Could you possibly give me a link to your site so I can have a look myself?

  179. Roy am 15. August 2007 um 14:27 #

    Roy, it would be, but I haven’t done it as I believe it is not needed by the majority of users.

    My biggest problem with Wordpress it that it always remains a blog surrounding, chronological instead of alphabetical and just one subject line (which I have tried to ‘cut up’ without succes). I figured that just searching in the subject lines solved the problem of searching for a certain writer without having results in which the writer in named in the text of another book review. Would it be difficult to rebuilt your tool into “search titles only” and “search everything”? Any hints?

  180. Monica am 15. August 2007 um 18:13 #

    Hi Alex, you are very kind to offer to help. Unfortunately my site runs off my hard drive using XAMPP. There were no errors when activating. I tried deactivating and re-activating, no errors. My search terms, I tried several, like ’sap’, ’support’, ‘password’, ‘working’. In some cases, search results were returned, but there were always less results than using normal search. In other cases, no results were returned at all. I know it’s hard to troubleshoot since you can’t debug. My blog is a personal knowledge base for tracking my work activites and contains many passwords and company-specific info, otherwise I’d just zip it all up for you. I also tried installing DBG so that I could debug myself but couldn’t get it installed (maybe XAMPP is the problem?) But also, FYI - the guy who runs the BBall site in your references has turned off Advanced Search, apparently it doesn’t work there either.

  181. Alex Günsche am 15. August 2007 um 19:08 #

    Roy, you could do this by modifying the SQL query in the plugin file, e.g. let the results be sorted by title. (See the MySQL docs for more.)

    Monica, the behaviour you describe seems to be the normal one to me. Please read the section “Background” from this tutorial and the MySQL docs.

  182. Marco am 23. August 2007 um 16:51 #

    Your file zip it’s corrupt..

  183. Brad am 23. August 2007 um 22:33 #

    Can anyone help? I get this error when I install the search and try it from the form. It looks like Advanced Search is interfering with the Counterize plugin? All are the latest versions, including wordpress.

    The search works, but I get this at the top of my screen:

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 1]
    update news_Counterize_Pages set count = count + 1 where pageID =

  184. Mko am 1. September 2007 um 12:22 #

    Each search term must contain at least 4 characters. It’s possible change to 3?? How make it? Thanks a lot

  185. Rita am 15. September 2007 um 06:42 #

    Warum landen alle Links, die zu Advanced Search führen sollen, bei Advanced search lite?

  186. lisa am 22. September 2007 um 05:57 #

    I would love to download Advanced Search, but the permalink leads to Advanced Search Lite. Any idea where the download went?

  187. Alex Günsche am 22. September 2007 um 11:42 #

    Rita, lisa: Sorry, I confused the contents when updating the page. It’s fixed now.

  188. redunzl am 26. September 2007 um 19:40 #

    V 0.6 läuft nicht mit wp2.3. Die post2cat gibt’s nicht mehr.

  189. Alex Günsche am 26. September 2007 um 20:31 #

    Hm, ich weiß … Ich habe schon mit der Überarbeitung angefangen, aber es hat sich so viel geändert, dass ich das halbe Plugin umschreiben muss. Daher wird es wohl bis zur nächsten Woche dauern, bis es eine neue Version gibt.

    English: I know that Advanced Search 0.6 doesn’t work with WP 2.3. As there are so many changes in WP 2.3 that I have to recode half the plugin, I ask everybody to have patience for another week until I can release a new version.

  190. redu am 27. September 2007 um 04:36 #

    Das macht überhaupt gar nix. Sollte nur ein Hinweis sein. Die 2.3 ist wahrhaft heftig verändert. Da gibt es einiges zu tun…

  191. sasan am 5. Oktober 2007 um 10:36 #

    Hallo Alex, ich experimentiere grad’ mit AdvancedSearch auf WP223. Kannst Du mir Doofi mal verraten wie man bestimmte Kategorie-Checkboxen aus der Suchmaske entfernt bzw. ausblendet?
    Danke im Voraus
    Sasan

  192. Webdesign am 5. Oktober 2007 um 11:28 #

    Hy Alex,

    guter Beitrag, werde versuchen das auch mal in meine Blogs zu integrieren, denn sonst kommt ja sowieso immer zu viel ungenaue ergebnisse.

    Greetz

  193. Alex Günsche am 5. Oktober 2007 um 13:00 #

    Sasan, in advancedsearch musst Du den Aufruf der entsprechenden Templatefunktion deaktivieren, oder aber die Template-Funktion leeren.

    Webdesign: jo, mach mal. Kleiner Tipp: Auf nofollow-markierte URLs kannst Du noch so viele relevante Keywords legen, die werden trotzdem ignoriert. ;)

  194. ByREV am 10. Oktober 2007 um 17:14 #

    Plugin is ok but not 100% ;)
    If i have 50-100 categories ??? Check/Unceck 100 times ?
    I made a litle modification with new option
    Check/Uncheck ALL [x]
    Here -> Advanced Search Poetry is my hack !

  195. Mr Papa am 12. Oktober 2007 um 06:26 #

    Not to be a bother, but any status on the update for wp 2.3?

    thanks!

  196. GJ am 12. Oktober 2007 um 23:56 #

    Hi,

    I also use this plugin with great satisfaction!
    I also hope that this new version with compatability for WP2.3 comes soon.
    I will check this site to see when an update comes! :)

    Thanks for making this great plugin! :)

  197. GJ am 14. Oktober 2007 um 16:17 #

    @ ByREV
    I’ve seen your form…
    Maybe you should consider making the huge lists of authors a dropdown.
    Then the users can select which authors are searchable.

    Example:

    <select multiple=”multiple name=”authors”>
    <option val=”val1″>Author 1</option>
    <option val=”val2″>Author 2</option>
    <option val=”val3″>Author 3</option>
    <option val=”val4″>Author 4</option>
    <option val=”val5″>Author 5</option>
    </select>

    With this code, you can simply reduce the checkbutton list…
    And also so much checkbuttons aren’t needed as well… :)

    @ Alex Günsche
    You have HTML usage activated, therefor I could insert bad HTML code, if I would like… ;)

  198. BGH Quiz am 18. Oktober 2007 um 11:16 #

    Leider funktioniert das Plugin nicht mit WP 2.3, da wp_post2cat seitdem nicht mehr existiert.

  199. David M. Besonen am 19. Oktober 2007 um 02:24 #

    it appears that AdvancedSearch, just as AdvancedSearch Lite, is unable to search for strings containing less than four characters.

    Alex, can you correct this at the same time you do so for your AdvancedSearch Lite plugin?

  200. Murattx am 25. Oktober 2007 um 14:26 #

    Sehr gut! Will mehr davon!

  201. dalton am 26. Oktober 2007 um 16:28 #

    Also looking forward to a 2.3 compatible version! I have very specific needs that seem to only be capable with this plugin, but my site is 2.3 only.

    Regards,
    Dalton

  202. Mark am 26. Oktober 2007 um 23:43 #

    Hi, we are also looking for an 2.3 compatible plugin! I’m working on hacking it myself but that will take FOREVER… please let us/me know if ever there is one. Thank you!

  203. Alex Günsche am 27. Oktober 2007 um 12:28 #

    Hi everybody,
    http://www.zirona.com/blog/zirona-news/zum-thema-plugins

  204. Daniel am 8. November 2007 um 13:10 #

    in update we trust :)

  205. Alex Günsche am 13. November 2007 um 23:47 #

    Good news, everyone! I’ve taught the toaster to feel love! :-)

  206. Paul am 14. November 2007 um 21:52 #

    hmm, the toaster would be unplugged, maybe ?

  207. Alex Günsche am 14. November 2007 um 22:10 #

    Hi Paul,

    no, much better: I have worked all day to make a toaster 2.0, i.e. a toaster with a sidebar extensions and widgets capability. ;)

    Just kidding, I’m going to release 2.0 in about an hour. :)

    ———

    Edit: And here it is!

  208. Gamma am 15. November 2007 um 18:00 #

    I put the code on this page:

    http://gammablog.com/?page_id=4148

    What happens is that the page takes very long to load and all that shows up is the title of the page and nothing else, not even the footer. I deactivated all my other plugins aside from Akismet and it still nothing shows up.

    My regular search form in my sidebar does work and does display the search terms in the results in different colors, which is very cool.

  209. Alex Günsche am 15. November 2007 um 18:14 #

    Gamma, I see the problem. It looks a bit like your WP installation runs out of memory while loading the page. Could you possibly try raising the memory_limit parameter in your php.ini? This is definitely an abnormal premature script termination, but I can’t really say by what it’s caused, as there is no error message.

    Please, also try to switch off one or more of the form elements via settings.php (AS_FORM_CATEGORIES would be a good start), and let me know if it helps.

  210. Gamma am 15. November 2007 um 21:25 #

    Thanks for the quick reply Alex. I switched off categories and it works fine now. I have a large number of categories and subcategories. I’ll try raising the memory limit as well, and see if I can get it to work with categories. That’s the main reason I wanted the plugin. I’ve written to my host to up the memory. If that doesn’t work I may turn many of my categories into tags, which is probably a better way to go anyways.

  211. Mr Papa am 16. November 2007 um 05:56 #

    sweet! thanks! been waiting for this baby!

    how about an option to change the lite sidebar widget title?

  212. Alex Günsche am 16. November 2007 um 08:09 #

    Mr Papa, you’re right; there should be an option to change the title. As a workaround, you can fix it manually by replacing the string Search this site in the file form.php.

  213. Gamma am 17. November 2007 um 00:39 #

    Alex,
    My host boosted the memory from 8MB to 48MB, but I still can’t get category search to work. Any other ideas, aside from reducing the number of categories I have on the blog?

  214. Alex Günsche am 17. November 2007 um 13:00 #

    Unfortunately I don’t have other ideas, because the categories are created with the very methods WP itself does. The only things you can do are indeed to decrease the number of your categories or to deactivate the categories field.

  215. Gamma am 18. November 2007 um 00:02 #

    That’s what I figured Alex. I’ve seen a plugin that converts categories into tags. When I have time to do it I’ll give that a shot. Thanks.

  216. Paul am 18. November 2007 um 20:16 #

    the toaster is working - thank you alex

  217. Ramil am 21. November 2007 um 11:27 #

    Any updates on the CUSTOM FIELDS search?

  218. Alex Günsche am 21. November 2007 um 11:35 #

    As I’ve now mentioned a couple of times in the comments, this feature will not be implemented, at least not in near future. Cf.FAQs.

  219. El Boletaire am 23. November 2007 um 14:00 #

    The advancedsearch-2.0.tar.gz file is broken!

  220. Oliver am 3. Dezember 2007 um 16:58 #

    Hallo,

    wow wirklich ein großartiges PlugIn. Tolle Arbeit!!!

    Ich habe nur ein kleines Problem:
    ich möchte auch einzelne Kategorien aus der Suche ausschließen. Hierfür habe ich in der form.php in Zeile 136 die Kategorien so eingetragen:
    'feed_image' => '', 'exclude' => '2, 8, 11, 12, 7, 13, 33, 3, 5, 6',

    Aber leider werden trotzdem noch die Posts aus diesen Kategorien mit bei den Suchergebnissen ausgegeben. Habe ich etwas falsch gemacht?

    Vielen Dank und nochmal großes Lob
    Oliver

  221. Alex Günsche am 4. Dezember 2007 um 10:35 #

    Kann es sein, dass die betreffenden Artikel in mehreren Kategorien sind?

  222. Oliver am 5. Dezember 2007 um 10:11 #

    Hallo Alex,

    ja, das sind sie tatsächlich. Aber alle Kategorie sind bei dem exclude mit dabei..

    Grüße
    Oliver

  223. daniel am 5. Dezember 2007 um 12:12 #

    Hi, thank you for your wonderful plugin.
    Is there a way to manipulate the variable $form_cats (~line42 in form.php)
    to only include only some of the categories (not all) at a time.
    The purpose is not to exclude categories (as previously discussed in Subir Ghosh comment) but to have the categories listed in 2 columns instead of 1 as it is per default i.e.:

    these categories these categories
    ——————- ——————-
    [] category1 [] category5
    [] category2 [] category6
    [] category3 [] category7
    [] category4 [] category8

    My idea is to manipulate the $form_cats-variable to include only categories 1-4 and call for it in the form generation code as normal to generate the first column. I while then manipulate $form_cats-variable to include categories 5-8 and call for it again in the form generation code to generate the second column.

    Any help or alternative methods on achieving this is much appreciated

  224. Alex Günsche am 5. Dezember 2007 um 21:40 #

    Oliver: Dann weiß ich es leider auch nicht. Scheint mit der neuen Kategorie-Struktur von WP zu tun zu haben. Mal sehen, vielleicht fällt mir was auf, wenn ich das Plugin mal wieder zwischen den Fingern habe.

    daniel: Sorry, this is a bit to complex to be answered here.

  225. illutic am 8. Dezember 2007 um 17:43 #

    When I try to download the latest version (.zip and .tar.gz), there’s nothing in the compressed file..

  226. Nigel Kane am 18. Dezember 2007 um 02:43 #

    Hi, thanks for a great plugin thus far.

    I have nearly bug and a feature request:

    Nearly bug: searching is case insensitive, however the search term highlighting is not. For example the second post uses “Apache” http://www.kaneit.net/?s=iis+dos+apache

    Feature request: I saw on another plugin that I couldn’t get working was a feature where it hilighted terms if you came form a search site (i.e. google) Will this be implemented on your version? I noted something in the comments regarding google, but I didn’t follow it in German.

    Thanks.

  227. Alex Günsche am 18. Dezember 2007 um 07:18 #

    Hi Nigel, the highlightling is case-insensitive, elsewise the term IIS wouldn’t be highlighted in your given query. There rather seems to be an issue with that specific line at the bottom of that second post. E.g. http://www.kaneit.net/?s=iis+dos+Apache+linux will highlight all neccessary terms. Is that last line actually part of the post content, or is it generated otherwise in any way?

    As for Google et al. highlighting: This is something completely different and not a job of this plugin. There are other plugin which server that purpose.

  228. Meissner am 18. Dezember 2007 um 20:20 #

    Hi Alex, super Plugin, vielen Dank.

    Grüsse

  229. Lars am 9. Januar 2008 um 23:36 #

    Tolles Plugin, danke!

  230. jens am 13. Januar 2008 um 20:23 #

    Danke für das tolle Plugin. Genau was ich gesucht habe.

  231. Leon am 17. Januar 2008 um 23:58 #

    Hi there,
    Great plugin. Works great but… (why does there always have to be a but? ;-) )
    I’d like to have both the widget and the full page. Both are implemented fine and can be used except the results are somewhat strange.

    On the widget, there’s only one result per page so I have to browse through all results. Not very usefull with 25 or more results. Why don’t I see a list of results or can this somewhere be configured? The results end with the same problem as with the full page.

    On the full page search, the results are shown in correct numbers as chosen (5, 10 etc) but there’s always a next-button after the last result and when clicked it says no results found. (Like the number of results should be the number -1)

    Are these issues familiar?

    Thanks.

  232. Alex Günsche am 18. Januar 2008 um 17:53 #

    On which website is this? Please give me a link so I can test. Also, what plugins are you using?

  233. Leon am 18. Januar 2008 um 21:50 #

    Thnx for the prompt reply.

    The site is http://gamesolutions.efzeven.nl

    The default plugins, adsense delux, executable php wp-print, wp-mail and wp-snap. And both advanced search and -light
    Try it with the keyword ‘marian’, that will give the best example.

  234. Gira am 19. Januar 2008 um 13:52 #

    Danke für das Plugin - funzt super…

  235. chad am 29. Januar 2008 um 22:47 #

    Hi,

    I love this plugin. The Advanced Search page is great, just as UI. And i love the syntax highlighting. But …

    The 4-letter minimum is not good. Sure, MySQL dictates that number when you do FULLTEXT, but i would much rather have 3-letter words allowed than any gain from FULLTEXT. Perhaps you can do 2 types of searches - if user enters 2 or 3-letter words, it uses a different mysql query (not a FULLTEXT one) to get results?

    Also, is there a delay in mysql ? I just added a new blog entry and does not come up in search results.

  236. Alex Günsche am 29. Januar 2008 um 23:16 #

    Version 2.0 offers the user to switch between string and word search. String search acts pretty much like the legacy search, i.e. it searches for strings of arbitrary length. I guess this is the functionality you need. However, I’m afraid it’s not possible to let the plugin choose automatically, because it doesn’t know what the prerequisites on the respective blog are.

    Leon: This seems to be an issue with either your search.php or your pagination settings.

  237. Tommy am 31. Januar 2008 um 03:34 #

    I’m using version 2.0 with Wordpress 2.3.2 and mySQL 4.1.22.

    The basic functions work fine but string searches don’t seem to work at all, whether enclosed in quotes or not, with both Lite and Advanced searches. With strings enclosed in quotes, the search returns no results. Without quotes, the search returns results for the individual words in the string.

    I’ve also found that the html tags such as ‘class’ and ’span’ are indexed.

    Hope you can help.

    Thanks.

  238. Alex Günsche am 31. Januar 2008 um 13:53 #

    Tommy: The string search finds the exact string you’ve entered. If you enter something with quotes, they must also be in the content. As for the HTML elements, that’s normal — the entire post content is indexed; MySQL doesn’t filter HTML elements.

  239. Tommy am 1. Februar 2008 um 05:18 #

    Thanks Alex. I think I was confused yesterday by the fact that the system highlights occurrences of individual words in a string when they occur in another context in a page that contains the string. Apart from that it works as expected.

    The Help popup indicates that strings enclosed in quotes will return results for the phase within the quotes. Your reply suggests that quotes are treated as normal characters. I guess I should just delete that part from the help file.

    Otherwise, great product. Thanks.

  240. PB am 8. Februar 2008 um 16:54 #

    I installed and activated it just fine (version 0.6, on WordPress 2.0.7) but I can’t for the life of me figure out where the configuration screen is! Usually in Options or sometimes Manage but I see nothing for advanced search there. Any ideas?

  241. Alex Günsche am 8. Februar 2008 um 20:40 #

    PB: There is no configuration screen at all.

  242. Bin am 13. Februar 2008 um 23:03 #

    Alex,

    Search page comes up great, but after clicking search, all that happens is I get returned to dashboard in admin.

    Maybe there’s a conflict with where the result will show because the wordpress blog is protected with Angsuman’s Authenticated WordPress Plugin?

    What’s the workaround on a secured blog?

    Thanks
    Bin

  243. Nils am 14. Februar 2008 um 14:37 #

    I have just discovered this site with the WordPress plugin, …cool thing. I try out and then I´ll post my experience.

  244. Alex Günsche am 14. Februar 2008 um 16:18 #

    Hello Bin, could you possibly first try deactivating that other plugin to find out if it is the problem?

  245. Bin am 15. Februar 2008 um 19:16 #

    Alex,

    Indeed there is a conflict of some kind with the Angsuman’s Authenticated WordPress Plugin, because when I turn it off, your search plugin works great :)

    At first I was stuck not getting hilites. Seems like with default Kubric it doesn’t show so I switched it to classic.

    Now I just need to figure out how to get your plugin to work with the Angsuman plugin. Maybe it’s just a tweak to where your results page wants to go?

    Thanks
    Bin

  246. Antje am 21. Februar 2008 um 15:29 #

    Danke für das super Plugin! Hat mir seh geholfen!

  247. qrius am 4. März 2008 um 20:56 #

    I just wanted to compliment you on this plugin. It’s hands down awesome and should be a default wordpress! Kudos to you for making it available free to all of us!

    You’re a talented coder!

  248. Alex am 8. März 2008 um 23:09 #

    Hello… I was just wondering what the difference is between; “as words” and “as text”?

  249. Alex Günsche am 9. März 2008 um 15:06 #

    You mean as words and as string? The difference is that as words looks for occurences of words (i.e. groups of characters delimited by non-characters), where the words can be spread over the whole article. Usually, it is even sufficient, if only one of the words exists in an article. The option as string looks for the exact string you’ve entered in the search form. The latter is also the default behaviour of WordPress.

  250. Mike Walker am 22. April 2008 um 10:46 #

    Is there a way to search without entering any keywords or phrases. In other words, I want to pick multiple categories and get ALL results that exist in ANY of the categories. Also would like results that exist in ALL of the categories chosen option but will settle for the first for now.

    If not easily done, is this something that could be done for a fee?

    Thanks.

  251. Alex Günsche am 22. April 2008 um 13:04 #

    “Mike Walker”: Aren’t you the guy who sent me an e-mail yesterday as “David Goldstein” (with same text and e-mail address), despite the fact that the contact form clearly states “Please do not use this form for plugin support inquiries”?

  252. Jim Horbury am 29. April 2008 um 09:04 #

    Hi. Excellent plugin, btw. Couple of questions:

    1. Is there a way of highlighting string matches - in my results, word matches are highlighted, but string matches (within a word) are not.

    2. Possibly more complex! I’m using a star-rating plugin on my site, where I append a rating code likes this: [rating:4.5] at the end of every post. What I’d like to do is be able to order the search results (asc and desc) by this code. Would you consider helping me with this for a donation of some kind? What would be even better is to have links at on the search results template, ie, order by: Relevance | Date | Rating, etc…

    Much obliged, once again, thanks for the plugin.

  253. Alex Günsche am 29. April 2008 um 09:24 #

    As for string matches: that should work, but I’ll have a look at it with the next revision. As for ratings: You can have ratings by using something like echo $post->score within the Loop; however, these MySQL scores are quite obscure (try for yourself), not really usable for a relative rating. But you can at least print the score, and with the other stuff from the $post object, you will achieve what you’ve described.

  254. Jim Horbury am 29. April 2008 um 09:50 #

    Thanks for the speedy response. Regarding the ratings - I’m not particularly skilled in PHP, not sure if I understand what you’re suggesting. My ratings are already displayed within the loop (the code is parsed as star images which are displayed inline after each post). What would I need to modify in order to get the search results page to order by this rating?

    I’m not adverse to paying for some development work in this area if Zirona are interested. Email me directly to discuss if you’d like?

    Thanks again….!

  255. Alex Günsche am 29. April 2008 um 10:03 #

    Ok, I understand what you mean with “rating”, some sort of visitor’s rating, if I understand correctly. You can display the score in the template anyway. As I said, this score is virtually worth nothing: on some searches, a good result has something like “0.03″, while on other searches, a bad result may have “700″. I can insert it into your template, but without any warranty for usefulness. I’ll send you an e-mail later today, because I’m out of office now.

  256. Clive am 30. April 2008 um 00:32 #

    Hi there, thanks for your development on this plugin, I’ve been looking for a decent search facility with highlighting for wp for ages and this is nearly it. There is one thing missing, the ability to put some placeholder text in the search box. This would make sure that it passes the Level 3 accessibility checks and be the best there is.

    I did have a go at hacking the code but became unstuck. Do you think this could be looked at, please? Many thanks

    Clive

  257. Clive am 30. April 2008 um 09:13 #

    Sorry, forgot to add that I am happy to give a contribution towards the development, of course..

  258. Alex Günsche am 30. April 2008 um 10:11 #

    You can try to replace the search form text input with something like:

    <input accesskey="s" type="text" value="<?php if ($s)the_search_query(); else _e('Search term'); ?>" name="s" id="s" onblur="if(this.value=='')this.value='<?php _e('Search term') ?>';" onfocus="if(this.value=='<?php _e('Search term') ?>')this.value='';" />

    (Untested, but adapted from another working example I use in another place.)

    A contribution would be apprechiated. :)

  259. Danny am 2. Mai 2008 um 19:13 #

    hi

    Actually, I’ve posted this a while ago, but my comment has disappeared.
    Could you please make your plugin to output snippets rather than the entire posts? Sort of what Google search produces.

    Thanks a lot

  260. helga am 4. Mai 2008 um 17:17 #

    Hallo, danke für die Arbeit. Finde WP einfach eine tolle Software, gerade weil es so einfach ist, dies mit etlichen Plugins so top zu modifizieren. Macht weiter so.
    helga

  261. Jim Horbury am 7. Mai 2008 um 09:20 #

    Hi - regarding the development of the search plugin - I’ve jsut dropped you an email. If you’re interested, please get in touch. My specs have expanded somewhat!

  262. Yurrble am 18. Mai 2008 um 05:01 #

    Thanks for great plugin

    Actually, I just comment here to ask for your support.

    The question I have tried a lot of times is: how to set: search in comment as a default filter option? I have opened the code, but dont know where to touch in

    THanks and looking forward to hearing from you.

  263. Avi am 21. Mai 2008 um 19:05 #

    hi there i just upgraded to wp 2.5 and i am now getting “No input file specified” when I try to access my search page. any ideas?

  264. Christof Zachl am 21. Mai 2008 um 20:19 #

    Hi!

    Ich habe auf einer Seite zur Verwaltung von Veranstaltungs-Terminen RS-Event im Einsatz. Wenn ich über Advanced Search nach einem Text suche, der nur in den Posts, die als Veranstaltung geführt sind suche, gibt es keine Ergebnisse…
    Irgendeine Idee, wieso?

    Herzlichen Dank.

  265. psycentr am 22. Mai 2008 um 20:25 #

    Hi, we’re having an issue running Advanced Search 2.0 on Wordpress 2.5. When we do a search (whether it’s string or word) using any symbols like double quotes, a plus sign, a tilde, etc - for some reason it searches for the hex representation of the symbol instead. So if I did a search for:

    "children"

    …the engine would say:

    No Results for ‘%22children%22’

    In other words, it automatically converts the double quote into %22 and because we don’t have %22 in any of our posts, we get no results.

    We have an inkling that it’s a problem on our end of things, but if you have any insights we’d really appreciate them! And thanks so much for the plugin!

  266. Alex Günsche am 26. Mai 2008 um 21:51 #

    Christof: Tut mir leid, keine Ahnung.

    psycentr: I’ll have a look, but actually a single word shouldn’t be wrapped into quotes anyway.

  267. Frankie am 18. Juni 2008 um 22:44 #

    I’ve 250 categories… How can I transform the categories list in a multiselect input?
    Thx

  268. peter_pansen am 15. Juli 2008 um 15:50 #

    Hallo

    Ich habe das Plugin gerade installiert und bin begeistert. Als ich mit dann jedoch unseren Blog auf Firefox und Safari angeschaut habe, wurde die Seite mit der Erweiternden Suche nicht gefunden. hat schon jemand diese Problem erkannt bzw. gibt es eine Lösung?

    Danke im voraus für Euren Support.

    MfG

  269. cero am 28. Juli 2008 um 08:59 #

    I’ve been using your plugin for a while now, but just figured out it breaks the Media Library search in Wordpress 2.5+. I’ve been so frustrated with the media library search not working. Hope you can figure out a fix.

  270. DoZ am 26. August 2008 um 18:36 #

    I’ve modified your awesome plugin by making the 2.0.0.0.1 version!
    ;)

  271. Nick Smith am 5. September 2008 um 12:19 #

    Hi Alex, will this work advanced search work with WP Ecommerce? If so are you able to tell me how to create custom search options. I need a user to be able to search on type, price, country, and year.

    Many Thanks

    Nick

  272. Andreas am 11. September 2008 um 10:17 #

    Hallo,
    bekomme 2 JavaScriptfehler beim Aufruf der Suche. Woran liegt das?

    Andreas

  273. Andreas am 11. September 2008 um 17:37 #

    Hallo,
    habe in form.php nach der Zeile:
    $cat_children = substr( get_category_children( $category->term_id, ‘’, ‘, ‘), 0, -2 );

    folgendes eingefügt:
    if (!isset($cat_children) || $cat_children == “”)
    $cat_children = 1;

    Jetzt kommt kein JavaScript-Fehler mehr.

    Gruß Andreas

  274. Andreas Mertens am 12. September 2008 um 13:17 #

    Hi Alex,

    erstmal vorweg: Super Plugin. Leider hatte ich beim Installieren des PlugIns aus Sicherheitsgründen das Bog mit einem DBUSER laufen, der den SQL-BEFEHL ALTER nicht ausführen durfte. Aber die Indexes habe ich nachträglich (manuell) erzeugt, da die Indexe mit PlugIn deaktivieren/aktivieren und einem entsprechenden DBUSER nicht erzeugt wurden.

    Ich dachte, die fehlenden Indexe haben evtl. etwas damit zu tun, dass immer Ergebnisse aus beiden Mengen (Posts und Pages) erscheinen, egal wie ich den Query-String einschränke (Posts und Pages). Gibt es vielleicht eine Idee, woran es liegen könnte, dass ich immer Ergebnisse von Posts und Pages bekomme?

    Liebe Grüße, Andreas

  275. Andreas Mertens am 13. September 2008 um 14:07 #

    Bin mittlerweile in der Analyse weiter. Die Problematik, dass nicht zwischen Posts und Pages unterschieden wird, hängt weder mit dem Theme zusammen noch mit anderen Plugins, die sich mit dem AdvancedSearch-Plugin “beißen”….

  276. Andreas Mertens am 24. September 2008 um 19:44 #

    Mittlerweile wieder ein Stück weiter. Ich habe einen Blog das funktioniert die Unterscheidung in der Suche zwischens posts und pages. Eine Logfileanalyse der MySQL-Datenbank ergab, das völlig unterschiedliche Queries erzeugt werden auf dem Blog, auf dem die Suche funktioniert und auf dem Blog, auf dem die Suche nicht einwandfrei funktioniert.

    Es muss irgendwas mit der add_filter() Methode in functions.php zu tun haben. Hier wird der filter as_queryfilter hinzugefügt.

    Weiter bin ich leider nicht nicht gekommen. Seufz! Hilfe!

  277. Billy Brasov am 25. September 2008 um 20:57 #

    can you tell me why disn’t search in the title words this plugin? thanks.

  278. Stq am 30. September 2008 um 09:04 #

    Thank you for your work :)

    would it be possible to search only the currently logged user? And if needed the user could mark other checkboxes to look for the posts of others and his.

    I’m subscribing the RSS feed in case somebody responds.
    Thanks :)

  279. Paul Strauss am 1. Oktober 2008 um 12:59 #

    I’ve been using your plug in for a couple of months now and I think it’s great. But I’ve run into something weird that I don’t know if there’s any way around. There’s a popular search term on my site “watch”, which happens to also occur in YouTube embed codes which also appear in my posts. So these always show up erroneously in results…

    http://technabob.com/blog/?s=watch

    Any thoughts on how I might be able to filter that junk from my results? I’m willing to keep a separate branch of the plugin code if needed, if there’s an easy way to do this.

  280. Antonio am 9. Oktober 2008 um 13:28 #

    Hi Alex, I’ve been using your plugin for a while now, but it breaks the Media Library search in Wordpress 2.5+ and the filters of the control panel’s search also. Is there a fix for this very big problem?? Thanks
    Antonio

  281. Morecambe am 12. Oktober 2008 um 04:34 #

    Just want to say thanks for this modest plugin. It’s improved our site and I’m lucky a friend told me about it.

  282. Wyn James am 7. November 2008 um 13:04 #

    I’m developing a multilingual WordPress website - and the Advanced Search plugin field names translate well, using the qTranslate plugin. However, if I do a search for words in the alternative language (Welsh in my case) the results page is displayed in the default language (English). The individual results are correctly selected - but again are shown in English rather than Welsh.

    The qTranslate function: qtrans_convertURL(string $url, string $lang) could perhaps be used to display the results page for the language selected. I don’t mind trying to do the changes necessary for Advanced Search to work in a multilingual environment - but could you give some indication i which file and at what location the URL of the results page is set?

    Cheers Wyn

  283. fahad am 12. Dezember 2008 um 00:39 #

    hiya,

    i realise that i might be asking the same question as other did but i couldn’t find the answer. I installed your plugin and got the page with the search fields etc however when i do a search for a term, it doesn’t produce any results. Can you help. Im running my Wp site locally so don’t have an url soyyee

    Thank you

  284. David Riddle am 29. Dezember 2008 um 03:46 #

    I have installed both the widget and the advanced plugin on the site. Search for either words or string return ZERO results. I see others have had this issue too but did not see a solution
    WP 2.7
    Windows Server 2003
    MySQL: v4.0.18-nt
    PHP: v5.2.6

  285. Roy Walter am 30. Januar 2009 um 15:43 #

    Hi

    You need an option to deselect all categories. I have upwards of 30 categories on my site and if I want to search in just one or two I have to uncheck all the others.

    – Roy

  286. Michael am 24. März 2009 um 08:47 #

    Woran könnte es liegen, dass Advanced Search alle Formulardaten wie Kategorien, Zeitraum, Beiträge/Seite bei mir ignoriert?

    Das Hervorheben in den Suchergebnissen funktioniert.

  287. Ross am 30. März 2009 um 02:38 #

    Love this plug-in!

    I’m trying to resize the width and height of the table.
    Its a bit too wide for my sidebar. I can’t seem to find any setting to do this.

  288. Christopher Murray am 14. April 2009 um 16:19 #

    Hi
    I have been trying to use this plugin with the newest version of WordPress (2.7.1). I am using the standard version, not the lite version. I have created a page for the search and placed the tag in it. I bring up the page, type in a word, set the results to display to 5, and then hit submit. But I get back 20 results and none of the other parameters appear to affect the search either (sort, etc.). It appears that I am getting regular search back rather than search from your plugin.
    Please advise.
    Regards,
    Christopher

  289. Michael am 22. April 2009 um 10:13 #

    @ Christopher

    I have the same problems… :(

  290. sassi am 27. April 2009 um 10:16 #

    hallo!
    wenn ich das plugin aktiviere, funktioniert die ‘normale’ suche in der sidebar nicht mehr. muss ich für die sidebar also advanced search lite verwenden? mir ist das zu ausführlich.
    außerdem wird bei der advanced search kein einziger begriff gefunden. gibt es da ev. so etwas wie wechselwirkungen zw. wp-suche & dem plugin?
    bin für jeden hinweis dankbar!
    lg sassi

  291. Ryan am 27. Mai 2009 um 14:35 #

    When can we expect compatability with Wordpress 2.7.1? This is a fantastic plugin that I would love to continue using on many of my sites.

  292. Sandy Heierbacher am 27. September 2009 um 14:10 #

    So what’s the deal? Is this plugin not compatible with the current version of WordPress? Has it ever been upgraded to be able to search multiple tags?

    I’m looking for an advanced search plug-in that enables people to check multiple categories and tags and just search for a word or term within those selections. If anyone has a suggestion, please let me know! sandy at thataway dot org

  293. SM am 19. Oktober 2009 um 17:17 #

    The plugin works well with WP 2.8.4 - truly a good piece of sw. I have one question: how do I change the default settings on the page? I have relevance and descending as default, while I’d like date better than relevance. How do I do that? Thanks. SM

  294. Sam am 20. Oktober 2009 um 16:16 #

    Hi,

    Thanks for your good plug-in.
    How can i change the date system to Jalali ?!

    Thanks.

  295. data am 19. November 2009 um 11:58 #

    I have installed my website, thanks.

  296. Gunther am 25. Februar 2010 um 10:31 #

    Vielen Dank für das Plugin, das bei mir hervorragend funktioniert – die Spende ist bereits raus :-)

  297. marco am 4. März 2010 um 18:35 #

    Might you help me? I need to insert a button in the search page at categories level to select/deselect all the categories listed. I’ve more tha 100 categories.
    Thanks in advance.
    Marco

Please support our OpenSource developments. Donate some bucks! Use the form in the upper right of this page, and get a backlink!

Artikel kommentieren

 (wird nicht veröffentlicht)


Kommentare können bis zu 30 Minuten nach dem Veröffentlichen bearbeitet werden.