Hi,
I want to create different "categories" of activitiy streams that will only be visible to specific user groups. I guess the correct way is to create assets as "categories" for the different streams and filter them?
I read the examples in the asset field carefully . But for me it is not really clear how to create the specific asset? Can I choose a free term for that, or is the asset a combination of several substitutions? E.g. in your example there is mentioned an asset called "global.cars". What is this the example for? Or is global.cars an example for a free choosen term?
Best regards Uwe
Asset can be whatever you want. It's just a term to determine where a post belongs. With CB Activity 6.0.0 this will be easier since activity streams are just normal stored in the database objects that you can even specify the view access level for. For now though yes you need to make a Joomla menu item or a field with your custom assets. I recommend maintaining the following structure for an asset.
An asset for a CB GroupJive group would be like the following.
groupjive.group.10
Which breaks down as follows.
TARGET_ORIGIN = groupjive
TARGET_TYPE = group
TARGET_ID = 10
In this case since there's no explicit object specified then the object is just whatever the target is.
This structure is CB Activity 6.0.0 compatible. So when creating custom usages it's ideal to follow this, but it's not required. So for example all of the following are fine.
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.