Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterYou are welcome!
No worries about the updates, I’m including this solution in the future ones.
Ernest Marcinko
KeymasterHi!
It must have been the FTPS, I tried simple FTP and it’s indeed working.
I made a tiny correction on the plugin code, the error message should be fixed now 🙂
Ernest Marcinko
KeymasterHi!
Looks like something with the thumbnail generator script, never seen this issue before.
I’m not able to connect via the FTP to fix the issue, can you please check the details? (I used FTPS explicit, port 21)
Ernest Marcinko
KeymasterYou are welcome, I’m happy it’s working now.
Feel free to contact me if you have any other issues.The support is for free of course, but any donation is greatly appreciated, my paypal email is: [email protected]
If you want, you can rate the plugin as well on your codecanyon downloads page: http://codecanyon.net/downloads
Thank you very much and have a nice day!
Ernest Marcinko
KeymasterThanks!
I have found the problem. The “Category/Term logic” logic option was set to “OR” on the General Options -> Behavior panel. It resulted in only counting posts that are in both categories, whereas there is 0 of them. I’ve changed back that option to the default “AND” value, now it’s working again 🙂
Ernest Marcinko
KeymasterHi!
I don’t think I’m able to tell what the problem is without FTP access. I see there are term and custom field filters as well, where a little misconfiguration can cause problems. All in all it adds up to a very complex query which I can only debug with file access.
There is also a chance of a yet unknown bug, but I will be able to tell once I get to debug the search 🙂
You can add temporary FTP access if you edit the first post in this thread, or upload it in a .txt file. Both methods are safe, and only visible to me and you.
Ernest Marcinko
KeymasterHi!
It’s caused by the site stlye.css files, there is a rule adding z-index: 999 to the search container. Probably because of the removed class I suggested.
Try to override that with this:
[code].container.et_pb_search_visible {
z-index: 0 !important;
}[/code]Ernest Marcinko
KeymasterHi!
There is also a PHP shortcode available for each search instance, and a small chapter in the documentation to help you with the implementation to the themes: http://wpdreams.gitbooks.io/ajax-search-pro-documentation/content/getting_started/search_shortcode_in_themes.html
In your case it’s probably something like this:
[code]<div id="search-form-recipes">
<?php echo do_shortcode(‘[wpdreams_ajaxsearchpro id=1]‘); ?>
</div>[/code]Ernest Marcinko
KeymasterHi!
Unfortunately it is not yet possible. Taxonomy terms can only work as checkboxes.
Ernest Marcinko
KeymasterHi!
I don’t see attachments on your post.
Can you please re-upload the attachment? To make sure, you can zip the file as well, so the security filter wont catch it as malicious code.
PHP errors are extremely rare and almost exclusively happen if the plugin was not installed or uploaded correctly. Please try to re-install the plugin, it might solve the problem.
Also, if you could provide a site url, back-end login details and FTP details, it would help resolving the issue.
Ernest Marcinko
KeymasterHi!
I found the problem. It’s possibly a bug when calculating the limit of the mysql query. I’m going to release another bugfix update later today, should be available in 48 hours.
Only a very small modification is needed, you can fix it manually if you want to.
Open up the wp-content/plugins/ajax-search-pro/includes/search/search_indextable.class.php file and go to lines 446-451, where you should see this:
[php]/*———————– Optimal LIMIT ————————-*/
$limit = count(get_option(‘asp_posts_indexed’)) / 2;
$limit = $limit < 200 ? 200 : $limit;
$limit = $limit > 2000 ? 2000 : $limit;
$limit = ($limit * 5) < $searchData[‘maxresults’] ? ($limit * 5) : $limit;
/*—————————————————————*/[/php]change that part to this:
[php]/*———————– Optimal LIMIT ————————-*/
$limit = count(get_option(‘asp_posts_indexed’)) / 2;
$limit = $limit < 200 ? 200 : $limit;
$limit = $limit > 2000 ? 2000 : $limit;
$limit = ($limit * 5) < $searchData[‘maxresults’] ? ($limit * 5) : $limit;
$limit = floor($limit);
/*—————————————————————*/[/php]Hopefully this will solve the problem immediately.
Ernest Marcinko
KeymasterHi!
Since the width of the bar is given in per cents (60%), when the screen width is decreased, the bar width decreases as well.
What I suggesst is to add a custom CSS for mobile screens to increase the width to at least 90%. Something like this:
[code]
@media only screen and (max-device-width: 480px) {
div.ajaxsearchpro[id*="ajaxsearchpro2_"] {
width: 90% !important;
}
}
[/code]Ernest Marcinko
KeymasterHi!
The first one is a simple z-index issue, seemingly the menu bar overlaps the results list. The solution is very simple. Try this custom CSS to increase the results z-index values:
[code]
div.ajaxsearchpro[id*="ajaxsearchprores4_"] {
z-index: 99999999 !important;
}
[/code]The second is much harder to track. It’s definitely caused by a 3rd party javascript, that tries to modify the height of the container. I suppose it was built for the original search only.
What I found is that if you remove one of the CSS classes from the container element, it looks like the handler is detached. So, try modifying the container code to:[html]<div class="container et_pb_search_visible et_pb_no_animation" style="height: 50px; max-width: 838px;">
<?php echo do_shortcode("[wpdreams_ajaxsearchpro id=1]"); ?>
<span class="et_close_search_field"></span>
</div>[/html]Notice that the “et_search_form_container” class had been removed. Then again I’m only guessing here. You might have to find the corresponding javascript file and remove the height modification script. The theme author might know which one is to change.
-
This reply was modified 10 years, 9 months ago by
Ernest Marcinko.
Ernest Marcinko
KeymasterYou are welcome and thank you for the kind words!
Feel free to rate the plugin if you want to on your codecanyon downloads dashboard: http://codecanyon.net/downloads
I’m closing this ticket, if you have any other issues, feel free to open a new one.
Ernest Marcinko
KeymasterSure thing. Actually a simple CSS is enough for that 🙂
Use this custom CSS rule, you can put it into the search instance settings Theme Options -> Custom CSS panel: http://i.imgur.com/9fva4I3.png
[html]
p.asp-try a {
color: #FFB556 !important;
}
[/html]Don’t forget to change the “#FFB556” color to your needs 🙂
-
This reply was modified 10 years, 9 months ago by
-
AuthorPosts