This is a great tutorial here –
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.
Welcome to BuddyDev.
No, That is not the right code.
you will need something like this.
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.
You must be logged in to reply to this topic.