WordPress.org

Ready to get started?Download WordPress

Forums

Quick Chat
Dashboard bug (3 posts)

  1. JibsouX
    Member
    Posted 1 year ago #

    The plugin cause a bug on Dashboard :
    hover menu don't work and the accordion of widget dashboard to. and also the button Screen option #screen-options-wrap an help #contextual-help-wrap

    it bug just on the dashboad ..
    to resolve it i have suppr the lines :

    add_action('wp_dashboard_setup', array($this, 'add_dashboard_widgets'));

    and :

    public function dashboard_widget(){
    echo $this->quick_chat(400, 'admin_room_'.substr(md5(AUTH_SALT),0,5), 1, 'left', 0, 0, 1, 1, 1);
    }
    
    public function add_dashboard_widgets() {
    if($this->user_status == 0)
    wp_add_dashboard_widget('quick_chat_dashboard_widget', __('Quick Chat Admin\'s Lounge','quick-chat'), array($this, 'dashboard_widget'));
    }

    http://wordpress.org/extend/plugins/quick-chat/

  2. Marko-M
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for your bug report but I can't reproduce it on any of my sites as well as on fresh WordPress installation.

    Here's screenshot.

    Could you please provide steps to reproduce? Also can anyone else reproduce it?

  3. JibsouX
    Member
    Posted 1 year ago #

    my Quick Chat dashboard Widget doesn't load at all and cause the bug !

    i have a french version of wp 3.4.2
    custom :
    // TinyMCE Tweak.

    function wpc_boutons_tinymce($buttons) {
      $buttons[] = 'sub';
      $buttons[] = 'sup';
      $buttons[] = 'fontselect';
      $buttons[] = 'fontsizeselect';
      return $buttons;
    }
    add_filter("mce_buttons_2", "wpc_boutons_tinymce");

    // Suppr admin bar.
    dd_filter('show_admin_bar', '__return_false');

    // Windows Live Writer : turn off.
    remove_action('wp_head', 'wlwmanifest_link');

    // Hide WordPress vesion.
    remove_action('wp_head', 'wp_generator');

    // Reddirect user after login.

    add_filter("login_redirect", "subscriber_login_redirect", 10, 3);
    function subscriber_login_redirect($redirect_to, $request, $user) {
    
      if(is_array($user->roles))
        if(in_array('administrator', $user->roles)) return site_url('/wp-admin/');
    
      return home_url();
    }

    I use this plugin (But y have turn off all and the bug was still there :p :
    Author Avatars List
    BackupBuddy
    Captcha
    Custom Meta Widget
    Custom Smilies
    Duplicate Post
    Force User Login
    kk Star Ratings
    MyMail - Email Newsletter Plugin for WordPress
    Optimize Database after Deleting Revisions
    Private Messages For WordPress
    Quick Chat
    SB Welcome Email Editor
    Simple History
    Simple Local Avatars
    WP-UserOnline
    WP Smush.it

    To reproduce the tweak for supp the bug :
    1 - open quick-chat.php
    2 - Suppr the lines :
    add_action('wp_dashboard_setup', array($this, 'add_dashboard_widgets'));
    and :

    public function dashboard_widget(){
    echo $this->quick_chat(400, 'admin_room_'.substr(md5(AUTH_SALT),0,5), 1, 'left', 0, 0, 1, 1, 1);
    }
    
    public function add_dashboard_widgets() {
    if($this->user_status == 0)
    wp_add_dashboard_widget('quick_chat_dashboard_widget', __('Quick Chat Admin\'s Lounge','quick-chat'), array($this, 'dashboard_widget'));
    }

    3 - Disable quick chat plugin and réactivate it !
    Voila that supp the dashboard quick chat and solve the bug ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.