Enforce field visibility except for admin
I’m just dipping my toe into BuddyPress and my client needs to moderate profile changes but I haven’t been able to find any solution yet. To that end I’m having a go at developing something myself but I’m a bit stuck.
My approach so far has been to create a new visibility level of ‘moderated’ and make it hidden unless you are admin.
To stop people from changing the visibility level themselves I’ve set the the visibility to ‘Enforce field visibility’ but this stops admin from being able to change it on the user’s profile too.
So is there a way I can introduce a third option of ‘Enforce field visibility except for admin’?
Just for context, my next steps (not yet attempted) are to on save of profile to email admin and set all the users fields to moderated. Then on admin view of a profile to have a button that changes fields with moderated visibility back to their defaults. Does this sound like I’m on the right track?
Thanks for your help!
- You must be logged in to reply to this topic.