Field visibility option not worked
It’s working fine on my system so there must be something stopping it from working. Did the setting actually save when you edited it?
This will probably come down to a process of elimination – try a default theme, rule out all other plugins and other code modifications.
Yeah it got saved. The option “THIS FIELD MAY BE SEEN BY: ONLY ME” is set. But still it is visible. Actually there are issues too with the profile. I think they are all related. There must be a reason why this is not working.
I’d try deactivating all plugins apart from BuddyPress and switching to a default theme, just for a few minutes and see if that fixes it.
Hi, I tried deactivating all the plugins, but still it did not work. The field visibility option is not working even if it is set to only me and enforced the field visibility.
Hi, is it something related to user roles. I am performing all these functionalities using admin but I have many custom created user roles whose profiles are getting created.
Is this the issue?
Hi Venutius, both of us were right. It was something related to user roles. Now it worked. CHEERS!
Can you share the solution? I’m having the same problem!
Please check the role of the user who is viewing the profile. Try assigning Subscriber role to the user. It worked!!
The field is set to ‘only me’ and ‘enforce field visibility.’ I login as subscriber. The subscriber can’t see ‘only me’ fields from admin users, but they can see ‘only me’ field from other subscribers.
This seems to be a bug and I can’t figure it out. Assigning subscriber to an account that is already a subscriber seems to have no effect.
This is just crazy. I made an exact copy of my production site on my local machine and ‘only me’ visibility works as it should, fields are hidden to other subscribers. In production it does not, fields are visible to other subscribers. Only difference between the two site instances is the URL.
What could cause this?
On a separate issue, ‘Only me’ doesn’t seem to be respected when ‘Allow members to override’ is set (even when the viewed user hasn’t overriden the ‘only me’ setting).
Is this just me?
Is your role, default subscriber role?
Yes. I have not added any additional roles or messed with capabilities. My repeated testing has been as a logged in subscriber.
I think it figured something out. The difference between my local machine and the server is the php version. The server was on PHP 7.2 and local machine was on PHP 7.0.3. Upgrading my local machine to PHP 7.1.4 or PHP 7.2 breaks the ‘only me’ visibility.
This seems still an issue on BuddyPress Version 4.4.0: I have seen that a ticket has been created by Brian, details here for tracking and visibility:
This has not been resolved as of the current version I have which is 5.0. Looking at the changelog for all versions of Buddypress since version 5, I still see no reference to the 8093 ticket, indicating that it has not been addressed.
Any update on this issue would be great.
- You must be logged in to reply to this topic.