WordPress.org

Ready to get started?Download WordPress

Forums

Document Repository
[resolved] Can't See Extra User Profile Fields (9 posts)

  1. confuoco
    Member
    Posted 2 years ago #

    Hello,

    This is a great plugin, and is exactly what I was looking for. Everything seems to be working very well, except for one small piece.

    I just installed v 0.2.4 and am having an issue where I am not seeing any extra fields added to the user profiles (neither on my own admin profile nor those of other users while I am logged in as admin), so I can't seem to set any permissions (which is something I want to do).

    All four parts of the plugin are activated (Document Repository, Custom Roles, Custom Taxonomies, and Network Extras). I have not edited my wp-config because I am on a single install, not running a multisite.

    Any thoughts on why this could be happening would be appreciated!

    http://wordpress.org/extend/plugins/document-repository/

  2. confuoco
    Member
    Posted 2 years ago #

    I should add that I've created 3 document roles: Staff, Member, and Public. I'm hoping to match these up permissions-wise with three Audiences of the same names.

  3. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    The document role dropdown appears just below the toolbar checkbox (adminbar in WP 3.2.X).

  4. confuoco
    Member
    Posted 2 years ago #

    I'm not seeing the document role dropdown. On the user profile page the Personal Options section (ending with the Admin Bar checkboxes you mentioned) is immediately followed by the Name section (username, etc.).

    I've tried deactivating all of my other plugins besides the four Document Repository ones, no luck.

    I've also checked the HTML output of the profile page (on the off-chance there was some kind of CSS conflict preventing the document role dropdown from being visible). The only related code I found is for the left admin sidebar.

    It seems like I must be misunderstanding something simple, or am somehow not looking in the right place. Otherwise, is there anything you can think of that would cause the document role dropdown not to appear?

  5. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    I'll have to put it on the list to look at. It will probably be at least a week before I will have some time for that.

  6. confuoco
    Member
    Posted 2 years ago #

    I may have actually found a solution. On lines 45 and 46 of user-roles.php, just before all the add_action's and add_filter's at the end of the init function there is the following code:

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

    I changed 'manage_users' to 'edit_users' and everything started working (in that I now see the document role dropdown on the profile page).

    There's no reason to think I'd be inadvertently breaking some other part of the plugin by changing this, right?

    Thanks again for the great plugin and for all your help.

  7. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    No, that change should be fine. manage_users may be a cap that's only tested in a network.

  8. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Try the development version.

  9. spolaorso
    Member
    Posted 1 year ago #

    Changing 'manage_users' to 'edit_users' has settled the issue of role dropdown for user profile. But I'm also having problem on how to assign a "Document Role" to a document. Nothing appears on the page when trying to add a new document or even when I'm trying to modify the info of a document.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic