[Resolved] Profile > Field > Default Visibility / Getting a field's visability
In short the need is to have some profile fields that are “Management Only” and also “Seen by others but added/ edited by Management Only.” For example, a list of skills. We want Management to vet the staff member and check off their skills, but only allow those skills to be displayed within a profile (and can’t actually be edited by that person). I hope my explanation is making sense.
We’d also like to be able to query by some of those (if that detail is helpful).
1) So I’m looking for a way to add to the Default Visibility list. Is that possible?
2) Or can I add a custom taxonomy (?) to the fields and then work my own magic that way?
3) Else, what about being able to get a field’s Visibility setting and override that? For example in profile-loop.php as I’m looping (in pseudo-code): “If wp_role == “management” and visibility == “me only”) then allow edit). and if role != management then only display the values – no edit.
I think we can live without “Management Only” but we do need “fields management fills out and everyone gets to see”.
Finally, this is my first BP project. My WP powers are pretty good but my BP close to zero. Please type slowly 🙂
p.s. Also, is there was way to create profile fields with code instead of via the Admin UI?
- The topic ‘[Resolved] Profile > Field > Default Visibility / Getting a field's visability’ is closed to new replies.