Activity And GroupJive

1 year 10 months ago #304638 by krileon
No, not without making a CB Auto Action specifically setup to send an email. The idea is really to shift away from sending emails to sending on-site notifications then eventually CB Activity will be able to send daily/weekly/monthly digest for new notifications (digests not implemented yet).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
1 year 10 months ago #304801 by AlanJones
I love the idea, looking forward to it.

In the meantime I really need to setup email notifications when someone posts on an activty wall. I am having some trouble setting that up. Can you point me to the function i would need to use?
1 year 10 months ago #304820 by krileon
Best way to do that is to just make a copy of the "CB Activity - Post Notification" system action and change its type to Email.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
1 year 10 months ago #304834 by AlanJones
Do I need to add some substitutions as well? It doesn't seem like it is working for me. Is there a "to" address that I need to put in?
1 year 10 months ago #304835 by AlanJones
Okay, so i have a email kicking out now. I need to figure out to add whatever the user posted in to the email. I also need to have a link to the group that they posted in that can be clicked in the email.
1 year 10 months ago #304866 by krileon
The trigger used by that system action is activity_onAfterCreateStreamActivity. So the variables available are as follows.

$_PLUGINS->trigger( 'activity_onAfterCreateStreamActivity', array( $stream, $source, $row ) );

var1 being the activity stream object, var2 being the source object for the activity post (e.g. gj group object), and var3 is the activity post it self. You can substitute in various details using those. For example [var3_message] is the activity post. [var2_id] would be the GJ group id if the source is a GJ group.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Templates - CBSubs - Hosting - Forge - Incubator - GroupJive
--
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 EST to 4:00 PM EST. 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.
Moderators: beatnantkrileon
Time to create page: 0.526 seconds

Facebook Twitter LinkedIn