Skip to Content Skip to Menu

[SOLVED] Fields in two types of tabs

  • kysin
  • kysin
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 0
4 years 1 month ago - 4 years 1 month ago #320187 by kysin
Hello! I have a question.
Two tabs have been created in the profile: "Registered" and "Admin". The "Registered" tab is available for a registered user. The "Admin" tab is only for the administrator.
In the "Admin" tab, there is a "cb_bill" field with the value 123. In the "Registered" tab, there is a "Custom code HTML" field containing "Bill number is [cb:userfield field= "cb_bill" /]". Both fields are visible to the administrator. But for a registered user, only "Bill number is" is visible.
How to make a registered user see "Bill number is 123"?
Last edit: 4 years 1 month ago by krileon. Reason: Added [SOLVED] tag to subject

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48437
  • Thanks: 8275
  • Karma: 1443
4 years 1 month ago #320189 by krileon
Replied by krileon on topic Fields in two types of tabs
Use a raw [cb_bill] substitution to bypass the access checks otherwise they can't as technically they don't have access to that 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.
The following user(s) said Thank You: kysin

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

  • kysin
  • kysin
  • OFFLINE
  • Posts: 45
  • Thanks: 4
  • Karma: 0
4 years 1 month ago #320191 by kysin
Replied by kysin on topic Fields in two types of tabs
Thank you! It works.

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

Moderators: beatnantkrileon
Powered by Kunena Forum