Is there a way to allow users to choose to hide certain fields in their profile?

For example if building a job site, a user might choose to hide their name from others. Is there a way to do this?

1 Answer 1

  1. Create a checkbox field just below the field you want to hide on user profile page.
  2. Now override the settings in template file.

Please follow the link allow users to choose whether certain profile fields are visible or hidden for detailed steps.

Also you can try out Profile2 Privacy module.

This module extends Profile 2 by allowing administrators to create privacy levels as predefined groups or sets of profile fields on a per role basis. Users can then select from among the privacy levels to apply access control to their profile.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.