WordPress.org

Ready to get started?Download WordPress

Forums

WP-Filebase Download Manager
Upload file widget permission (5 posts)

  1. handgold
    Member
    Posted 2 years ago #

    Hi, great plugin, thanx.
    I've the following troubles:
    1) I need to give the possibility to upload a file into a restricted article (with password) by upload widget to all the logged users of my blog, i.e. subscribers or collaborators and so on.
    If I set the admin permission to an user, the upload widget appears on my widget bar, otherwise the user is unable to have the upload form to upload a file.
    I tried to set the default user roles but no results!
    Thank you in advance for your answer.
    Joseph
    http://www.manidoroweb.com

    http://wordpress.org/extend/plugins/wp-filebase/

  2. vertex-polygon
    Member
    Posted 2 years ago #

    Exactly the same problem:
    The widget appears only for Administrators and authors...
    Contriubtors, subscribers and others can't see the widget

  3. vertex-polygon
    Member
    Posted 2 years ago #

    Ok, in widget.php, there are those lines :

    if(!current_user_can('upload_files'))
    return;

    Reading this page http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table it appears that contributors and subscribers can't upload files.

    I have tried to add capability in my function.php but without success...

  4. Fabian
    Member
    Plugin Author

    Posted 2 years ago #

    This will be changed in next update.

  5. ghuur
    Member
    Posted 2 years ago #

    I used this plugin to get around this issue until a fix is added.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic