Nicht Mehrda
Member
Posted 5 years ago #
I've developed a plugin that provides an advanced search form for WordPress. It uses MySQL's fulltext search feature and thereby provides a powerful tool to effectively search medium and large websites.
Read more and grab a copy at http://www.contutto.com/blog/software/wordpress-advanced-search-plugin/
Intriguing! Do you have it in action on your blog?
Nicht Mehrda
Member
Posted 5 years ago #
No, it's written so badly and I don't want to mess up my site. ;-)
No, just kidding. The problem is that my sites are much to small so that search would be too funny.
I have installed it on a bigger site, but I have yet to tune the CSS for it. But you can have a look, if you want: http://www.turbojugend-aachen.de/erweiterte-suche/
A screenshot of the form in the Kubrick theme is available from here: http://www.contutto.com/download/screenshot_ctas.png
(Don't let yourself irritate by the German; it's fully gettexted.)
Ah, thank you. Very cool! I'll be playing with your plugin on one of my sites soon. :-)
(fortunately, i read German a lot better than I speak it!)
Nicht Mehrda
Member
Posted 5 years ago #
An english screenshot is now available, too.
http://www.contutto.com/download/screenshot_ctas-en.png
Hope you'll like the plugin. :-)
Only issues I've seen so far is that the last link, in the last bullet on the page for "feature" is borked on my site.
You can see it http://www.solo-technology.com/blog/advanced-search
(no, I've not actually done any styling yet -- soon!)
Nicht Mehrda
Member
Posted 5 years ago #
Yeah, stupid me... I have escaped the quotes with a backslash in the plugin file.
This had also caused a problem with the German localisation, and it is already fixed.
You can either remove the backslashes before the double quotes in advancedsearch.php, line 186, or you can download the corrected version.
Awesome. I made the change and it works delightfully.
Is there an alternate download link? Site seems to be down right now
Nicht Mehrda
Member
Posted 5 years ago #
Yes, there was a power failiure in the data center and my server is down right now. (*grrrrr*!)
It should be back in one or two hours.
Nicht Mehrda
Member
Posted 5 years ago #
Ok, the site is back online, and all downloads are available again.
Great plugin, lot of awesome features, but it just doesn't seem to work for me?
http://www.bballcity.com/search
ie) When I try to search "pages" only, it shows a ton of posts, when I try to exclude a category I still get posts from that category in the results. :(
Is their a certain configuration that you need your database to be in? It doesn't seem to be working at all for me.
- The any, all, none, fields have no effect on the search results.
- It doesn't seem to be able to include certain categories, or exclude any
- The "include results from" section doesn't filter out things that aren't checked
The sort by date, ascending / descending seems to work well though.
Nicht Mehrda
Member
Posted 5 years ago #
Hi basketball,
the any/all problem I could reproduce. This is an obvious bug I'll have to fix. Thanks for pointing out.
But the categories can be excluded: When I search for "Bryant", I get posts from "Basketball" while when I deactivate this category, I get nothing.
The "include results from" does not actively exclude, but it silently ignores. E.g. if a post is in two categories, and one is unselected for search, the post will still be found.
Ahh I think the one big problem I was having is that I wanted to see how well the relevance thing was working so I selected all the categories and chose "OR". Basically if you do that, it just brings up every single post on your website and the results were kinda messed up and far too inclusive.
I think I am going to use a "truncated" version of the plugin which just has the category choices, sorting, and display options, which is basically what I have been looking for in a search plugin for ages! =D
I'm using this on my site and would say it's great, but the form aren't valid XHTML though =x if it is, it would be great. =]
Nicht Mehrda
Member
Posted 5 years ago #
Indeed, I didn't put too much (read: no) effort into validating the HTML output.
This will change with the new version, where the form will be valid XHTML 1.1 and semantically more correct.
Nicht Mehrda
Member
Posted 5 years ago #
basketball: The relevance thing is a big mystery of MySQL... but you can have the value shown.
Put something like the following into the Loop in your search.php
Relevance: <?php echo round($post->score, 2) * 100; ?>
As for the any/all issue: I'll remove the three fields in the next version. Instead there will be only one, and it will be possible to arbitrarily use all of MySQL's boolean operators.
Boolean operators in wordpress search!
That would be P-I-M-P!! =D
That would be great! =)
I would also like to suggest an optional CSS file to custom the page? Just a suggestion, not sure whether it would be useful or not =x
Nicht Mehrda
Member
Posted 5 years ago #
Hey guys...
I've got news for you, good news! :-D
http://www.contutto.com/blog/software/advanced-search-02/
Truth: I've included a CSS snippet, but I'd love to see yours, too.
A lot of great improvements, I really think that WordPress should look into incorporating this into a future release :-) Thanks for an awesome plugin bud!
morphinex
Member
Posted 5 years ago #
Your plugin is wonderful! I'm no good with CSS or PHP, but I was able to set it up with relative ease. Now, I can finally find what I actually want =)
Nicht Mehrda
Member
Posted 5 years ago #
Glad you like it, guys. :-)
basketball: I see you created a beautiful template. May I link your advanced search page as show case on my site?
Nicht Mehrda
Member
Posted 5 years ago #
Ok added you... (even despite your Google Ads ;-)). Really nice implementation, I hope inspires others to make a customized search form.
Btw, for all Spanish speakers: Since tonight, there is a Spanish localization available as additional download.
Haha thanks dude, love the description: "a lightweight and stylish version" ;-)
Nicht Mehrda
Member
Posted 5 years ago #
Once again, a new version is available!
There's only one improvement, however: the plugin features multicolor search term highlighting now. This functionality can be easily customized (and even turned off! ;-)).
Upgrading from previous versions is possible without any problems.
Read more: http://www.contutto.com/blog/software/advanced-search-03/
Nicht Mehrda
Member
Posted 5 years ago #
Btw, a demo is now also available on my site.
Have a sample or play for yourself...
jeffvand
Member
Posted 5 years ago #
Hey Mastermind. I love the plugin and had my site upgraded to PHP5 just to try it out. If I can get it to work it is exactly what I need. I do have one question. I am currently using Photopress for my pictures and it just brings up a big Red X when I try it out. You can see it here: http://www.vandfam.net/blog Can I edit the code and fix this somehow? Any suggestions? Perhaps editing the location of the pictures? Danke sehr!!