[#7204] Possible to have field only visible for moderators

5 years 10 months ago - 5 years 10 months ago #305559 by vanGogh1967
Hello!

Is it possible to have a field, which is only visible (in user-profile) to moderators and higher?

I played a little bit with different privacy settings, but the profile-owner always can see the field.

Regards,
Stephen

Please Log in to join the conversation.

5 years 10 months ago - 5 years 10 months ago #305570 by vanGogh1967
Replied by vanGogh1967 on topic Possible to have field only visible for moderators
So far I got a small solution with cb_conditional to show a field only for specific user:

Display: show
Value: [cb:userdata field="user_id" user="#me" /]
equals to
Value: xx

But isn't there a possibility to have a condition like [cb:usergroup user="#me" /] equals to [WHATEVER] ?

Regards,
Stephen

Please Log in to join the conversation.

5 years 10 months ago #305595 by krileon
CB Privacy always allows the profile owner and CB Moderators to see the field when using privacy controls. However you can set "Display" under Integrations > CB Privacy to "Moderators only display" and the field should only be visible to CB Moderators.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

5 years 10 months ago #305615 by vanGogh1967
Replied by vanGogh1967 on topic Possible to have field only visible for moderators
Hi!

"However you can set "Display" under Integrations > CB Privacy to "Moderators only display" and the field should only be visible to CB Moderators."

No, with this setting the owner of the profile can see it also!

Regards,
Stephen

Please Log in to join the conversation.

5 years 10 months ago #305639 by krileon
Looks like that parameter is not working as expected due to a condition check above it in code. Fixing for next build.

forge.joomlapolis.com/issues/7204


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: nant

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.216 seconds

Facebook Twitter LinkedIn