Tagged: user profile
- May 14, 2015 at 1:09 pm #9220
I’m using the Advanced Custom Fields plugin to display custom fields on every user’s profile. I’m trying to set it up a user role where users can only modify their own profile – no access to edit or view anything else. When I try to set up a role, not only are these fields hidden from the user, but it hides these custom fields even for Administrators who are viewing that user’s profile. How can I configure the User Role Editor Pro plugin so that these custom user fields are editable by the user as well as administrators?May 14, 2015 at 1:23 pm #9221
That’s a great question. I’d love to consider this type of functionality as well. More granular control. 🙂May 14, 2015 at 8:28 pm #9249
I don’t think this functionality is controlled by User Role Editor. Is it possible for you to ask the developer of Advanced Custom Fields, which capability is required to display those custom fields in user profile?
SyamMay 15, 2015 at 4:39 am #9264
Sorry, I didn’t explain that very well. The ACF plugin allows me to put custom fields on the user profiles, and it works very well. However, when I create a custom role using the User Role Editor Pro plugin, these fields disappear from the user profile page for any user who has the custom role. The user assigned to have the custom role doesn’t see the fields, and neither does anyone with Administrator privileges when they try to edit this user’s profile. This happens even if I give the custom role access to every capability in the list when I edit their perms on the “wpfront-user-role-editor-all-roles” page. Any suggestions?May 15, 2015 at 9:51 am #9282
Do you see the fields when the user has the custom role and the User Role Editor Pro plugin is deactivated?
SyamMay 15, 2015 at 10:13 am #9283
Yes, I see the fields when the plugin is deactivated. And I also see the fields for Administrator-level users when the plugin is activated *and* I’m logged in as an Administrator.
I’m trying to set up User Role Editor Pro so that:
1. The new limited-access role can edit the custom fields in their own profile and nothing else in WordPress.
2. Administrators can edit the custom user profile fields of these limited-access users.May 15, 2015 at 10:56 pm #9297
Can you send me the plugin and the instructions on your setup so that I can test it in my local dev environment?
ThanksMay 16, 2015 at 5:19 am #9304
In the process of putting together the info for you, I realized I made a mistake — in Advanced Custom Fields, I was only allowing the custom user fields to be visible to Administrators and Editor user roles. Thus when I created a new role, it did not display the custom fields for those with the new role. Sorry for wasting your time on this and thank you for a great plugin.May 16, 2015 at 12:21 pm #9323
I’m glad that you got this figured out.
The topic ‘Custom user fields’ is closed to new replies.