Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterIt’s been released for 2 weeks, you should have got an email from codecanyon. Maybe there is something with their mailing system.
You can download the new version from codecanyon, and please follow the safe update guide, and there is also a list to resolve common issues.
Ernest Marcinko
KeymasterHi!
I don’t see any other tickets on your account. Could you link me to it please?
Have you upgraded the search plugin to version 4.5? WordPress 4.3 has some changes that does not support most of older plugin versions. If not, please upgrade the search to version 4.5. Here is a documentation link on how to safely do that: http://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/update_notes.html
There is a Problems and Solutions part as well, in case you run into cache and other related common plugin update issues.
Ernest Marcinko
KeymasterMost likely because the menu is javascript powered as well. Combining two complicated elements might result in things like this.
Do you have a sample page where I can look at this issue? I might be able to tell if there is anything to do to fix it.
Ernest Marcinko
KeymasterHi!
I think I found the problem, it took me a while. It looks like one of the internal wordpress functions is not working correctly for some reason. I don’t know why, but I think I will notice the developer team to see if they know anything about this issue. Maybe I’m not using it correctly, I don’t know 🙂
Anyways, I have corrected the problem by using something else, which should not cause this problem anymore.
Ernest Marcinko
KeymasterHi!
Thank you for the prompt explanation and the details.
I’ve checked the issue, and it looks like there is an unknown error stopping the page rendering after the redirection. I have tried to use the FTP account you provided, but it only shows me an empty folder. Could you please check the permissions on the FTP account so I can access the site files?
I would like to temporary enable the error reporting, currently it’s turned off so I cannot see what’s causing the problem. Once I can see the error message I will most likely be able to fix it and perhaps also add the fix to the next version to avoid it happening again 🙂
Ernest Marcinko
KeymasterHi!
I just got an email of your response, I’m pretty sure I responded like two weeks ago, but it looks like it got lost somehow. I’ll ask the hosting provider if they did any rollbacks, yours might not be the only answer that got lost. I’m sorry about that.
Where did that error message occur? Did it repetitively occur, or was it in an error log? I’m not sure I can re-create the error, but I can try to add a check statement for zero division.
The plugin should parse the image from the post content automatically if it’s not finding the featured image. Is the image directly in the content, or is it added with a shortcode?
The search closed automatically because of a custom CSS rule. I remember I checked your site and found it, but I don’t recall what the rule was. I tried to check now, but the plugin seems to be inactive and hovering over the icon does nothing.
The problem with your approach is that you are using a menu element, which contains the search. When the user hovers over the search icon, the actual search bar is opened, and the “:hover” state is still active. However when clicking into the search box the “:hover” state is no longer active so the bar goes back to the 0 width as defined in your CSS rule. There is no way of telling the icon to stay opened if the input is focused, because there is no way of selecting parent elements in CSS.
That’s why I suggested that partial JS solution, but there was this one CSS rule I found that didn’t work with it.Ernest Marcinko
KeymasterHi!
Yes, it’s a bug with the current release, someone else also reported it earlier today.
A quick “bugfix” update will be released in 24 hours on codecanyon regarding this and other issues as well, which will fix this problem 🙂
The plugin manager will warn you once the update is ready to download.
Ernest Marcinko
KeymasterHi!
Are you sure that the problem still persists? I just checked, and I can see the titles: http://i.imgur.com/Vif4qef.png
In which browser is this happening?
Have you changed any settings before it started disappearing?Ernest Marcinko
KeymasterHi!
Based on the code I would try replacing the get_search_form(); line.
So instead of
[php]
ob_start();
get_search_form();
$items_html .= ‘<li>’ . ob_get_clean() . ‘</li>’;
[/php]try:
[php]
ob_start();
echo do_shortcode(‘[wpdreams_ajaxsearchpro id=0]‘);
$items_html .= ‘<li>’ . ob_get_clean() . ‘</li>’;
[/php]Don’t forget to replace the ID of the search instance you want to use.
Ernest Marcinko
KeymasterHi!
Thank you for the kind words!
There might be two ways:
1. If there are widgetized areas available in the site header, you can use the search widget there. I’m using an older version of the X theme on this site, and I think there are available wiget areas in the header, but I’m not sure about the exact placements.2. If no widgetized areas are in the header then I think the only way of doing it is to manually place the PHP shortcode to the corresponding .php file. I’m not sure how comfortable are you with editing theme files, but I rather suggest asking the theme author about which files to edit.
There is a short chapter about search shortcodes in themes in the documentation, but honestly there is no exact guide that works with each theme, because each one is very different from the others.Ernest Marcinko
KeymasterHi!
1. It’s happening because the PHP strip_tags() function returns the content between the tags. I’ve implemented a regex check to remove extra CSS and JS in case it finds any, but I think it only executes when the Run shortcodes found in post content option is enabled on the Advanced Options panel.
If that doesn’t work, let me know. In that case the only option is to make direct modifications to the search code. I will try to re-create the problem and suggest a change to force removing the script tags.2. It’s definitely not possible. Custom table search is always been on and off the table, but there are several yet unsolvable issues. The problem is not exactly the searching itself, but the processing of results – finding the proper image, getting the url to the result item etc.. These stuff are usually not stored in the database for any plugin and must be obtained with a function call, or instantiating an object – it differs for each and every plugin.
Ernest Marcinko
KeymasterHi!
It’s not possible to show the icons yet, I’m rolling out a bugfix version today, I’ll check how to do that, and if it’s possible I’ll add it as a feature.
For the post descriptions you might have to ask the theme author, it depends on how those descriptions are rendered, I’m not sure. It looks like the description script it’s executing the search shortcode, but then stripping the HTML tags, which gives the weird text, I might be wrong though.
Ernest Marcinko
KeymasterSurely, it has lots of settings, it’s been in development for almost 3 years. Most options were implemented based on user requests, and I might have went a bit too far 🙂
I’m planning to create video tutorials and an “easy mode” switch, and “option search & explain function” for the back-end, but unfortunately support, updates and bugfixes take most of my time every day. The documentation is already lengthy, and I’m adding only few pages at a time to avoid confusions.
For the results shortcode there is only one descriptive chapter in the documentation. Also, the results shortcode must be on the same page as the search shortcode in order to work. So you can’t place the results shortcode to a different page to “redirect” the original results to. (the reason is simple, it’s simply not possible yet in WordPress)
I fully understand if the plugin is a bit hard to configure at the beginning – for some customers the number of options is a bit too much. I’m hoping I can make a video series until the end of this year to make the plugin more usable for everyone 🙂
Ernest Marcinko
KeymasterHi!
1. It’s because the attachment images are parsed from the attachment itself, and it is not supported by wordpress. Unfortunately it’s not possible to show the attachment images on the wordpress search results page.
2. Interestingly, if I select a different search instance (3 or 4) then it works for some magical reason. I will try to re-create this issue on my test environment to see why this happens. In case I don’t find anything, I might need temporary FTP access to do the debugging on your site directly.
3. It might be the same as the previous one, if you were using the Visual Composer. If there is a bug with the search bar shortcode with VC, then there is most likely a bug with the remaining ones as well.
I’ll get back to you if I find anything regarding the VC shortcodes.
Ernest Marcinko
KeymasterNice, everyday I learn something new. Surely will, I’m currently working on new chapters 🙂
-
AuthorPosts