WordPress.org

Support

Support » Plugins and Hacks » Document Repository » [Resolved] [Plugin: Document Repository] Can't See Extra User Profile Fields

[Resolved] [Plugin: Document Repository] Can't See Extra User Profile Fields

  • 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/

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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.

    Plugin Author Ron Rennick

    @wpmuguru

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

    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?

    Plugin Author Ron Rennick

    @wpmuguru

    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.

    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.

    Plugin Author Ron Rennick

    @wpmuguru

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

    Plugin Author Ron Rennick

    @wpmuguru

    Try the development version.

    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.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] [Plugin: Document Repository] Can't See Extra User Profile Fields’ is closed to new replies.
Skip to toolbar