Skip to Content Skip to Menu

display field only when viewing my profile

3 years 10 months ago #322386 by jeroen aalders
display field only when viewing my profile was created by jeroen aalders
I wish to display a field on a user profile view tab - ONLY when I am looking at my my profile view and NOT when I am visiting/looking at another user's profile view. I have tried setting conditions for this field to 'show' as follows:

Field: Users
User: Viewing User
Operator: Is
Users: myid

Field: Users
User: Viewing User
Operator: Is
Users: #me

And a large variaty of trial and error versions with [ ], cb if statements, " ", etc. but cannot get it to work. Please help!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48548
  • Thanks: 8290
  • Karma: 1445
3 years 10 months ago #322405 by krileon
Replied by krileon on topic display field only when viewing my profile
CB Privacy would be easiest way to do that. Use the below settings under Integrations > CB Privacy for your field.

Display: Forced privacy control
Default: Private

This will force the Private rule. Only CB Moderators and the profile owner should be able to see the field.


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.

Moderators: beatnantkrileon
Powered by Kunena Forum