Forum Replies Created

Viewing 15 replies - 61 through 75 (of 628 total)
  • Plugin Author Pixelbart

    (@pixelbart)

    Hello @meir321

    exactly, Helpful stores things a little differently now. The customizer unfortunately works a bit differently than the rest, so it was difficult to keep the changes there.

    You can see if you put the following in your functions.php. After that you can type my-domain.com/?helpful_css=on and check if the settings are still stored somewhere.

    add_action('template_redirect', function () {
        if (!array_key_exists('helpful_css', $_GET)) {
            return;
        }
    
        echo get_option('helpful_css');
        exit;
    });

    Alternatively you can put the following in your functions.php and check if something is shown here. In one of the cases your CSS should be visible, if Helpful didn’t clear the old option.

    add_action('template_redirect', function () {
        if (!array_key_exists('helpful_css', $_GET)) {
            return;
        }
        
        $options = get_option('helpful_options');
    
        if (array_key_exists('helpful_css', $options)) {
            echo $options['helpful_css'];
        }
        exit;
    });

    Unfortunately, if none of this works, the settings are gone and I don’t have a solution for that. I had to change the saving altogether because Helpful had saved everything in individual options and cluttered up the database.

    Greetings Kevin

    Plugin Author Pixelbart

    (@pixelbart)

    Hello @indigotherapies

    Maybe it has become better with the last two updates, you can look again.

    Greetings Kevin

    Plugin Author Pixelbart

    (@pixelbart)

    @indigotherapies

    Yeah, I can’t find anything here either, except for the memory thing. Funnily enough also always in relation to 1&1 or Ionos. They must have severely limited that.

    I also can’t think of an alternative solution for that line of code you highlighted. This is a common technique to query the contents of a file, which I used there. It’s been in use all along though, so I’m not sure why there are problems here.

    The problem is that this is not necessarily buggy within Helpful.

    If I find anything, I’ll let you know. Currently I’m having a hard time finding a solution here.

    Greetings Kevin

    Plugin Author Pixelbart

    (@pixelbart)

    I just did some searching but couldn’t find much. This is probably due to the server, which has too little memory. You can increase the memory so, in which you go into the wp-config.php and insert the code there:

    define('WP_MEMORY_LIMIT', '1024M');
    define('WP_MAX_MEMORY_LIMIT', '2048M');

    I can’t see an error here either. I’ll keep looking.

    Greetings Kevin

    Plugin Author Pixelbart

    (@pixelbart)

    Hi @indigotherapies

    funnily enough, I didn’t change anything there. But I’m looking at it right now and trying to solve your problem.

    You can download the previous version here:

    4.7.0 Download: https://downloads.wordpress.org/plugin/helpful.4.4.70.zip

    Thank you for your feedback!

    Please stay healthy!

    Greetings Kevin

    Forum: Reviews
    In reply to: [Helpful] fancy app
    Plugin Author Pixelbart

    (@pixelbart)

    Very nice, glad you like the plugin!

    Thanks for your review and stay healthy!

    Plugin Author Pixelbart

    (@pixelbart)

    Awesome, thank you so much for your review!

    Stay healthy!

    Plugin Author Pixelbart

    (@pixelbart)

    Thank you very much!

    Stay healthy!

    Plugin Author Pixelbart

    (@pixelbart)

    Hello @landwire

    unfortunately not at the moment. I have to revise the options (the way they are saved) and would then include a suitable function.

    Currently this is not yet possible.

    Greetings Kevin

    Plugin Author Pixelbart

    (@pixelbart)

    Awesome @stefanpejcic

    Thank you for the reply!

    Plugin Author Pixelbart

    (@pixelbart)

    Hello @stefanpejcic

    this is very strange, because Helpful actually sets 0 in the default to make the sorting work. There must be another problem here. If necessary, save all settings again and perform a maintenance under Helpful → Settings → System → Maintenance.

    I have another screenshot for you, which shows you how it should look like:

    https://i.postimg.cc/44HNbWWf/image.png

    You can give me feedback again. In the meantime, I’ll take another look at the code and try to reproduce your error.

    Thank you and please stay healthy!

    Greetings Kevin

    Forum: Plugins
    In reply to: [Helpful] Slow Admi
    Plugin Author Pixelbart

    (@pixelbart)

    Hello @pankajjangir

    I haven’t come up with anything on this yet. The problem does not exist anywhere else, which is why it is not comprehensible to me.

    Since I do everything alone and I’m not paid for it, it takes a little longer.

    If you have problems with the plugin, you should look for another plugin if necessary.

    Greetings Kevin

    Plugin Author Pixelbart

    (@pixelbart)

    Hello @hellothanos

    I’m not a WP-Rocket specialist unfortunately, but you can try the following. Simply in the functions.php or similar:

    apply_filters('helpful_pre_save_vote', 'helpful_rocket_pre_save_vote', 99, 2);
    
    function helpful_rocket_pre_save_vote($response, $post_id)
    {
        $pages_to_clean_preload = [];
    
        $pages_to_clean_preload[] = get_the_permalink($post_id);
    
        if (function_exists('rocket_clean_post')) {
            rocket_clean_post($post_id);
        }
    
        if (function_exists('get_rocket_option')) {
    
            if (1 == get_rocket_option('manual_preload')) {
                $args = [];
    
                if (1 == get_rocket_option('cache_webp')) {
                    $args['headers']['Accept'] = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8';
                    $args['headers']['HTTP_ACCEPT'] = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8';
                }
    
                helpful_rocket_preload_page($pages_to_clean_preload, $args);
    
                if (1 == get_rocket_option('do_caching_mobile_files')) {
                    $args['headers']['user-agent'] = 'Mozilla/5.0 (Linux; Android 8.0.0;) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Mobile Safari/537.36';
                    helpful_rocket_preload_page($pages_to_clean_preload, $args);
                }
            }
        }
    
        return $response;
    }
    
    function helpful_rocket_preload_page($pages_to_preload, $args)
    {
        foreach ($pages_to_preload as $page_to_preload) {
            wp_remote_get(esc_url_raw($page_to_preload), $args);
        }
    }

    See: https://docs.wp-rocket.me/article/494-how-to-clear-cache-via-cron-job

    Stay healthy!

    Greetings Kevin

    Forum: Plugins
    In reply to: [Helpful] Slow Admi
    Plugin Author Pixelbart

    (@pixelbart)

    Hello @pankajjangir

    this is quite unusual. How many votes do you currently have? Are you being shown the dashboard widget? Do any error messages appear?

    I can’t reproduce the error, even with a vote count of more than 50,000.

    Thank you in advance and stay healthy!

    Greetings Kevin

    Forum: Plugins
    In reply to: [Helpful] Slow Admi
    Plugin Author Pixelbart

    (@pixelbart)

    Hello @pankajjangir

    You can set in the settings of Helpful under System if Helpful should cache your data. Set a cache for this and check it again.

    Helpful > Settings > System > Cache

    Maybe this will help.

    Greetings Kevin

Viewing 15 replies - 61 through 75 (of 628 total)