Skip to Content Skip to Menu

GroupJive Activity not shown in group member activities

  • GUEST
6 years 11 months ago #298937 by
Hello,

I found, that group members dont get the activities from a group (they are member of) in their activity stream unless the are connected to the creator of the activity. Is there a way to get the activity only by being member of the group?

Best regards
Stev

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
6 years 11 months ago #298940 by krileon
Not unless you include that asset in the activity tab asset param. The best approach would be to utilize the new Follow API and add a Follow button to GJ so they can follow the group and optionally have its activity display on their profile. Added a feature ticket to add a new system action to CB Auto Actions for outputting a follow button in groups.

forge.joomlapolis.com/issues/6858

The below for example should work to add a follow button to groups.

Global
Triggers: gj_onBeforeDisplayGroup
Type: CB Activity
User: User
Access: Everybody
Action
Mode: Stream
Stream: Follow
Asset: groupjive.group.[var2_id]
Output
Display: Silent
Layout:
Code:
$variables['var6'][] = $content;
Method: PHP
Parameters
Reference Variables: Variable 6

That'll allow anyone to follow the group. You can customize it further with various conditions as well.


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