Hi
I wondering about the best way to hide a tab on a profile for a particular user group.
I watched the excellent video on using CB conditional plugin with tabs, and I've experimented a bit with this. The problem I have however, is that I want the tab hidden for Registered users, and visible for the next user group up (lets call them Traders).
I think its probably best to keep Registered as the parent group if possible, as there may be lots of situations throughout the site which are conditional on the user being Registered at least. However, obviously once I use CB conditional to hide the tab for Registered users, this is inherited and hidden for the Trader user group. I'm sure there are ways round this but I'm not sure which is the best one?
Create a view access level that includes the usergroups you want to see the tab. Next edit the tab within CB > Tab Management and set its access to your new view access level. If you need more fine control like public profile access, but specific usergroup edit access you can use CB Privacy and its Edit Display parameter or more complex CB Conditional to condition its edit view.
Your usergroup structure is irrelevant to any of these usages, but new usergroups should be children of core Joomla usergroups to allow permission inheritance otherwise it's a headache configuring default permissions for new top level parent usergroups.
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, LineMine