Forum Replies Created
-
AuthorPosts
-
October 8, 2014 at 3:48 pm in reply to: Styling help required please to look like the dev version #2643
Ernest 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, 9 months ago by
Ernest Marcinko.
-
This reply was modified 11 years, 9 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?
Ernest Marcinko
KeymasterHi!
It’s not that the plugin is not recognizing them, it is unfortunately not possible. The plugin can return posts, any custom post types (like forum posts, portfolio items, etc..), buddypress users, buddypress activity stream but not categories or taxonomies. It’s unfortunately not yet possible 🙁
You are not the first one to request this, so I’m working on the next version, which will contain this feature, but it needs proper testing before I can release it. I can send you a pre-release copy once it’s ready to upload to codecanyon.
Ernest Marcinko
KeymasterHi!
I can see now. I have changed the javascript source to minified and it cleared the error from the javascript console, and the tabs started working as expected. It should work fine now.
Ernest Marcinko
KeymasterHi!
Could you pin-point me where the issue is exactly? I tried to disable-enable the plugin to see if there is any difference, but I could not find any for the first look.
-
This reply was modified 11 years, 9 months ago by
-
AuthorPosts