Replace a standard search widget with Advanced Search and you will be able to filter results by blog, category, post author and date. Search in all public blogs at the same time.

You can also remove any/all radio buttons from search form, display results in google-like style with highlighted keywords and customize almost everything. Smart search filters out false positive results present in default search function.

That reminds me, I must upload the audio player plugin, complete with russian locale ( thanks ;) ), and amend BOPIT ;)

¥

*edit*
Assuming your checkboxes == "hide this option", if you uncheck all 3 then evo will default o .... whatever it defaults to ..... you might like to change that to "if only 1 ticked then hide them all and add the ticked option as a hidden input", then users can select there own "default" action ;)

I'm now trying to figure out how to include posts from other blogs. And I also want to add a date field.

double space is also fine, it can be modified easily, i suppose, i didnt try.. but + - is better trust me : P
yea that would be good, i dont have such a problem since i have an aggregated one : P, but the date field idea is just great.. afaik, search between dates function always put some heavy weight on the servers in common it would be very cool though ;)

Wonderful! I was going to start hacking all the widgets that (a) are lame and (b) are self contained but now even if search widget meets these criteria (and it certainly meets the first!) I don't have to touch it.

What I mean about pagination is that this version(0.4) displays the first 50 posts only because it cannot follow page links. is there any way to solve this problem? I would like to show the first 10 posts and the use page links for the rest .

a nice feature would be : don't display all the 'options' in the front, just 'do them' as the admin choose in the backoffice
that way you can have a very clean searchbox with 1 button 'go' (a css desingable button offcourse)

a nice feature would be : don't display all the 'options' in the front, just 'do them' as the admin choose in the backoffice
that way you can have a very clean searchbox with 1 button 'go' (a css desingable button offcourse)

tilqicom wrote:

this is very cool, i can now simply add a search area consisting of only search button and text field

Your posts have 2-3 pages, if you don't see highlighted text on some posts it means the word(s) is on the other page.

BTW why don't you want to display results in google-like style, this is the main plugin's feature which you don't use :)

aah i see, i kept trying keywords in the titles.. it'd be better if it could highlight titles and tags, i mean almost anywhere, wherever the term was used..
¥åßßå's plugin is very cool actually and does not clash with yours, it d be great if it didnt have that special character problem..

@blogmeister
To wrap the link open plugins/advanced_search_plugin/inc/_adv_search.disp.php on line 47 and change the number of characters from 250 to whatever you need.
You can also try to play with CSS in plugins/advanced_search_plugin/adv_search.css

One thing I thought of after my last reply was that I plan on having multiple blogs and multiple bloggers.

If, from time to time, any of the bloggers want to exclude an author(s) from their blog's 'Advanced Search,' I'd really prefer it be done via the Admin interface versus them contacting me to modify the code for each instance.

Granted, I am not sure how you updated the plugin; I assume it is via adding a new 'case' or similar via editing the code as you mentioned previously.

One thing I thought of after my last reply was that I plan on having multiple blogs and multiple bloggers.

If, from time to time, any of the bloggers want to exclude an author(s) from their blog's 'Advanced Search,' I'd really prefer it be done via the Admin interface versus them contacting me to modify the code for each instance.

Granted, I am not sure how you updated the plugin; I assume it is via adding a new 'case' or similar via editing the code as you mentioned previously.

I'll check out what you have tonight.

Thanks again as this is an nice plugin.

Wow, sam2kb - you're pro-active and/or psychic!

It is so convenient now to designate the authors to exclude via the Admin interface! Thanks for that.

One thing though - even though the author is excluded from the dropdown list, searching authors with 'All' still shows the excluded author's posts in the results listing.

I'm still in the Demo mode so I excluded the 'admin' or user ID#1 in the plugin's params. The 'admin' was excluded from the dropdown list so I kept the default 'All' for the authors, but all of the admin's posts were found in the results.

I'm using this plugin and just noticed that upon performing a search, when the results are displayed, in addition to the current blog's highlighted post dates, the calendar also then highlights a date on the calendar not belonging to the blog the search is performed in, but from one of the other public blogs.

When clicking on that highlighted date, the results say, 'Sorry, there is nothing to display...'. This behavior is also seen even when the blog results includes a post from that other blog posted on that day.

with it placed within my sidebar, the drop down fields run off the sidebar and disappear.... is there any way to make the drop downs shorter in width? is this what blogmeister was referring to with word-wrapping?

Is there a way to force word-wrapping at a certain# of characters?
Thanks again in advance.

@blogmeister
To wrap the link open plugins/advanced_search_plugin/inc/_adv_search.disp.php on line 47 and change the number of characters from 250 to whatever you need.
You can also try to play with CSS in plugins/advanced_search_plugin/adv_search.css

Good luck

i adjusted this, and changed 250 to 25, but it doesn't seem to have had any effect.

also, is there a way to change the text "root site" to categories or something else?

Must have that bit? Seems totally optional to me because I really don't care if a visitor ever sees a comment saying they submitted a comment, and I tend to know if I just edited a post or not.

Oh wait a minute ... Searching would be an action, so of course it needs a place to put a message from that action. Too bad. Does the core search feature do it that way? I've no idea of how the guts of this thing or core search works, but in my mind a unique disp value would be way better. Except that probably takes modifying files. Unless advanced search replaces core search :) Not many plugins exist that should move from hooks to the core. This is most certainly one of 'em :D

Hey not to go too far off topic in a six-page thread, but I can't for the life of me think of another plugin that would be good to replace core features. The new core avatars is junk and should be removed because it is a trinket that should only be a plugin. BOPIT should be core but doesn't replace something. All the various bits like Yahoo and the like should be removed and replaced with a profile hook. But what plugin other than this replaces a core function that (a) should be a core feature and (b) does it way better than the core?

Sam,
Have you tried that plugin in a 3,3,1 (latest release) version ?
because it's like 'something' is conflickitng with item_light.
It's not working with my custom skin, nor with a 'out of the box' skin

Hi! Maybe is nothing, but in my blogs, when I tried to "search" something usin the normal search plugin, as a result the blog disappeared and the only part that I could see was the header part.
And I don´t know the reason, but I got rid of the advanced search plugin and the search function worked again. And in other blogs that I have advanced search plugin 0.3 everything is ok.

I just realized that I have two similar plugins: advance_search version 0.3 and advanced_search version 1.5 This last one is the ultimate update of the plugin and got the error I quoted in the previous message. Is the same plugin?
Anyway, the error disappeared when I remove the advanced_search 1.5

Is there a way to customise the 'nothing to display' message? So far I've tried editing the code placed in the skin file, the search.disp file, and the plugin file. I see that by editing \inc\_core\ui\results\_results.class.php I can actually change the message, but I really don't want to hack the core as I will need to use a different styling for search on other blog pages.

1) I have made a little addition in the Advanced Search Plugin (look it is v1.7.1 now), just for a better support of locales. So, you will need to update your site with the new code, and follow the instructions of the original README.txt file, which implies a little code addition in your current skin. This is meant to use the display_results method given by the plugin. Otherwise, you will use the standard method for empty results, and it will be more difficult to override the message as you need. Note: this way you will get a google-fashioned results list as well.

2) I don't know if your site is currently using en_US locale, however check the file advanced_search_plugin-en_US.zip attached to this comment, and take it as a base to replicate and modify accordingly if you want to use a different locale. You only need to put the en_US folder contained in the zip file inside the folder /plugins/advanced_search_plugin/locales, just next to the folder ru_RU which is shipped in the plugin package. That way you will override the default message hardcoded in the plugin.

Actually, the update in the plugin was done due to your report. Just remember that by editing the hardcoded message in the disp file will make locales fail. However, if you won't use different locales at all, then your solution is good enough.

The plugin works as supposed, the search results are displayed accordingly.

I guess you forgot this plugin requires a manual modification of the skin, please read the file README.html.

Regards!

Actually, the skin is correctly modified and the plugin was working fine on a live site for the better part of six months: until I upgraded. Sorry, I should have mentioned that it was correctly installed as instructed. I have tested with the b2evo core search and that one works. I'm going to try and reinstall the Advanced Search and see if that helps.

Ok, I'm absolutely stuck. I can get the normal search function to work fine, but have no idea how to hack it so it shows all results from all blog pages; that and I don't want to waste time having to redo the style for the search results and form and then have to worry about redoing it for every upgrade. I'm getting no errors from Advanced Search and have no idea how to use the debug function. The skins are correctly edited to include the search results but there is literally nothing showing up when entering a search into the form - it's not even visible viewing source, even though the skin absolutely 100% includes the code. I've tried uninstalling and uploading a clean version of the plugin - nothing. I've unplugged other plugins to see if there's a conflict - nothing.

I know it's that time of year but if anyone has some time I'd really appreciate some help. I can PM the url of the site if anyone wants to take a look.

After some investigation, it turns out the plugin needs to be updated. If you don't use the advanced search checkboxes (ie. the options to search by author, category, etc) then the plugin does not work. The workaround is to reselect those options in the widget, and then if necessary hide them using css. In order to search across blogs, you will need to add the ID of those blogs to the widget; using 'All' no longer works.

I don't have the skills to update the plugin as necessary, but I hope others can use this to do so or if they have the plugin and it stopped working for them too.