This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 15 posts - 17,986 through 18,000 (of 18,415 total)
  • Author
    Posts
  • in reply to: Problem size icons #2293
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I’ve made some changes on the configuration and code, it should work well now. The problem was, that the theme was detaching the stylesheet so it did not show.

    in reply to: Catalog Visibility Options & Search Issues #2292
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    You should make copy of the ajax-search-pro folder in the plugin directory, that countains everything. This will be included in the next version, no worries.

    Ernest MarcinkoErnest Marcinko
    Keymaster

    1. First of all this way the call can be accessed from outside your server, which poses a possible threat of excessive usage. GET is also limited in terms of parameters length. In some cases people like to exclude dozens of categories, posts etc.. which is all part of the fronted as well. So there is a chance of data loss.

    You can of course try if you want. Look in the search.php in the main directory. Lines 192-193:

            $_posts = new wpdreams_searchContent($params);
            $pageposts =  $_posts->search($s); 
    

    Basically that’s the heart of it. You can do a “var_dump($params);die();” to see what data is passed to the constructor. The class is located at includes/search_content.class.php. It extends the includes/search.class.php, so you will need that as well.
    The $pageposts variable will contain an array of the results. Pobably adapting this code is the best idea to start with.

    Good luck!

    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    This is actually requested by some users right now. The problems are:

    1. The search uses POST method instead of GET, to prevent excessive external usage – I highly doubt I can change that as of now, or ever – it’s too much of a security risk.

    2. The data returned by the search is not in a compatible format with a standars “WP_Query” data. There are several reasons for this, manly related to search speed and compatibility and of course some data does not have the required fields to act like a post – which cannot be returned as a default search result.

    This issue is far more complicated, than a few modifications unfortunately. I have tried to solve this a few times as of now, but something always went wrong.

    The solution will involve creating a filter, which hooks to the default search filter, then includes the search files, sends the search data through somehow (selected checkboxes, etc), transforms the data to the ajax search pro, recieves the results, then converts the results to wordpress-compatible format and returns.

    in reply to: Catalog Visibility Options & Search Issues #2281
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    It looks like that plugin was somehow interfering with the custom ajax handler. I changed the search code a bit to the default ajax handler, now it should return results.

    in reply to: Theme icons dissappears #2280
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I think it’s ok now. Just had to re-save the cache settings, some data in the database must have been inconsistent.

    in reply to: Theme icons dissappears #2276
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You can edit your first post in this thread, there are fields for ftp access to fill out – those are private.

    in reply to: Theme icons dissappears #2274
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I don’t see the problem with the theme icons. Can you double check it please and perhaps send a screenshot? I can see them fine.

    As for the results, the server returns an error 500, which can be anything from incompatibility to sintax errors. Can you please provide temp ftp access to run a debugging on the code?

    in reply to: Categories for Custom Type Posts #2270
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I think the problem is that it’s inside of the

    element. The search uses a form element itself so it creates an invalid html if you put it inside the form. You should instead replace the form element with the search. I think that will solve the url issue as well.
    in reply to: Categories for Custom Type Posts #2267
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    No, it would change it to ever type.

    I however made a change on the search code directly to cut only polaroid titles. It should look better now. Currently is set to 30 characters.

    in reply to: Categories for Custom Type Posts #2264
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Only by writing a filter code.
    Put this to your theme functions.php file:

    function asp_shorten_title( $title ) {
        $length = 20;
        $title= (strlen($title) > $length) ? substr($title,0,$length).'...' : $title;
        return $title;
    }
    add_filter( 'asp_result_title_after_prostproc', 'asp_shorten_title' );
    

    This will cut down the title to max 20 characters. You can change the number to anything you want.

    in reply to: Still VERY slow! #2262
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I did a few changes on the code which I suspected it was slowing down the process. It was just a random shot, so I don’t know if it actually helped. Right now it takes around 2-5 (5.36 was the highest measured) seconds for me, which seems normal. If however the load is constantly over 5 seconds, then there is something interfering with the plugin. Some spikes might happen (due to server load, maintenance, etc..), but it should not be consistent.

    Let me know how is it working now.

    If there are constant issues, you should provide temp ftp access as well, so I can run debugging on the search code to search for the cause.

    in reply to: Only works in first page #2260
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    I cannot seem to find the url for the backend to check the settings. Can you please tell me where to log in?

    The problem is with jQuery. None of the jQuery plugins are working because it’s moved to the footer. I can see 10 error messages on the developer tools related to jQuery.

    After trying to log in by opening the lascomiditasdepapa.com/wp-login.php the site must have locked me out, because I cannot access it anymore. Can you please check that?

    in reply to: Insecure Elements #2255
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    If you recently moved to a https domain from http, then please save the search settings again. It should re-generate the css file with the proper https prefixes.

    in reply to: Layout issue with Related Posts Pro #2252
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Also please check if the permissions on the plugins/related-posts-pro/includes/cache/ folder are indeed set to 777.

    Be aware that there are two cache folders!

    1. plugins/related-posts-pro/cache/
    2. plugins/related-posts-pro/includes/cache/

    Timthumb uses the second one, that’s where the index.html file should be placed.

Viewing 15 posts - 17,986 through 18,000 (of 18,415 total)