Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Limit fields to display by 'User Groups' Access

8 years 2 months ago #284415 by webtechplus
Good morning,
We are currently developing a site where we want to create a number of fields that will only be able to be seen by a set user group.
i.e.
  • User Group - Users
  • User Group - Developer
  • User Group - Sponsor

Users will not get to see any of the additional fields in their profile options
Developers will get, Logo, Game Image 1 - 4, 1 Youtube link
Sponsors will get, Logo, Game Image 1 - 4, + Web URL and 1 - 4 Youtube links


Thanks for support and feedback
We hope that we can assist you if you need and ask, all the best from the WTP Team

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

  • nant
  • nant
  • OFFLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
8 years 2 months ago #284419 by nant

webtechplus wrote: Good morning,
We are currently developing a site where we want to create a number of fields that will only be able to be seen by a set user group.
i.e.

  • User Group - Users
  • User Group - Developer
  • User Group - Sponsor

Users will not get to see any of the additional fields in their profile options
Developers will get, Logo, Game Image 1 - 4, 1 Youtube link
Sponsors will get, Logo, Game Image 1 - 4, + Web URL and 1 - 4 Youtube links


[Mod note: Moved from community forum area to Professional support area - please post here if you want CB Team members to reply]

You can place the fields in a tab and set the tab permissions to do this for all the fields in the tab.

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

8 years 2 months ago #284426 by webtechplus
Replied by webtechplus on topic Limit fields to display by 'User Groups' Access
Thanks for getting back to me so quickly...
I have done what you suggested, what this has done is worked, but now whats happening is the items cannot be seen by the public any more, what i wanted to do was make it that the public / members can see the results, but not add these to their profiles, so the public can see but not create.


Thanks for support and feedback
We hope that we can assist you if you need and ask, all the best from the WTP Team

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48459
  • Thanks: 8280
  • Karma: 1443
8 years 2 months ago #284451 by krileon
Install CB Conditional then edit your tab under Integrations > CB Conditional then set Field to Custom > Usergroups. Select the usergroups you want to have edit access for the field then set Mode to Show. Next set Registration to Disabled, Profile Edit to Enabled, and Profile View to Disabled so the condition only applies to profile edit.

Alternatively install CB Privacy then edit your tab and under Integrations > CB Privacy set "Edit Display" to "Custom view access level" then set "Edit Access" to your respective view access levels. If you need it specific to a usergroup then make a view access level that includes only that usergroup.

In both cases profile view access is ignored and anyone can see the tab, but only the usergroups permitted can edit it.


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: webtechplus

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

Moderators: beatnantkrileon
Powered by Kunena Forum