WordPress.org

Ready to get started?Download WordPress

Forums

Separate Media Libraries for Multi User Site (2 posts)

  1. yoolee
    Member
    Posted 2 years ago #

    Hello, I am currently working on a buddypress site for a future community. I would like to be able to set up media libraries by users so each person will only see/edit/add their own files and not mess with what's already there uploaded by me.
    Is there a way around this? Is the maybe a media library manager that allows me to set up separate folders for each user? Thanks in advance.

  2. yoolee
    Member
    Posted 2 years ago #

    I like wp forum, I always seem to find a solution to my question:) I will now try putting this in the theme's function.php file

    //Remove Media Library Tab
    function remove_medialibrary_tab($tabs) {
    if ( !current_user_can( 'administrator' ) ) {
    unset($tabs['library']);
    return $tabs;
    }
    else
    {
    return $tabs;
    }
    }
    add_filter('media_upload_tabs','remove_medialibrary_tab');

Topic Closed

This topic has been closed to new replies.

About this Topic