DISQUS

Dan Cameron: Search Everything Wordpress Plugin at Scattered

  • madmercado · 2 years ago
    Hi!

    I'm having a problem: Using your tool to be able to search as well in custom fields, I do NOT want to find attachments as well. But I can't deactivate it, when searcheverything is activated it is searching for attachments, no matter if that's function checkbox is deactivated or not. (try: www.selbstausbildung.de: search "joomla" - there'll be two pages and one attachment).
    Where's the error?
  • Rob · 4 years ago
    Cool, man! Nice plugin. Any luck making the search options?

    Thanks again!
  • Rob · 4 years ago
    Holy crap, your tag page is awesome! What plugin is that? Also, what is that nifty pop up over links?

    Do you mind shooting me an email?
  • Ruby · 4 years ago
  • Rob · 4 years ago
    Wow, your fancy tooltips is much faster and better integrated with Safari than mine! I'm jealous! What are you using?
  • Dan · 4 years ago
    I don't know what you are talking about could you please explain.
  • Michael Martine · 4 years ago
    Nice plugin! Thank you so much. It's hard to do dark on a site but you did a great job.
  • George · 4 years ago
    Thanks for the plugin!

    Is it possible to search the Links also? I'm building a site with 100's of links, and I can't seem to find a way to search them.
  • Dan · 4 years ago
    I think it could be done but nothing I could do.
  • eyolf · 4 years ago
    Hi. Nice plugin. If I only knew a little more about how to use it.
    So far, I emptied the (), included add_comments_search_join() somewhere in the searchform.php page of my blog, and it seems to work, so I must have done something right... (I don't know much about php...).
    However, in the search results, only the links to the posts themselves appear, and there is no distinction between whether the hit is in a post or a comment. Is there a way to make that distinction, so that what comes up in the result list is the text in which the word appears, and not just the head and excerpt of the post?

    another question: how do you sort the recent comments by comment? I want that too! I'm using the plugin get-recent-comments by Krischan Jodies, but I haven't found a way to get the sorting that you have here. Is there another plugin?
  • jackson · 4 years ago
    window.document.getElementById('post-1′).parentNode.className += ‘ adhesive_post';

    I'm assuming that's because I'm using the "adhesive" plugin to keep that post at the top of the page, but is there something for me to do to get rid of that?

    Thanks so much for your help.
  • Dan · 4 years ago
    Not sure. I would ask that particular plugins author.
  • jackson · 4 years ago
    Sorry, didn't you create the search everything plugin?
  • johnyatz · 4 years ago
    Seems to work great! Is there anyway to modify the plugin to search multiple blogs? I'm using the Multiply plugin to manage multiple blogs and would like a single search for all of them that does what your plugin does. Since each blog is simply an additional table in the same WordPress database, I assumed I could find a way to tell your plugin to search the additional databases as well, but I'm not very good at this stuff. If possible, it would be a nice feature addition! But, heck, I'd even settle for a hack :)

    Thanks again for a great plugin!
  • nader · 4 years ago
    i've been using it for a while now and love it. i'm actually not a programmer but still managed to implement it ;)
    would you know of a way to extend the search capabilities to more handmade tables?

    thanks, nader
  • Dan · 4 years ago
    Sorry, no to both of those last two questions.
  • rich · 4 years ago
    I am having difficulty getting it to search for tags created with Jerome's keywords plugin. Is there an incompatability, or do I need to do something to make it work?
  • c · 4 years ago
    Say, thanks for the plug-in. It seems to be working fabulously. A couple of meta-observations, though:

    The Plugin URI in the plugin itself is "http://dancameron.org/searcheverything/" -- unfortunately, you seem to have moved the page (to here). This means that when users click the link on the admin Manage Plugins page, we get a 404. A redirect the the canonical home of Search Everything would be a kindness for all concerned.

    Too, it would be nice if you provided an explicit statement of the current version number somewhere prominent. I had to download a new copy and peer inside to see if it had been updated from v 0.01 yet. For better or worse, until the wp-plugin-mgr plugin returns, one has to rely on the author's plugin page to stay up to date.
  • Jensos · 4 years ago
    Hi!
    I know its not that easy, but is it possible to include categories aswell in the search? Sometimes the name or the description of a category is the keyword users are searching for, but they get "no results"...
    Would be nice to read about that!

    Regards!

    Jens
  • Jonathan Maus · 4 years ago
    Can someone let me know the code to insert for this plugin to display?

    Thank you for your help.
  • Null · 4 years ago
    Still doesn't work with BLIX theme users :(
  • Mike Dent · 3 years ago
    Hi, does this plugin work with Wordpress 2.0? If not any plans to do so?
    thanks
    Mike
  • dancameron · 3 years ago
    It should. I'm using a similar plugin except the searching of comments and it works fine.
  • Ingrid · 3 years ago
    It works very fine in WP 2.0, I just tested it. Thanks for this great plugin.
  • Loover · 3 years ago
    Nice Plugin. Will be great an option in order to select certain page or post Ids in order not to be included in searchs
  • slypix · 3 years ago
    Just wanted to say thanks, for the plugin - it's really awesome... as a non-programmer I have to say I really appreciate the open source community, keep up the great work.
  • Jelke · 3 years ago
    Awesome plugin! Love it! Thanks!
  • Mobius · 3 years ago
    Can someone let me know the code to insert for this plugin to display?

    Thank you for your help.
  • Dan · 3 years ago
    You just inall it. No code to insert.
  • Mobius · 3 years ago
    Just let the default search as it?

    Thanks :)
  • BillyG · 3 years ago
    HI. I was using your plugin with great success up until recently and I don't understand what the problem is i.e. I'm getting a 404 from searches that should definitely be there (since I'm see it lol) . I just Viewed your Source and see this stuff that I don't have and didn't see in the "upload php activate, that's it" instructions:

    **********************************************
    script type="text/javascript" src="http://dancameron.org/wp-content/themes/2.2/js/livesearch.js.php" /script
    //
  • dancameron · 3 years ago
    I use livesearch so it is a separate mod to wordpress. But everything should work out of the box with this plugin, if it doesn't it could be your permalinks. Not sure why you would have any problems.

    You could also deduce if it's the plugin by deactivating it and searching the core search of wordpress to see if you have the same issue.
  • Billy · 3 years ago
    Yea, I did that and nothing was working but I'm good now by incorporating the default theme statements and your plugin which does retrieve words from my comments.

    However, since the word I was purposely searching for was in the comments, it pulled up the post but didn't expand the comments so a User might think that it was a bogus return, is that something I screwed up or are you maybe planning to have the comments expanded, maybe even the word highlighted, in the future.

    I just want to make sure I'm getting the most out of what it has to offer at this point. Thx.
  • bgrier · 3 years ago
    Nice Plug-in. Works on my K2 install right out of the box....Thanks!
  • Bob · 3 years ago
    Hi,
    Was just wondering if you can use some kind of code within the loop of the search.php template file to tell whether or not each 'post' returned by the search is a post, page or comment? So that each can be treated differently by the theme.

    Thanks.
  • cori · 3 years ago
    Hey Dan;

    I've extended Search Everything to incorporate some of the items in your todo list, building an admin interface and also adding the ability to search drafts and attachments if so desired. Hope you don't mind.

    You can take a look at http://kinrowan.net/blog/wordpress/search-all. Comments welcome.

    cori
  • toLGa · 3 years ago
    in the search results only the links to the posts are shown . Is there a way to show the text in which the word appears as highlighted ?
  • dancameron · 3 years ago
    That's a search function, doesn't have anything to do with this plugin. I would recommend Livesearch if you want that functionality since it's built in.
  • toLGa · 3 years ago
    i want to learn how i can make your plugin work with this search hilite plugin ?
    http://www.blog.mediaprojekte.de/index.php?s=got

    i want my search results show up like that. i have no posts in my site, there are only pages. is there a way to do the search results like this ?
  • Reiner Saddey · 3 years ago
    Hi Dan! Search-everything really lives up to the true plug-in spirit: Just plug it in and enjoy the light! Thanks, Reiner
  • Gray Charles · 3 years ago
    The plugin is not working for me. In the admin interface i have to update the Options twice before they "stick".

    Afterwards, search can't pull up any comment results. Any ideas on where to look? It's a pretty standard Kubrick theme.
  • cori · 3 years ago
    Hi Gray;
    I don't know anything about the neccessity to double-set any of the options, but I can say that the failing of the comment search is the result of a bug that I introduced when I modded Dan's original plugin. I let Dan know of the bug yesterday. My mod of Dan's plugin has the correction already in place.
  • Dan · 3 years ago
    I'll try to fix it this upcoming week. Keep your eyes open.
  • Gray Charles · 3 years ago
    Dan and Cori, thanks.

    What is the core difference between your two plugins?

    Cori, I left a message on your site. Your downnload link still points to the old version.
  • dancameron · 3 years ago
    Everything should be fixed now.
  • BillyG · 3 years ago
    SHIT, my host doesn't allow files-starting-with-a-dot uploads. I had this same problem with K2 a few months ago.
  • dancameron · 3 years ago
    You only need the plugin. What hidden files do you see? I know that OS X archives are extracted weird on PC. Anyways, I'll have a look but in the meantime all you need to upload is the plugin.
  • BillyG · 3 years ago
    ._.DS_Store
    .DS_Store
    ._search_everything2.php
    gpl.txt
    search_everything2.php

    So all I need is the last one? Okay...
  • dancameron · 3 years ago
    yeah, don't bother with those files except of course search_everything2.php
  • BillyG · 3 years ago
    I had to select the first 2 boxes under Options twice but it's all good, worked for comments too! Thx.
  • Ben Gray · 3 years ago
    Thanks Dan. Great plugin.
  • Marcus · 3 years ago
    here

    Cheers!
  • Ben Gray · 3 years ago
    Dan, thanks for this man. You're awesome. I'm totally getting on this bandwagon late but hey, better later than never. ;)
  • john · 3 years ago
    I copied search_everything2.php into my plugins directory (I honestly don't know what to do with the rest of files). I can see it in the plugins section and activate it. Then when going to "Options" I see this:
    What's wrong?

    Warning: sev_option_page(/home//public_html/wp-content/themes/connections/searchform.php): failed to open stream: No such file or directory in /home//public_html/wp-content/plugins/search_everything2.php on line 224

    Warning: sev_option_page(/home//public_html/wp-content/themes/connections/searchform.php): failed to open stream: No such file or directory in /home//public_html/wp-content/plugins/search_everything2.php on line 224
  • sfong · 3 years ago
    Thanks for this plugin it's great and working. Wonder this is not built into the standard package of WordPress so obvious!

    Wonder if you would also modify this to include tag file, I use UTW 3.1 for tagging but search doesn't cover tags inserted into the post.
  • jon · 3 years ago
    @john: same thing happens to me. Looks like this plugin won't work unless your theme has a searchform.php, which mine doesn't. Shame, as the features sounds really nice.
  • jon · 3 years ago
    My mistake, it does work, it's just that top part of the options page doesn't.
  • dancameron · 3 years ago
    Yeah, if I do anything else it would be to include a tag search within the plugin as an option. i think I'll contact Christine of UTW.

    Jon: Yea, it seems most themes don't support the search feature on the plugin page, I'm contemplating taking it out.
  • cori · 3 years ago
    Hey Dan (et. al.);

    Looking at John's error, I determined what I goofed up regarding the search box on the options page in some themes. Since I only initially tested this on my own mod of the WP Default theme I didn't realize that I was relying on something not in the core WP install.

    Version 0.3 of Search All (http://kinrowan.net/blog/wordpress/search-all/) resolves this issue; Dan, please feel free (of course) to include this in a newer version of Search Everything.
  • uplink · 3 years ago
    Hi Dan, i'm using your plugin on my site, it's my first time with wordpress.

    Is there any chance you could update the plugin so it includes results from the only faq plugin for wordpress i can find, you can see it over at http://rane.hasitsown.com/blog/plink/technical/....

    If you could integrate that, it would be greatly appreciated.
  • Jayant Gandhi · 3 years ago
    @john May 7th, 2006 at 11:48 pm
    @jon May 14th, 2006 at 2:22 pm

    Reason for the error:-
    This error comes when the theme doesn't include searchform.php. Since the theme doesn't have searchform.php, the default one will be used, so it shouldn't harm to copy the default searchform.php into your theme directory.

    Suggested solution:-
    Copy searchform.php from /wp-content/themes/default to /wp-content/themes/[theme]
    Make it writable so that you can modify it and bingo!!!
  • Joan · 3 years ago
    I modified the 2.2 version to allow it to search inside miniposts (made with http://doocy.net/mini-posts/ plugin). which by default are hidden from the loop.

    You can download it at: http://www.junyent.org/blog/index.php?p=468lp_l...
  • Zloy · 3 years ago
    ХорошаÑ? штука
  • overla · 3 years ago
    Dan,
    thanks for the great plugin - excellent stuff. I wondered if you or someone else might be able to assist me with an issue i have please.

    I have a form on my website allowing users to submit info - this info goes to a news table i have created in my WP database. I then have a page which displays this info (based on a sql query i guess).
    Now when i search for a word which i know is in this table of info, this page is not included in the search results. Any idea of what i can do to enable my new table of info to be included, or is this not possible as it is in a different table with results only loaded on the page based on the sql query .... im not sure if i know exactly what im talking about, but perhaps this will make sense to someone.

    Thanks in advance for any help.
  • JaredB · 3 years ago
    Spam alert!
  • Steve Ryan · 3 years ago
    Thanks! I have added images with captions to my site, storing the image metadata and captions in a new table. Your plugin allowed me to add captions to the search function without figuring things out from scratch.
  • zero_ohm · 3 years ago
    Awesome plugin, one question, how do I get an excerpt of the page to display with the search results?

    I assume there some php for it but I don't have it. Right now all I get is the page title.

    Thanks.
  • ovidiu · 3 years ago
    I am too having problems with my theme not having searchform.php but If I use the search all plugin which you suggest there is no longer an error.

    another question would be if you really plan to integrate searching inside tags I would really love that as my site relies heavily on tags.
  • Jeff · 3 years ago
    Hi

    Just a small error report:

    If the search finds nothing, it says "NothingNot Found"instead of "Nothing found"
  • Thomas · 3 years ago
    I just downloaded it and installed it on two blogs and it doesn't do anything. I'm having similar results to #comment-15906 above.
  • dancameron · 3 years ago
    Strange, I' sorry you've found those issues. I'll try to troubleshoot them on the next release.
  • Domiziano Galia · 3 years ago
    Er, it doesn't seem to do nothing. I think that the problem is that I don't have a searchform.php or whatever in my theme dir (and I don't know how to do it), i've only this code in my sidebar

    ("

    " /

    )

    What can I do? :p
  • BillyG · 3 years ago
    I'm getting this error after deleting the earlier version and uploading the 2.2 file: Cannot load SEv_options_page. TIA.
  • Duchydog · 3 years ago
    Hey,

    Great plug-in. Doesn't get easier than this.

    I found you from the wordpress plug-in database site (http://wp-plugins.net/), where they're still posting an older version of this plug-in (with a link that points to idancameron.com/blah..... ) Also lists that its compatability only extends to WP 1.5.

    I would update them, but I don't want to seem like I'm taking credit.

    Thanks again,
  • Ron · 3 years ago
    Very nice Plugin, a question was raised whether I can search everything, I said i don't think so, now i found this ...

    Thx mate
  • lerone · 3 years ago
    hey,

    first off all I found my self in heaven finding out you integrated the tag/metadata search as an option.

    so, first of all, 100 hugs fr that!

    then, undfortunately, activating this option, brings:

    "WordPress database error: [Unknown column 'languages.language_idLEFT' in 'on clause']"

    the other options are working actually. this only happens with the metadata option on. ... which, of course, was the reason I installed that plugin of yours so hopefully.

    as I am absolutely novice to php (actually not even that, really), it would be nice to get hints, what could be done about it. as it seems connected to "language" somehow, it might have to do with the gengo-plugin, which I installed for multilingual blogging...?!

    any advice most welcome! thanx already
  • Maria · 3 years ago
    I installed v2.2... no errors came up. Then, after selecting all available search options and entering my first search word... at the top (header), I got:


    WordPress database error: [Column 'meta_value' in where clause is ambiguous]
    SELECT DISTINCT * FROM wp_posts LEFT JOIN wp_postmeta AS postrestrictions_meta ON wp_posts.ID = postrestrictions_meta.post_id AND postrestrictions_meta.meta_key = 'post_restrictions' LEFT JOIN wp_comments ON ( comment_post_ID = ID AND comment_approved = '1') LEFT JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id WHERE 1=1 AND (((post_title LIKE '«out%') OR (post_content LIKE '«out%')) OR (post_title LIKE '«out%') OR (post_content LIKE '«out%')) AND post_date_gmt
  • Lexian · 3 years ago
    Standart way for a search in wp is not for me and my blog =)
    i belive that it's will be better
  • Frank · 3 years ago
    Hy,
    nice Plugin ! When you change in line number 319 to
    function SEv_add_options_panel() {
    add_options_page('Search Everything', 'Search Everything', 1, __FILE__, 'SEv_option_page');
    }
    then is this plugin also for Wp 1.5* usable.
    Do you like a german Version of your Plugin ? I translate, when you like it.

    thx and best regards Frank
  • Roberto · 3 years ago
    Hi Dan,

    I'm thinking in extending the plugin to using other tables, any idea how to do that (I want to search in other tables even those created from plugins)

    thanks for this plugins, saved me a lot of coding ;)
  • Chris · 3 years ago
    The website link is a development site. It's not permanent.... so if anyone looks at this months from now, it will most likely be gone.

    Anyway. Love the plugin. Just one thing.

    I have the search on my sidebar, not a separate page. At this point I dont' know what it does it if it finds multiple results. Not a lot of data on the site. Irrelevant wandering from actual question.......

    Anyway... If the search results in a page, the page is displayed, but it uses the post template not the page template, so I have the dreaded "posted in category uncategorized" at the bottom of the page. (when the page is accessed through normal navigation means it uses the page template, which does not have the posting meta data displayed)

    Is there an easy way to specify which template to use to display a page as the result of a search??

    I have a minimal working knowledge of php, but didn't see any reference to templates when I skimmed through the plugin code

    Thanks!!
  • Bert · 3 years ago
    Hi Dan,

    Could you in the next version please fix this small error? Currently we see in the search_everything(.*).php the following:

    function SE2_options_style()
    #search_options tr.child_option {
    margin-left: 15px;
    margin-top; -3px;
    }

    The last line should be:
    margin-top: -3px;

    So replace the ; by a :

    Thanks for the great plugin!
  • Anonymous · 3 years ago
    This is a great plugin but there is one thing that could to be added: restrict password protected pages from the search results. Maybe something like adding "AND post_password IS NULL" to the mysql where query? I don't know the correct syntax to use to hack your plugin to get this to work though.
  • Dave · 3 years ago
    Nice plug-in - have downloaded, now just need to install it!

    DO you know of any plug-ins which put a blurb about the page on the results page under the title of the page? Similar to Google display etc.

    Cheers,
    Dave.
  • Peter · 3 years ago
    For Wordpress MU the search on pages doesn't work.
    To solve this you need to update the SE2_search_pages function ...

    //search pages
    function SE2_search_pages($where) {
    global $wp_query;
    if (!empty($wp_query-query_vars['s'])) {
    $where = str_replace(" AND (post_type = 'post'", " AND (post_type = 'page'", $where);
    $where = str_replace(" AND (post_status = 'publish'", " AND (post_status = 'publish' or post_status = 'static'", $where);
    }

    SE2_log("pages where: ".$where);
    return $where;
    }

    Grtz,

    Peter
  • patung · 3 years ago
    Is there any way to enable the plugin to search on comment authors' names? Thanks.
  • Domiziano Galia · 3 years ago
    I have the same problem as Maria:

    WordPress database error: [Column ‘meta_value' in where clause is ambiguous]
    SELECT DISTINCT * FROM wp_posts LEFT JOIN wp_postmeta AS miniposts_meta ON (wp_posts.ID = miniposts_meta.post_id)LEFT JOIN wp_postmeta ON wp_posts.ID = wp_postmeta.post_id WHERE 1=1 AND (((post_title LIKE '%diario%') OR (post_content LIKE '%diario%')) OR (post_title LIKE '%diario%') OR (post_content LIKE '%diario%')) AND post_date_gmt
  • Domiziano Galia · 3 years ago
    Hi everybody, I have succeded in correcting the error I had (Column ‘meta_value' in where clause is ambiguous). Maybe someone will find it useful: in the plugin's function SE2_search_metadata you simply should add wp_postmeta before .meta_value. So, at line 149:

    $where .= " OR wp_postmeta.meta_value [...]
  • Domiziano Galia · 3 years ago
    Too Good To Be True...

    Some metadata, as UTW Tags, are stored in a peculiar way: while no problem with single words, "usa" is stored as "usa", phrases, eg. "united states of america", are stored as "united-states-of-america".

    So if I search "united states of america" I don't get the result and really I can't hope my users to search "united-states-of-america" (by the way: if they even would do this they wouldn't get an eventual "united states of america" from post contents).

    I don't think it's hard to work it around, it's a matter of converting spaces in minus signs in the query string in the single case of metadata search, but I'm a phpnewbie. Any ideas?
  • Shelly · 3 years ago
    I'm having the same issue as Domiziano - if the Page is titled with a single word, the saerch pages thing works fine. However, if the Page title is multiple words, it links to the spaces rather than the Page slug. For example, I have a page titled "The Moon". The wp_list_pages links to the slug, which reads "the-moon". However, the search pages brings up "The Moon".

    Is there any way to force it to use the slug as the URL link rather than the page title? Thanks :)
  • Anonymous · 3 years ago
    nvhh
  • Derek · 3 years ago
    Great plugin. I'm wondering if it's possible to somehow have it search through plugins that are installed on wordpress. I've got an image gallery installed as a plugin and nothing but nothing in wordpress will list results from the gallery. Thanks for any assistance.
  • JaredB · 3 years ago
    full site index, I'd suggest just directing your searches to Google, and limiting the results to only those found on your site. That's what I do for my blog. They just started a new service where you can further customize (style, etc) this kind of thing to make it appear more integrated into your site.

    The nice part about doing that is that Google will already index everything in your site for you, regardless of whether the content came from a post, a comment, or a plugin.

    The only downside would be the delay in accurate results depending on how often Google crawls your blog and updates its indexes, but I don't see any other way of truly getting everything, unless you wrote your own type of "spider" component that would maintain your own index of your site on a more frequent basis than Google does and then have a plugin go against that.
  • Derek · 3 years ago
    @JaredB, thanks for the info. I had a feeling Google would be required.
  • Shelly · 3 years ago
    Well, I figured it out on my own. Turns out it was an utterly *stupid* mistake. When I edited the "Search Results" page, I had formed my links like so (replacing brackets with "." 'cause I'm not sure if they'll be parsed here - but try to imagine they're there!):

    .a href=".?php the_title(); ?.". Title here ./a.

    The error was using "the_title();". That's why it was capitalizing and separating the title with spaces, instead of using the slug (i.e. linksing to "Title here" instead of "title-here")

    When I changed "the_title();" to "the_permalink();" it all fixed itself.

    Hopefully that helps someone else (yes, I will admit to my stupidity, if it'll help someone else!)
  • Chris J. · 2 years ago
    Hello Dan!

    I am echoing comments from May 17, 2006

    -------------------------
    Hi Dan, i’m using your plugin on my site, it’s my first time with wordpress.

    Is there any chance you could update the plugin so it includes results from the only faq plugin for wordpress i can find, you can see it over at rane.hasitsown.com/blog/plink/technical/33/wordpress-faq-plugin/.

    If you could integrate that, it would be greatly appreciated
    -------------------------

    The FAQ Plugin by RANE is pretty hot and would be much more valuable if one could include it in the search. I looked at your code, but don't have enough php/mysql knowlege to figure out how to make this work.

    Can you please help?

    Thanks,
    Chris
  • dancameron · 2 years ago
    Sorry, it would be impossible to support all of the cool plugins out there. If the plugin uses the meta field SE will work with it. As Jarad said the best thing to do is to use Google for the searching.

    I might release a plugin that later uses google ajax since I've already coded it for another static site but don't keep your hopes up for it to be released soon.

    good luck.
  • Eric · 2 years ago
    Hi,

    I just found your plugin and really like it but it doesn't seem to be working with WP 2.0.6.

    Are you aware of any problems with the new version of 2.0.6?

    Thanks
    Eric
  • PeterM · 2 years ago
    Have the same problem with three of my sites. Hopefully Search Everything will work soon with 2.0.6.
  • Tom · 2 years ago
    Hello Dan,

    i really love your plugin. Thanks a lot.

    But I have the same problem now. WP Version is 2.0.6. The search doesn't include the pages. Yes, I have ticked the checkbox in the options.

    It would be very nice if there's a way to fix this problem.

    All the best
    Tom
  • dancameron · 2 years ago
    I'm going to look into the issue ASAP.
  • Peter Claus Lamprecht · 2 years ago
    Hello Dan,
    I found the problem in the new plugin version:
    all str_replace functions use strings with double quotes ("), but only escaped single quotes (\') are correct.

    Example line 89:
    "publish" must be written as \'publish\', "static" as \'static\'

    I made the changes and it works fine.
    Download: http://www.fastagent.de/res/download/searchever...

    Happy New Year,
    Peter
  • dancameron · 2 years ago
    Thanks Peter, I'll upload the new version to Google Code tonight.
  • Peter Claus Lamprecht · 2 years ago
    Hello Dan,
    the WordPress developers made changes in classes.php
    They used to mix up " and ' quotes before. Now they only use single quotes.

    I added now the following line to your plugin:
    $where = str_replace('"', '\'', $where);

    This ensures that only single quotes are used in $where.

    Changes:
    85, 102, 114: line added as described above
    90, 103, 115, 116: line changed as described in my previous comment
  • Ian Luke Kane · 2 years ago
    Based upon what both Dan and Peter said above the plugin should now be working under 2.0.6, but it still doesn't seem to be working for me. I know that the options are correctly set and everything, but pages still aren't searched.

    -Ian
  • Tom · 2 years ago
    Hi Ian,

    the plugin works fine now. Searchs Pages and everything.
    I think the problem is on your site now.

    Check again if the desired checkboxes are ticked.
    For some reason you have to do it twice until it remains ticked.

    Cheers
    Tom
  • Mark · 2 years ago
    Awesome plugin, thanks a lot.
  • Roger · 2 years ago
    Thnx for the plugin! Same situation like Tom has, had to tick the options for a second time when installing, which was the only thing I encountered so far (running WP 2.0.7).
  • Steve · 2 years ago
    Great job with the plugin. Everything seems to work great, but I was wondering if there is a way to make the search results non case sensitive? Thanks.
  • Steve · 2 years ago
    One more question. When a search term is found from a comment the results display the post that the comment was made on, but not the comment itself. The user would then have to click on comments in order to actually find the searched for term. Any ideas on how to fix this problem?
  • argie01 · 2 years ago
    Hi,

    I'm testing this plugin with WP2.1 and it's not working with static pages (yes, I enable it in the plugin's options)

    Any idea ?


    Thanks !
  • Frank D. · 2 years ago
    Don't work, no results... This is my searchform.php:

    /"
    " name="s" id="s" /
  • Frank D. · 2 years ago
    Hi,
    now it works. At the first time, the plugin don't enable my selected options. Thank You!
  • Wayde Christie · 2 years ago
    Testing with WP 2.1 and it aint happening for me. Plugin options don't seem to stick, and no search results from anything except posts.
  • Andrew Ferguson · 2 years ago
    When I search, I'm getting multiple results from the same item. If I deactivate the plugin, the issue stops...any ideas?
  • Matt Yanchyshyn · 2 years ago
    I have the same problem as Andrew above - with Wordpress 2.1 and the latest version of Search Everything searches return posts multiple times. Any ideas?
  • Lazy · 2 years ago
    the same here.. any fix for it? :)
  • Filostoof · 2 years ago
    Thanks for a good and very usefull plugin, you can see it action here... http://www.filostofie.nl
  • 2046 · 2 years ago
    it doesn't work with W2.1. ...non of search plugins I have tried works ;(

    jm
  • BGH Quiz · 2 years ago
    There's a problem with this plugin with Umlauts, especially uuml. Maybe it's a clitch with the Search_Hilite plugin, too, but when I search for e.g. numbers it shows the correct page I was searching for, but my uuml are screwed up. It looks like this e.g.:

    52;berraschten
  • nes · 2 years ago
    2.6-Jan092007 works like a charm on WP 2.0.6.

    You refer to v2.5-Oct23 in your WP 2.1 paragraph at the top of the page -- but I don't see a download link?
  • nes · 2 years ago
    Nevermind.

    Version: 2.6 Jan09-2007 does seem to be working on WordPress 2.1.

    A suggestion: please update the version number at the top of this page where it says "Version: 2.5 Oct23".

    A comment:

    I've seen this on more than one installation (2.0.6/7 as well as 2.1). I think I've learned the sequence is:

    Activate plugin
    Go to options and set them. Click update
    Try a search. It fails. Poke around trying to find out what's wrong.
    Finally go back to the options page and see that none of the settings are there.
    Click them again. Click update again.
    Be happy.

    PS: Your PayPal donation doesn't seem to be working. I'll try to remember to check back on my next install since this is such a necessary piece of code.
  • amanda · 2 years ago
    Hi, thanks for the great plugin! Search Everything works perfect until I activate the Events Calendar plugin (to show future events in a calendar). I'd like to have both plugins working. Any ideas?
  • Al · 2 years ago
    Yes! Works great in WP 2.1! Thanks a lot!
  • Cailean · 2 years ago
    I'm the same issue where a single post is brought back multiple times... It seems that any given post is returned as many times as the term is found... So if the term 'plugin' was found in post #123, once in the post body and once in the metadata, that post would appear twice in the search result list...
  • Michael Jabbour · 2 years ago
    Hey!

    I am trying to get my search to work and even though I have it set to search everything it doesn't pick up basic info in the pages.

    Any ideas why? theme problem?

    Thank you!!

    MJ
  • Gary O · 2 years ago
    Can anyone suggest how I can return an excerpt of the page?

    My search results display post excerpts, but the full page is returned.

    Regards

    Gary O
  • Anonymous · 2 years ago
    I would love to use this, but it doesn't seem to play well with podpress.
    search results display the js that runs the embedded player.

    just thought you might like to know.
    keep up the good work!
  • Basilisk · 2 years ago
    post_parent); ?" title="Permanent Link to post_title; ?"post_title; ?`

    It is slightly more convoluted than it needs to be simply because $post_type is always "post" in the search loop for some reason... perhaps this will be of service to someone out there.
  • Basilisk · 2 years ago
    post_type == "page") { $pageparent = get_post($pagecheck-post_parent); ?post_parent); ?" title="Permanent Link to post_title; ?"post_title; ?
  • Shua · 2 years ago
    Dan,
    For the past 6 months this plugin has been great!

    I have some "pages" in the works that I would rather not be returned in search results. Is there a way to exclude pages?

    cheers!
    shua
  • Marcos · 2 years ago
    MMm, yes - I also am getting multiple appearances of one post in search results since upgradin tco WP 2.1. I've tried the latest version of Search Everything, but it persists. I don't have any other plug-ins that have anything to do with search, near as I can tell... any ideas? I guess I can try de-activating the other plug-ins one at a time and see if any are the problem.
  • itsme · 2 years ago
    "

    Dan,
    For the past 6 months this plugin has been great!

    I have some “pages” in the works that I would rather not be returned in search results. Is there a way to exclude pages?

    cheers!
    shua"


    got the same problem. please fix this nice plugin for us.
  • Sojian · 2 years ago
    Just wanted to say thanks for the great plugin.
  • Chris · 2 years ago
    Hi, I have a plugin called page restriction and I was wondering if this seach plugin is able to search the pages but not the restricted ones, as I have a download page only for the registered users.
    Thank you!
  • Sergio Majluf · 2 years ago
    Disabling the Search on Custom Fields (Metadata) fixes the duplicate (or triplicate in my case) search results.
  • Cailean · 2 years ago
    Sergio - disabling the Custom Fields Search kinda defeats the purpose, doesn't it? Luckily I found a fix for the multiple results bug here: http://www.reaper-x.com/2007/01/29/fix-for-sear...

    Shua/itsme - You can exclude pages in the options
  • Shua · 2 years ago
    Cailean, Interesting... I have the latest and greatest version (apparently) and my options are: Search Every Page
    Search Every Comment
    Search only Approved comments only?
    Search Every Draft
    Search Every Attachment
    Search Custom Fields (Metadata)

    There is no field or other mechanism to exclude specific page ids, or pagebynames,etc.
  • Alfredo · 2 years ago
    Thanks for the plugin, the current search only looks for text in posts only. I will definitely try this one.
  • dancameron · 2 years ago
    I just release version 3. Make sure to check it out because the duplicates should be fixed.
  • moonswamp · 2 years ago
    HI,I'VE Collcet this plugin in my blog:
    http://www.tearsea.com/?p=554

    great plugin and thanks~~~
  • Jim · 2 years ago
    I just downloaded and and activated this. It seems to work great on everything but attached files. Will this plugin actually search through a pdf or Word document for the search string?
  • dancameron · 2 years ago
    It searches the data in the wp database only.
  • Jim · 2 years ago
    It seems that everything means inside attached files to some people. There is such a post on the WP support forum.
  • Andy · 2 years ago
    This is a great plug in and ideal for my site. One enhancement suggestion. I logged in as a "author" in Wordpress 2.1 and was given access to the Seach Anything option screen, this should only really be available to the site adminstrator
  • dancameron · 2 years ago
    Thanks for pointing that out. I'll make it high priority.
  • Shua · 2 years ago
    Dan, I don't mean to beat a dead horse...

    I have some “pages” in the works that I would rather not be returned in search results. Is there a way to exclude specific pages?

    cheers!
    shua
  • dancameron · 2 years ago
    If they are published no. But if you save them as drafts there is an option to exclude drafts.
    Hope that helps.
  • Andy · 2 years ago
    It's an easy fix, I've done it myself after reading the manual.

    Either set the level to 10 which is admins only

    function SE2_add_options_panel() {
    add_options_page('Search Everything', 'Search Everything', 10, 'SE2_options_page', 'SE2_option_page');
    }

    or possibly a better choice which is to give it to those people with edit plugin rights

    function SE2_add_options_panel() {
    add_options_page('Search Everything', 'Search Everything', 'edit_plugins', 'SE2_options_page', 'SE2_option_page');
    }
  • bill · 2 years ago
    i really love the plugin, but it's not searching the excerpt field.
    is there anyway you could include that?
    thank you so much for your work!
  • dancameron · 2 years ago
  • JaredB · 2 years ago
    Don: I would recommend fixing that model so as not to only rely on the password protection of the page. Assuming that page uses a page template (if not it could), you should be able to add some logic to only show the upload form on the page if the user is an admin of the site, at least the way you've described it. Additionally, (to really be safe) you should add the same admin check to the code that processes the upload, so that even if someone did cleverly figure out how to work around any restriction on showing the form it still wouldn't work.

    Dan: You should maybe make the trackback / pingback section collapsible on this theme. It just occurred to me in writing this reply, since I have to scroll way up to see the previous comment, so I can reference it when writing the next one. What do you think?
  • dancameron · 2 years ago
    I'm actually considering closing comments on this post altogether since all support issues should be ticketed on the google code page. It's clearly a problem and I don't want to suspend user comments in anyway. Maybe I'll make a new page template that places the trackbacks first and larger pages like this will use that template instead.
  • Don · 2 years ago
    Spammed for some reason. Don't know why I deserved that. I'm only trying to help here.

    I found the link to the Google code page and posted the issue there.

    Jared, thanks for the tip. Obviously I'll have to do extra coding to work around non-protected "protection". Jeez what a crock. In WordPress apparently "Protected" means protected only if one provides extra coding to do the protecting.

    I wonder how many people using this plugin and others are unaware that their protected page may not be protected unless they really test it out to make sure no plugins have affected it.

    The vast majority of bloggers want to blog, not code. So it never occurs to them that something might be amiss with their protected pages simply because they installed a plugin or two or three. Few do thorough testing I'm sure. Somebody will get burned no doubt and whine about it on the WordPress support forum before too long :-)
  • JaredB · 2 years ago
    To be fair, I think that "protected" pages in WordPress are fairly well protected, unless one installs plugins that circumvent that protection, so hopefully no one takes this as a deficiency in WordPress itself.

    This particular plugin should be modified to preserve the WordPress protection, and it sounds like Dan is working on that.

    I was mostly just wanting to point out that the non-standard uploading functionality you described should probably also be modified to only allow admins to upload, whether anyone else can see the form or not.

    The general principle (IMHO) is that if a user installs any WordPress plugin (or extra functionality like the upload form you described), they are assuming the risk that the default behavior of WordPress may be modified in ways they don't expect, unless they are able to read through and review the code to understand exactly everything it's doing.

    The flexibility that allows plugin authors to do this can be a benefit and a curse, since it opens the door for lots of new features as well as problems.
  • Steve Poland · 2 years ago
    Would be nice if it showed the link to the exact comment, if a comment is a search result.

    Would also love to see 'posts' at top, then 'comments' that match the search query broken out next.
  • Marc · 2 years ago
    Wow. Any site that uses "pages" with static content rather than just blog posts NEEDS this plugin. Took all of 2 minutes to go from having zero search results to the entire site producing results. Thank you, thank you, thank you!
  • Guy Rintoul · 2 years ago
    Hi there,

    Great plugin! Got a bug report for you though. If the user searched for anything containing an apostrophe (') it returns the following error. Any suggestions?

    Thanks for the great plugin,
    Guy


    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 '%') ORDER BY post_date DESC LIMIT 0, 20' at line 1]
    SELECT DISTINCT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts LEFT JOIN wp_comments ON ( comment_post_ID = ID AND comment_approved = '1') WHERE 1=1 AND (((post_title LIKE '%%') OR (post_content LIKE '%%'))) AND ((post_status = 'publish' OR post_status = 'private')) OR (comment_content LIKE '%'%') ORDER BY post_date DESC LIMIT 0, 20
  • lausse · 2 years ago
    I love your plug - only one thin - it does not search "everything". I have e-commerce installed - and the products in the shop never apears in the searches. Ideas? Is it even possible to fix?
  • buKit · 2 years ago
    Dan,

    I'm trying to use the 'Search Everything' plugin on a site where I work. It's currently on a dev site (http://www.gooselane.com/gooselaneeditions/).

    My question is this: I'm a relative noob to the coding thing and not too familiar with php. My desire is to structure the search so that when a search word is found on a page, the results return basically just the page header and then the sentence the word appears in below vs. the whole page/post.

    Is this something that's conceiveable or am I talking about bassically writing a whole new app? I'm having trouble determining from Wordpress.org and other sources, what .php file I should even start with to begin editing.

    FYI, my current theme (tree2) doesn't have a search.php file, I'm just using the plugin. I don't know if that matters or not.

    Not looking for someone to do this for me, per se, just point me down the right road so I can maybe figure out how to hack it myself.

    Thanks for your time,
    -buKit
  • jmayle · 2 years ago
    Hello Dan, I'm using fgallery (a WP plugin) on WP 2.0. I'd like to have Search Everything also look at the titles and descriptions for the photos in the gallery and return those results along with the results of the posts, comments, pages etc. already provided in your new plugin. I'm up for funding some development of this. Thanks.
  • newby · 2 years ago
    Search Everything Plugin
    ======================

    hello, I like this plugin, only trouble is with search every page and every comments enabled, v3 on wordpress 2.1 breaks with a mysql syntax error if you use characters like apostrophe, (') in the search. Version 2.3 of the plugin on wordpress 2.04 seems to escape special characters but breaks with the same error on wordpress 2.1.2. The default wordpress search doesn't seem to have any problems handling special characters. Has anyone else had this problem or have any idea how to fix it?
  • Tobias · 2 years ago
    args - this plugin wouldn't work with the UltimateTagWorrior-PlugIn (http://dev.wp-plugins.org/wiki/UltimateTagWarrior)
  • Manas · 2 years ago
    Thanks for the plugin ...
  • nes · 2 years ago
    Apologies for posting on the Google issue list before reviewing everything here. From the Feb. 26 conversation I now realize this is not intended to search uploaded PDFs --just things "in the database".

    Are there any plans to have it search the description of the uploaded files? [At least in my experience the files aren't being found in that way, either.] Can you comment on any differences in how your Google Ajax plugin differs in its searching of uploaded files? I guess I just don't understand what you mean by "searching attachments".

    Thanks very much for the plugin! Certainly searching pages gets us a long way! And I'll try your newer plugin soon.
  • Matthias · 2 years ago
    This plugin is very good, tank you very much!
  • Richard · 2 years ago
    Great plugin ... except it appears that anyone "above" subscriber has full access to the options page. Only "admin" should be allowed to change the options.

    Do you have any ETA for a security update that resolves the issue?
  • Red · 2 years ago
    I've got a very strange bug - if I have Search Everything enabled, the thumbs in my photo gallery don't show. Usig Wordpress 2.1.2 and the latest version of fGallery and Search Everything.
  • Basilisk · 2 years ago
    I also have the problem with the quotes or apostrophes inserted into the search field... has anyone an idea how to address this problem? Thanks :)
  • Dennis Turner · 2 years ago
    I added Search Excerpts by adding the appropriate checkbox and a function with this query modifier:
    $where = str_replace(' OR (post_content LIKE \'%' . $wp_query-query_vars['s'] . '%\'', ' OR (post_content LIKE \'%' . $wp_query-query_vars['s'] . '%\') OR (post_excerpt LIKE \'%' . $wp_query-query_vars['s'] . '%\'', $where);
  • dancameron · 2 years ago
    A security update has been applied for the admin panel showing up for every user.
  • Francesco Minciotti · 2 years ago
    Hi there,

    thanks for the plugin, it used to work like a charm with 2.1, but now, after the 2.1.3 upgrade, it seems not to work any longer. I've also re-downloaded and installed a couple of minutes ago, but never changed: it doesn't find words just like before.
    It's just me, or is it a known problem?

    Thanks in advance for all the support,

    Francesco
  • Lorin Rivers · 2 years ago
    I've got a site with thousands of authors and I'd like to be able to search on author name. Is that possible?
  • Steve · 2 years ago
    I was going to ask the same thing as Lorin right above me. At www.sermonexchange.net we have many different authors contributing sermons and would like to be able to search by author. Any chance of that? It would make this plugin invaluable to me. Thanks and God bless!
  • loops · 2 years ago
    $where = str_replace('post_type = \'post\' AND ', 'post_password = \'\' AND ', $where);

    Thanks for the nice plug!
  • eztravelmalaysia.com · 2 years ago
    Hi,

    It's great plugin. it works!! really everything can search now.... haha...

    thanks.
  • Alex Leonard · 2 years ago
    Hi there,

    I've just installed the plugin and it's a massive improvement over the previous search functionality. Thanks!

    One questions: it seems that the plugin is returning search results that include deleted posts and pages. Is this something to do with the plugin itself or the way that wordpress runs the database?

    Cheers,
    Alex
  • Alex Leonard · 2 years ago
    [quote comment="209654"]I'm actually considering closing comments on this post altogether since all support issues should be ticketed on the google code page. It's clearly a problem and I don't want to suspend user comments in anyway. Maybe I'll make a new page template that places the trackbacks first and larger pages like this will use that template instead.[/quote]

    Hi Dan,

    I've just seen this comment (there are a lot of comments here and I missed that one. I'll move everything to there. thanks!

    Alex
  • Tony · 2 years ago
    okay... not sure if I'm just blind or what, but where are the instructions for how to put the search function on the blog? I see the search from within the admin panel, but what code do I write in where users would use it? I don't see it in the install instructions above - they stop with setting the options on the admin page - nor in any of the comments or in the WP support forum. I also checked for a read-me file with the download - nothing there either?

    Might be a nice plugin...if I knew how to install it! haha
  • Dan · 2 years ago
    [quote post="644"]how to put the search function on the blog[/quote]

    It adds functionality to the already included wp search box. If you do not have a search box you can either request it from your theme author, use widgets or get the code from a default theme and place it into your side/header/wherever.
  • Alexander Hahn · 2 years ago
    HY! can you PLEASE fix the download path? it doesn`t work i need it that much ;-)
  • JraNil · 2 years ago
    hello,

    how can i search inside the page? it seems this plugin just search in the title of the pages for me.
  • Travis Dahl · 2 years ago
    Same question as 177 and 178, Search by authors? That would make this plugin truly ultimate! Please? Pretty please? I'll be your best friend. Ha thanks!
  • tino · 2 years ago
    Search results are listed chronologically by date. How can I change it?
  • Mike Cherim · 2 years ago
    Thanks for the plugin. I am using WP as a CMS for a 230 page site and found this to be very helpful. My visitors will appreciate it. The Update twice threw me, but it's workin' fine after two :-)
  • michael · 2 years ago
    Hi there!
    Really nice plugin, great job. Search produces much better results in WP. won´t use wp without it.
    Hello from Germany
    michael
  • jt · 2 years ago
    the module doesn't show up in my widgets in wp 2.2
  • Style Dilemmas · 2 years ago
    Really nice plugin - great job.