The MU forums have moved to WordPress.org

How to disable file uploading? (4 posts)

  1. nuprn1
    Member
    Posted 17 years ago #

    Now that the forums are back *yea!*

    How can I disable sitewide file uploading in MU?

  2. andrewbillits
    Member
    Posted 17 years ago #

    The easiest way is to just comment out the code in the admin files.

  3. nuprn1
    Member
    Posted 17 years ago #

    So there is no where to set the 'upload_files' metadata?


    if (!current_user_can('upload_files'))
    die(__('You do not have permission to upload files.'));

  4. andrewbillits
    Member
    Posted 17 years ago #

    Welp, you can always edit the user roles. The way I mentioned above is the easiest way however there are several other methods.

About this Topic

  • Started 17 years ago by nuprn1
  • Latest reply from andrewbillits