• I find your plugin extremely useful but there is always an annoying message at the top of the admin page as follows:

    Help us improve your experience
    We want to know what types of sites use our plugin. So that we can improve Image Sizes accordingly. Help us with your site URL and a few basic information. It doesn’t include your password or any kind of sercret data. Would you like to help us?

    Clicking the button “OK don’t bother me again” does not remove this message.

    How can I suppress this message once and for all?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Nazmul Ahsan

    (@mukto90)

    Hi,
    Sorry to hear that. But the message should disappear as soon as you click the button.
    I think your site cannot send AJAX request for some reason, most probably due to a JS error/conflict. Did you check your browser console? Does it show any error?

    Thread Starter supertrooper2

    (@supertrooper2)

    Hi Nazmul

    This is nothing to do with my browser bacause it happens on Firefox, Chrome and my iPad.

    How can I suppress this message?

    Please advise.

    Plugin Author Nazmul Ahsan

    (@mukto90)

    Hi,
    I didn’t mean it’s your browser. What I meant is to check if there is any error shown in browser console. As I think there is definitely an error in your current setup.

    I just tested with a fresh installation of WordPress, and it works fine.

    Thank.

    Thread Starter supertrooper2

    (@supertrooper2)

    I don’t know what you mean by browser console or how to check it?

    Please advise.

    Plugin Author Nazmul Ahsan

    (@mukto90)

    Please create a ticket here https://support.codebanyan.com/

    Thread Starter supertrooper2

    (@supertrooper2)

    I created a ticket but have received no reply. The following code in the image-sizes.php file probably causes this message:

    /**
         * Show admin notices
         *
         * @since 1.1
         */
        public function admin_notices() {
            if( get_option( 'imgsz_survey' ) != 1 ) :
            ?>
            <div class="notice notice-success is-dismissible imgsz-survey-notice survey-notice">
                <p>
                    <p><strong><?php _e( 'Help us improve your experience', 'image-sizes' ); ?></strong></p>
                    <span><?php _e( 'We want to know what types of sites use our plugin. So that we can improve <strong>Image Sizes</strong> accordingly. Help us with your site URL and a few basic information. It doesn\'t include your password or any kind of sercret data. Would you like to help us?', 'image-sizes' ); ?></span>
                </p>
                <p>
                    <button class="button button-primary imgsz-survey" data-participate="1"><?php _e( 'Okay! Don\'t bother me again.', 'image-sizes' ); ?></button>
                </p>
            </div>
            <?php
            endif;
        }
    
    	/**

    How should I change this code to prevent the message?

    Thanks

    • This reply was modified 6 years, 9 months ago by supertrooper2.
    Thread Starter supertrooper2

    (@supertrooper2)

    Hi Nazmul

    Please reply.

    Thanks.

    Thread Starter supertrooper2

    (@supertrooper2)

    The fact that your plugin triggers a message in the admin, which cannot be suppressed, is not in compliance with WordPress rules.

    Unless I receive a satisfactory response from you within 48 hours, I will report your non-compliance to WordPress.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Help us improve your experience – Annoying Message’ is closed to new replies.