Support » Theme: Melos » Aggressive dashboard notification card

  • Resolved computershowtopro

    (@computershowtopro)


    After upgrading to Melos v 1.04 the aggressive notification card with the “Welcome! Thank you for choosing Melos! To get started please make sure you visit our welcome page.” cannot be hidden. It’s cumbersome, and it would make sense, that once I’ve already clicked on the welcome page’s link, or I’ve hidden this card by clicking on the upper-right corner X, it would not appear again.

    Please fix this, it’s very irritating on an otherwise awesome theme.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • TUT Support

    (@phpexpert21)

    Hello @computershowtopro,

    To fix the dashboard notification you can use 3rd party plugin. Please refer the below listed urls-

    https://wordpress.org/plugins/wp-hide-backed-notices/
    https://wordpress.org/plugins/disable-admin-notices/

    Kind regards,

    Manoj

    computershowtopro

    (@computershowtopro)

    I sincerely hope you just made a twisted joke, and you will reconsider your response and FIX the bug I just mentioned.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    @phpexpert21 This is a real problem.

    To fix the dashboard notification you can use 3rd party plugin. Please refer the below listed urls-

    Theme’s should not hijack a user’s dashboard and a user must not need to install a plugin to fix your theme.

    How soon can this be fixed on the version on WordPress.org?

    There’s one single line that needs to be commented, to solve this, in admin/toolbox-class-about.php in line 128,
    add_action( ‘admin_notices’, array( $this, ‘activation_admin_notice’ ) );

    Either make this not trigger at all, or make it trigger based on whether it has or has not been triggered already.
    On another look, it could be conditioned by the last functionality part of the same file, this one:
    /**
    * Hide welcome notice when dismissed.
    */
    public function hide_notice() {
    if (isset($_GET[‘thinkup-hide-notice’]) && isset($_GET[‘_thinkup_notice_nonce’])) {
    if (!wp_verify_nonce($_GET[‘_thinkup_notice_nonce’], ‘thinkup_hide_notices_nonce’)) {
    wp_die(esc_html__(‘Action failed. Please refresh the page and retry.’, ‘melos’));
    }
    if (!current_user_can(‘edit_theme_options’)) {
    wp_die(esc_html__(‘You do not have the necessary permission to perform this action.’, ‘melos’));
    }
    $hide_notice = sanitize_text_field($_GET[‘thinkup-hide-notice’]);
    update_option(‘thinkup_notice_’ . $hide_notice, 1);
    }
    }

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.