Support » Plugins » Using Adminimize Admin themes disables media uploader

Viewing 6 replies - 1 through 6 (of 6 total)
  • PLease check the options of Adminimize, the plugin has an option for deactivate the media upload buttons.

    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.

    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….

    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…

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

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Using Adminimize Admin themes disables media uploader’ is closed to new replies.