- Hi Brajesh, - This is a great tutorial here – 
 https://buddydev.com/extending-buddypress-profile-field-visibility- I’m looking to adapt your code to include a specific profile type from BuddyBoss. - Is this the correct hook to use? – https://www.buddyboss.com/resources/reference/functions/bp_get_members_member_type_base/ - Is your code possible to use a profile type as well as the super admin, and the owner? All other users and roles will not show the field to them. - Thanks. 
- Hi Ben, 
 Welcome to BuddyDev.- No, That is not the right code. 
 you will need something like this.- https://www.buddyboss.com/resources/reference/functions/bp_get_member_types/ - My code is an example to show case how can you add extra levels and then restrict by these. - You can add whatever can be uniquely identified as level and then decide who can see it by restricting fields in the ‘bp_xprofile_get_hidden_field_types_for_user’ filter. - Regards 
 Brajesh
- Hi Brajesh, - The code doesn’t appear to be working 100% anymore, with some members able to have access to areas that they shouldn’t. - We’ve found that re-saving the permalinks, seems to have temporarily fixed the issue, but this is only temporary. - Can you provide any assistance with ensuring the code still works, please? - Thanks. 
You must be logged in to reply to this topic.