Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterActually it’s now possible with the 2.0 version 🙂
On the new demo site you can see a WooCommerce example, where the results are filtered by product categories (which is a custom taxonomy)
If you already bought the search earlier, you can download it again from codecanyon.
If you haven’t and you need to check the compatibility with another plugin, you can let me know here. This site is still a little messy, I can hopefully make a pre-sales question form soon 🙂
Ernest Marcinko
KeymasterHi!
Can you check the versions of buddypress on both sites? Maybe one of them is an older version?
Are the two searches configured exactly the same way? You should check the grouping options on the advanced search settings panel. I’m not sure that can cause it, but I have seen disappearing results because of that once before.
Is there any buddypress related plugin installed on the websites? Maybe the search is incompatible with that plugin?If you can’t solve this, can you provide temporary ftp/admin access, so I can do a deeper debugging on the affected site?
Ernest Marcinko
KeymasterOkay. Can you provide temporary admin/ftp access to the website?
Ernest Marcinko
KeymasterHi!
Wow! 900k post, never heard of that much before 🙂
I’ll help you configure, hopefully it will work, I never ever tested on so many posts.- On the general options page, reduce the “Max results” option below 4. You can increase it later if we find what’s causing the slowdown primerily.
- Turn off the “Show Images” temporary on the same options page – this usually causes a huge speed boost.
These two options are the most resource hungry of all. Let me know how it goes. I’m almost 100% sure, that the MySql query that the search builds up is too slow on almost 1M records. If there is no proper configuration, then I will help you optimize the query, but it will require some coding/debugging.
-
This reply was modified 12 years, 4 months ago by
Ernest Marcinko.
Ernest Marcinko
KeymasterHi!
Can you please check the administrator login? I cant log in to see the site, and I only have 1 remaining attempt 🙂
Ernest Marcinko
KeymasterHi!
It is some kind of file permission/file writing issue, but I managed to find a way around it, the search style is now printed directly into the page header, so no css file is needed 🙂
I have modified the search files, if you need to reinstall the plugin, then please backup the wp-contents/plugins/ajax-search-pro/ directory.
I hope it will work fine now! If you have any questions or need assistance, feel free to contact me.
Best regards,
Ernest MarcinkoErnest Marcinko
KeymasterOkay, let me ask you a few questions 🙂
- Do you see any error message on the search settings page?
- If you change some options on the search settings page, are they saved, or do they revert back to the original values?
- Are you using any kind of custom administrator template?
- Are you using any kind of caching plugin, or CDN like cloudflare.com? – Caching can cause such issues.
If you try to disable temporary all other plugins and change the template you still cant change the options? Plugin incompatibility can cause this, but it’s highly unlikely. By disabling all other plugins for testing we can make sure, that in fact it’s not an incompatibility issue.
Can you provide temporary ftp/administrator access if the upper mentioned trick doesn’t work?
Thanks!
-
This reply was modified 12 years, 4 months ago by
Ernest Marcinko.
Ernest Marcinko
KeymasterHi!
Please try the following, and let me know if it helps:
Open up the wp-content/plugins/ajax-search-pro/css folder in your favorite ftp client and chmod that folder and all of it’s contents to 777 or 0777
If you need any guidance, let me know!
Ernest Marcinko
KeymasterThe private details (website, password) are not visible to anyone else, don’t worry 🙂
But I will make this post completely invisible.
Ernest Marcinko
KeymasterOk!
You need to add this to the site header.php between the head tags:
<script> $(document).ready(function(){ $(".searchfor").on("click", function(){ var $input = $('.orig', $(this).parent().parent()); $input.val($(this).html()); $('.promagnifier', $(this).parent().parent()).click(); console.log("the input:", $input); }); }); </script>After that, you need to add the keywords with the following html under the search:
<div class="sfor"> Search for: <a class="searchfor">test</a> <a class="searchfor">post</a> <a class="searchfor">lorem ipsum</a> <a class="searchfor">elements</a> </div>
If you want to style the keywords you can add additional CSS to any css file included in your template:
.sfor { color: #777777; font-size: 12px; padding-left: 5px; } a.searchfor { color: #5990DE; font-size: 12px; }Ernest Marcinko
KeymasterHi!
1. It is not adjustable. Is the distance bigger then in the demo? If it is, then it’s probably a bug, let me know!
2. It’s a custom script written for the demo page, if you want it then I help you creating something similar.
Ernest Marcinko
KeymasterIndeed! I tested it and its broken. The problem was, that the new administrator interface outputs the color values in “rgba” format and the coloring algorithm awaits a hex format. I will fix it tomorrow morning in the repository, until then I will show you a quick temporary solution:
Open up the wp-content/plugins/ajax-search-pro/includes/imagecache.class.php file and go to line 76, and you should see something like this:
function img_resizer($src,$quality,$w,$h,$saveas, $color) { if (!extension_loaded('gd') || !function_exists('gd_info')) { return ""; } $method = $this->can_get_file(); if( $method==false) { return ""; }Change it to:
function img_resizer($src,$quality,$w,$h,$saveas, $color) { if (!extension_loaded('gd') || !function_exists('gd_info')) { return ""; } $color = "#ffffff"; $method = $this->can_get_file(); if( $method==false) { return ""; }Save the file, empty the search cache and the upcoming images should now have a white background.
Ernest Marcinko
KeymasterHi!
I’m not sure you changed the details as I cant see them. Try to edit the first post in this thread again, maybe it was a server issue of ours 🙂
Thank you!
Ernest Marcinko
KeymasterOk, unfortunately I cannot see your file, but here is what I should do: in the header.php search for the div id=’nav’ element and add the following lines just before the /div closing tag like this:
<div id='nav'> ... ... ... Add these lines: <div style='float: right;width: 320px;'> <?php echo do_shortcode('[wpdreams_ajaxsearchpro id=1]'); ?> </div> and stop. </div>This will create a container element for the search and it should appear where it supposed to.
Ernest Marcinko
KeymasterHi!
Still cant load it, the server is too slow, maybe because I’m from europe, not sure. Anyways, can you send me a copy of the template and a screenshot of where you want to place the search on your site exactly? I will fix it on my test server and tell you what to do then. 🙂
Thank you!
-
AuthorPosts