Skip to Content Skip to Menu

Add Activity to the stream from other components

7 hours 44 minutes ago #344108 by GregOConnor
Two request to map out.....My site build uses Joomla 5.4.6,  CB 2.11.0 ,Template is Joomla Cassiopeia, and I also have the component "Membership Pro" and"Events Booking"  by JoomDonation. 
  1. When a website registered member signs up to the site as a paid subscriber their joomla ACL changes from "Registered" to "Subscriber" . I wish that Joomla event to post to the activities stream. 
  2. When a now subscribed user registered for an event using my "Events Booking" component I also which for that activity to prove in the members profile activity and the community activity stream
Auto actions are fantastic to customize CB event triggers but, how do I add outside triggers to the CB community activity stream. I am good to hire a custom plugin if needed.


Thanks in advance
Greg OConnor California USA

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50506
  • Thanks: 8641
  • Karma: 1473
7 hours 34 minutes ago #344109 by krileon
All custom activity can be added entirely via CB Auto Actions. You'll need those two extensions to have Joomla events you can act on to do this. Joomla events in CB Auto Actions can be acted on by simply prefixing the event with joomla_. You'll need to check those extensions documentation or contacting the developers for what event would be most appropriate for your usecase.

In addition to that activity created via CB Auto Actions is more or less limited entirely to the parameters available. The only way to extend it further with custom parsing functionality is to add new template files to CB Activity. This is done within the following folder.

/components\com_comprofiler/plugin/user/plug_cbactivity/templates/default/activity/custom

Inside the custom folder you'll find an "example.php" to provide you with an example template file. It's filled with documentation describing how to make custom templates for activity.


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