BuddyPress Profile Data Control allows you to control the availability of BuddyPress profile Fields as well as the visibility of BuddyPress user profile data based on user roles. You can also restrict who can edit individual profile field data based on user roles.
Features:-
- Allows site admin to restrict the profile field group's availability i.e. As a site admin, You can restrict which profile fields group will be available to which user based on their roles. The Base group(First profile field group) can not be restricted.
- Allows site admin to restrict the individual BuddyPress profile field's availability and visibility to users based on their roles.
- Allows site admin to restrict/limit who can edit individual BuddyPress profile field information based on user roles.
- Allows site admin to specify a default placeholder value for the individual restricted profile field. The placeholder will be shown to the profile visitors if the field is not visible to them.
Note:- No restrictions will be applied to the site administrator role when they are visiting other user's profile. In the case of a multisite network, the Network administrator will have no restrictions applied to him. If you apply restrictions to the "Administrator" role, it will only apply to the subsite's administrators(This use case only applies to multisite).
If the field availability is restricted by Member Types(or Profile Types in case of BuddyBoss), the plugin will honour that. It will not change field availability if the field is hidden by member type settings. If a field is available(even with member types), the role based availability can be used to further restrict that.
How to limit the availability of the BuddyPress Profile Field Group by roles:-
Please visit Dashboard->Users->Profile Fields. Click on "Edit" under the Profile field group name and you can .
Here is a screenshot showing BuddyPress Profile Field Group restricted by roles options:
Here is a screenshot showing BuddyPress Profile Fields Group restricted by roles on the frontend:
Note:- "Base" profile field group(or the First Profile Field group) can not be restricted by roles.
How to limit the availability of BuddyPress Profile Field by roles:-
Please visit Dashboard->Profile Fields and edit a field. You will find the options to limit by roles there.
Here are the screenshots showing the options for restricting the availability of Profile Fields:-
Here is a frontend screenshots:-
How to limit the visibility of BuddyPress Profile Field by roles:-
For restricting the profile field's visibility, Please visit Dashboard->Users->Profile Fields and click on Edit for a profile field. On the edit field screen, Please locate the section "Visibile For" and select the allowed roles this field will be visible. The Visible for option will appear for each of the role this field is available to. For example you can make a field available to editor and visible to Author only.
Here is a screenshot for restricting profile field visibility:-
Here are some screenshots for front-end:-
How to restrict who can edit or modify a BuddyPress Profile Field by roles:
For restricting the BuddyPress profile field editing capability, Please visit dashboard->Users->Profile Fields and edit a profile field. On the edit screen, Please take a look at "Who Can Edit" section as shown below.
You can select the roles which are allowed to edit this field on their profile. All of these roles will be able to edit this field on their own profile. For example, If the editing of a profile field is restricted to the "Editor" role, only Editors can edit this field on their own profile. Other users may have this field but they can not edit it. You can use this feature to mark some of the fields which only admins can edit but are available on user profiles.
Here is a screenshot showing the profile field editing restriction options:-
Here are some screenshots showing the frontend:-
Use cases:-
Case 1:- Make role based Profile field groups. As a site admin, you can create different profile field group for each role if you want to.
Case 2:– Make some fields editable by only admins. You can use this to keep some
How to use it:-
After installation, please visit Dashboard->Users->Profile Fields and edit any profile field or group.
Frequently Asked Questions:-
Can we restrict First Profile field group(Base)'s availability?
No.
Can we restrict all profile field's availability and visibility?
Yes. We recommend against the Full Name field though.
Can we restrict the availability and visibility of custom profile fields created by third-party plugins?
Yes.
Can we restrict who can edit a profile field based on their role?
Yes.
Can we show any message to users if they are not allowed to see a specific profile field?
Yes, You can use the field placeholder value that will be shown to users.
I have more questions, where do I ask?
You can post in our support forums or get in touch via our contact page.
Video Tutorials:-
How to install BuddyPress profile Data Control:-
How to restrict availability and visibility of BuddyPress profile field groups:-
How to limit the availability of BuddyPress field by role:-
How to restrict Profile field visibility based on role:-
How to restrict who can edit a BuddyPress profile field:-