Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterHi!
Thank you for contacting me with this, it was indeed a small bug with the new version. I have made a minor modification to the search code, and it should work now correctly. This bugfix is going to be added to the next upcoming version, so you don’t need to worry about it when updating.
Ernest Marcinko
KeymasterHi!
Right now this is not possible unfortunately. But, since I like your idea, I might take some time to implement this – sounds like a nice feature.
I will be unavailable tomorrow, but on tuesday afternoon I will get back to you, probably with the solution already.
Ernest Marcinko
KeymasterHi!
I’ve saved the cache settings and the search settings just to make sure, that the database is refreshed, and it’s working for me now.
The documentation had been updated with the new update notes for the next version, and you can always find them as well in the knowledgabe section in the future: https://wp-dreams.com/knowledge-base/updating-from-older-versions/
October 8, 2014 at 3:48 pm in reply to: Styling help required please to look like the dev version #2643Ernest Marcinko
KeymasterI see now! Sorry for the late answer, I’ve been busy with some coding 🙂
I did a modification, now the result box should be exactly under the search box.
Ernest Marcinko
KeymasterHi!
If you updated the plugin, then please follow the update instructions here:
https://wp-dreams.com/knowledge-base/updating-from-older-versions/
or you can find these instructions in the documentation as well.
Ernest Marcinko
KeymasterHi!
It must have been a data incosistency with the new version. I’m glad it’s working again.
Ernest Marcinko
KeymasterTry this one: http://pastebin.com/raw.php?i=Wt37DnL0
The problem is that this way the database cannot distinguish the whole words from partial words. This will work, but will recognize partial words as well. I think you won’t even notice the difference, there is very little from the previous one.
I was reading throuhg the documentation all day, but unfortunately, with mysql database there is no solution to exact word matches and to match special characters with no special characters at the same time 🙁
Ernest Marcinko
KeymasterYou are correct, that’s a problem. Fortunately it was only a typing mistake in the code. You only need to replace one file now to fix this. Go to wp-content/plugins/ajax-search-pro/includes/search_buddypress.class.php and open that file.
Replace the file contents with this: http://pastebin.com/raw.php?i=aT97MJvP
It should fix the issue immediately.
October 7, 2014 at 4:24 pm in reply to: Styling help required please to look like the dev version #2619Ernest Marcinko
KeymasterUnfortunately they can’t be moved. On my previous post you can see what is changed exactly, so if you update the ubermenu, you just copy/paste the code into that file and it’s done. If there was a better solution I would definitely done it.
As for your other questions:
1. You will find some custom css text in the Theme Options -> Custom CSS tab. There is a width defined on the box, I believe it’s 220px !important now. You can adjust that number to a width that you prefer.
2. I don’t think I understand this. Could you please make a screenshot, or illustrate it somehow?
3. Done + I added a bit of box shadow to make it more appealing.
4. Only with custom coding, using the search filters. Try to add the following code to the themes functions.php file, it should display the post type before the post title:
http://pastebin.com/KNKLKNSB5. Yes. Done.
6. Yes. I reduced it to 50 pixels from 70. You can adjust the size on the Image options tab.
-
This reply was modified 11 years, 8 months ago by
Ernest Marcinko.
-
This reply was modified 11 years, 8 months ago by
Ernest Marcinko.
Ernest Marcinko
KeymasterHi!
I just finished an update, which contains the improvements for the buddypress search as well. On top of that there are 4 options now: ‘OR’, ‘AND’, ‘OR – exact words’, ‘AND – exact words’. This is a huge step forward and it’s not yet properly tested. The update instructions are the same as before.
On top of that there are options now to enable/disable the search in public, private and hidden buddypress groups.Try out the ‘AND’ or the ‘AND – exact words’ option on the General option->Behaviour tab, one of them will suit your needs for sure.
Ernest Marcinko
KeymasterI didn’t know you are searching buddypress content. It’s not yet implemented there. It’s most likely getting done tomorrow. I will post a message here if we have a prototype to try.
October 6, 2014 at 6:36 pm in reply to: Styling help required please to look like the dev version #2597Ernest Marcinko
KeymasterHi!
I did a few nice and one nasty change you should be aware of.
The nasty change is, that I had to make a tiny change to the ubermenu standard css file, because it was overriding everything inside the search box and there was no other solution unfortunately.
The change is in the ubermenu/standard/styles/basic.css file on line 11. It was this:
[html]
#megaMenu.megaResetStyles div,
[/html]
but this rule basically overwrote every div including the search divs inside of it, so I changed that line to this:
[html]
#megaMenu.megaResetStyles div:not(.probox),
#megaMenu.megaResetStyles div:not(.probox *),
[/html]The other changes are only minor changes on the search configuration, and a few lines of custom css, which you can see on the Theme Options->Custom Css tab on the search options panel.
I hope, that this is how you imagined the search engine.
Ernest Marcinko
KeymasterHi!
Currently the search work only with an OR operator for separate keywords. However the 3.2 version is almost deployed to codecanyon, which contains this feature. I’m attaching a pre-release version here for you, so you can try this feature now.
Steps for upgrade
0. Make a backup copy of the current search folder just in case. It’s located in wp-content/plugins/ajax-search-pro/
1. Deactivate, delete the old version through the plugin editor
2. Install the one I attached here
3. Open up the search setting and save them to refresh the database values and to re-create the stylesheetsOn the General option->Behaviour tab you should see now a new option dropdown called “Keyword Logic” where you can choose from ‘OR’ and ‘AND’.
October 6, 2014 at 6:09 pm in reply to: Styling help required please to look like the dev version #2593Ernest Marcinko
KeymasterThen maybe I’m looking at the wrong url? On the http://www.web.rcht.nhs.uk/ I’m seeing a different search in the menu. Or is it the caching?
October 6, 2014 at 6:02 pm in reply to: Styling help required please to look like the dev version #2591Ernest Marcinko
KeymasterHi!
Sure, I can help you with these.
Could you please install, activate and place the search where you want it, so I can proceed from there?
-
This reply was modified 11 years, 8 months ago by
-
AuthorPosts