WordPress.org

Ready to get started?Download WordPress

Forums

Using Adminimize Admin themes disables media uploader (7 posts)

  1. Dalton
    Member
    Posted 5 years ago #

    A weird quirk when using Adminimize: When I select any of the Adminimize admin themes for my user profile, the media uploader buttons disappear from the post and page edit screens. Setting the theme back to the standard WordPress admin theme brings it back right away.

    http://wordpress.org/extend/plugins/adminimize/

  2. Frank
    Member
    Posted 5 years ago #

    PLease check the options of Adminimize, the plugin has an option for deactivate the media upload buttons.

  3. Dalton
    Member
    Posted 5 years ago #

    Thanks Bueltge, but that's not what I meant. Even when the setting to deactivate is not set, the media buttons disappear. This is not expected behavior.

  4. StrangeAttractor
    Member
    Posted 5 years ago #

    Yes, I've noticed this same problem -- the "Add Media" area above the edit toolbars disappears even when the media area has not been deactivated....

  5. StrangeAttractor
    Member
    Posted 5 years ago #

    It's kind of a crude fix (because I don't understand how the script works well enough to do something more sophisticated), but you can edit the adminimize.php to restore your media buttons.

    Open adminimize.php and go to around line 179 and find this:

    if ( recursive_in_array('media_buttons', $disabled_metaboxes_post_all) )
    remove_action('media_buttons', 'media_buttons');

    and simply comment it out so:

    // REMOVED TO RESTORE MEDIA BUTTONS
    //if ( recursive_in_array('media_buttons', $disabled_metaboxes_post_all) )
    //remove_action('media_buttons', 'media_buttons');

    I have a feeling, though, this will restore media buttons for ALL users who have access to the post/page editing page.

    And also, of course, it is a hack, so if the author doesn't fix this in the next version and you upgrade, you'll have to hack the new plugin as well...

  6. Frank
    Member
    Posted 4 years ago #

    new version is ready and fix this problem.
    best regards
    Frank

  7. StrangeAttractor
    Member
    Posted 4 years ago #

    Thanks for fixing it, Frank. I love your plugin -- it's as important as Role Manager for controlling user experience at different privilege levels...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags