Hello
how can i give the user the control on His name in Profile field visibility
some users not need any one know his name as a private information
no options for Profile field visibility in Name field
Thanks
Yes you can set it from wp-admin -> users -> profile fields :
http://prntscr.com/pmw21o
The result :
http://prntscr.com/pmw1c8
But the Name field not have this option
MkModerator
The name field is the default field there is no option available for it to set the visibility.
we can hide it by custom code. but it will be for everyone. or can be handled by yourself only.
i want the name field hide by default to everyone , appear only to the users
This may not be possible because the name field is the primary field in BuddyPress. It is used in many places and unlike regular fields where you can set privacy levels, the name field privacy levels do not apply. This is a buddypress limitation as of now. The name field is used by buddypress to generate the WordPress username which is a primary field in the WP_Users table.
The only solution, I can give is to hide via CSS, every field has its id and you will find a class field_XX ( where xx is the id of the field) on the buddypress generated blocks.
An alternate is to use our WPLMS Custom registration form. Create a custom registration form and we have an option to hide the name field, we do this by submitting a hidden form field which adds name same as email. The user can change the name from his profile later on.