• Resolved Andrés Cifuentes

    (@andrescifuentesr)


    Hi Chad,

    First at all, thanks a lot for this plugin, that’s really nice. I have to ask you 2 thinngs so far I haven’t find in the documentation:

    1. Is there a way to hide the dashboard for authorises profiles with the plugin or do I have to use an external hook.
    2. Is there a way to protect media attachements to restricted pages ?

    Thanks a lot

    https://ww.wp.xz.cn/plugins/wp-members/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Andrés Cifuentes

    (@andrescifuentesr)

    well, so far I found this that have answerd on of my questions:
    http://www.butlerblog.com/2011/09/23/how-to-disable-the-wordpress-admin-bar/

    I would like no know if Is there a way to protect media attachements to restricted pages?

    And i’m having troubles trying to deregister the original css. This is not working.

    add_action( ‘wp_print_styles’, ‘my_styles’ );

    function my_styles() {
    wp_deregister_style( ‘wp-members’ );
    }

    Thread Starter Andrés Cifuentes

    (@andrescifuentesr)

    Well, i think i’m lucky today, apparently it was just a priority level staff (or something like that).
    For not loading original CSS I’ve used :
    add_action( 'wp_print_styles', 'my_styles', 99 );
    instead
    add_action( 'wp_print_styles', 'my_styles' );

    I don’t want to be annoying but I just want to know this:
    if Is there a way to protect media attachements to restricted pages?

    Plugin Author Chad Butler

    (@cbutlerjr)

    There isn’t a process in the plugin for media. However, there additional plugins that do integrate such as Download Manager.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘hide dashboard’ is closed to new replies.