By Henri on Sunday, 12 November 2017
Posted in General
Likes 0
Views 344
Votes 0
Hello

It appears that our members can see the phone number of other members.
I want that the admin only can view it.

How can do it?

Thanks
Henri
You can set the default privacy in the backend:
ES backend -> users -> profile types -> profile type -> privacy -> set field to "only me"

Or you can switch off displaying the info on the profile:
ES backend -> custom fields -> workflows -> profile type -> edit the phone number field -> view -> last option "shown on info view" switch if off.
·
Monday, 13 November 2017 07:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Henri,

Unfortunately currently that was not possible to configure to show some certain field for admin only, because those custom field is based on the current user privacy, if the user privacy set those `Textbox` custom field to "Only Me" privacy, this field will only appear to himself only.

I've checked on your current profile type custom field, it seems like there got a few custom field was used to Textbox field, example :
- Mobile phone
- College and university
- Graduation year

If you set that textbox custom field privacy from ES backend -> users -> profile types -> select your profile type -> privacy -> set "Who can view my textbox field" to "Only Me", mean all the existing textbox custom field will automatically set to "Only Me" privacy.

If you only want to set "Mobile phone" custom field to "Only Me" privacy, i would suggest you change these "College and university" and "Graduation year" field type to other, so that privacy changes only will affected for this "Mobile phone" custom field only.

Hope this will help.

By the way, thanks for sharing Sabih
·
Monday, 13 November 2017 11:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Unfortunately currently that was not possible to configure to show some certain field for admin only, because those custom field is based on the current user privacy, if the user privacy set those `Textbox` custom field to "Only Me" privacy, this field will only appear to himself only.


Hi Arlex,

actually in ES 2.0x making default privacy for a field to "only me" made it visible for admins. At least this is working for me. I have used this to see the user's email address in the frontend without accessing the backend when logged in as admin. Or is there even a difference between admin and super user? Maybe it was a bug never detected.
·
Monday, 13 November 2017 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
It might be I missed up that option, perhaps you can share a screenshot to me so I can better have a look that option what you described?
·
Monday, 13 November 2017 19:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Please be aware that I did it within ES 2.0x not 2.1x! I have not tested it within ES 2.1 yet...

Example of a user profile on my site:

Logged in as user:


Logged in as admin:


Set custom fields to show on profile view:


Set privacy for email field to "only me":
·
Monday, 13 November 2017 21:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, I also tested in Easysocial 2.1, it seems like this behaviour still the same, Superadmin always got right to see all the custom field on their user profile page even those custom field privacy set to "Only Me".
·
Tuesday, 14 November 2017 12:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Excellent. That covers my initial request.

THANKS both of you!

Henri
·
Wednesday, 15 November 2017 11:17
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Wednesday, 15 November 2017 11:32
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post