Skip to Content Skip to Menu

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

6 years 4 months ago - 6 years 4 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
Last edit: 6 years 4 months ago by krileon. Reason: Added [#7204] tag to subject

Please Log in or Create an account to join the conversation.

6 years 4 months ago - 6 years 4 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
Last edit: 6 years 4 months ago by vanGogh1967.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 4 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 or Create an account to join the conversation.

6 years 4 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 or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
6 years 4 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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum