Support » Plugin: Glance That » [REQUEST]: Save settings for ‘All Users’

  • Resolved emangham

    (@emangham)


    Hello,

    Would it be possible to allow a setting (displayed to the Administrator(s) or Master User) to ‘Save Settings’ to be displayed to all Users with permission to do so?

    This would be handy as during a handover to a client, it would be great to have the Glance That box pre-set for all users, rather than telling them to do it themselves. It’d also look great 🙂

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author uamv

    (@uamv)

    This is a great idea! There is currently the filter to set defaults. From the description…

    The gt_default_glances filter can be used to define glances that should be visible to a user upon first visiting their dashboard.

    apply_filters( ‘gt_default_glances’, array $default_glances, int $user_ID );

    where the $default_glances parameter is prepopulated as

    // Define standard defaults
    $gt_default_glances = array(
        'post' => array( 'icon' => 'f109', 'sort' => 1 ),
        'page' => array( 'icon' => 'f105', 'sort' => 2 ),
        'comment' => array( 'icon' => 'f101', 'sort' => 3 ),
        );

    However, I realize this is a clunky way to get defaults set. Though I see the benefit of it, I’ve rarely used it myself. I’ll take a look at how to implement this moving forward. Thanks for the suggestion!

    Plugin Author uamv

    (@uamv)

    Version 3.4 adds the ability to apply your current glance configuration to all users or only to new users. You’ll also notice that I’ve modified the UI for adding/removing glances. I think this keeps things a bit cleaner. Let me know if you encounter any bugs. Enjoy!

    emangham

    (@emangham)

    @uamv,

    I love it! Thanks so much for listening to my feedback!

    5/5!

    Best,

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[REQUEST]: Save settings for ‘All Users’’ is closed to new replies.