Skip to Content Skip to Menu

External notification

  • AlanJones
  • AlanJones
  • ONLINE
  • Posts: 554
  • Thanks: 46
  • Karma: 3
3 days 3 hours ago #344166 by AlanJones
External notification was created by AlanJones
I was wondering if there's any news on the external notification system update? The one I use (email with AutoActions) is not very reliable and does not include the contents of the group Activity. Would love to see a push notification / email notification upgrade.

Own Your Own Community!

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 50540
  • Thanks: 8652
  • Karma: 1473
2 days 13 hours ago #344169 by krileon
Replied by krileon on topic External notification
It's currently scheduled for CB Activity 8.0.0 as it requires some heavy rewriting of the notification behavior to add digest support. CB Auto Actions shouldn't have too much of an issue interacting with it and sending an email (or SMS, etc..). What about it isn't reliable for you?


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50540
  • Thanks: 8652
  • Karma: 1473
2 days 13 hours ago #344170 by krileon
Replied by krileon on topic External notification
I'm quickly taking a look now to see if I can just implement email support at the very least built in. It won't support daily/monthly/weekly digests, but it can at least deal with email usecase sending bulk BCC emails.


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.

  • krileon
  • krileon
  • ONLINE
  • Posts: 50540
  • Thanks: 8652
  • Karma: 1473
2 days 9 hours ago #344171 by krileon
Replied by krileon on topic External notification
Ok, this is now implement in latest CB Activity 7.0.0 build release.

You'll now find within CB Activity > Parameters > Notifications > Email you can turn on notify by email. This will send the same contents as the on-site notification as an email to all recipients. By default this is non-personalized so it'll send as a fast BCC email. It can be configured to personalized so every recipient is passed through substitutions, but that will be slow. This can be force enabled for everyone or it can be dependent on a field value to allow per-user toggling of email notifications.

In addition to this I've added the following triggers.

Specific Recipients
Code:
$_PLUGINS->trigger( 'activity_onAddNotificationRecipients', [ $this, $userIds, $fieldId ] );
Relational Recipients
Code:
$_PLUGINS->trigger( 'activity_onAddNotificationRelationRecipients', [ $this, $recipients, $type, $fieldId, $exclude, $userId ] );

These can be used to implement your own recipient processing behavior. For example directly after this is the email handling and it uses information provided by these triggers. So is ideal for things like adding SMS for example if you've an external service to provide that.

As for daily/weekly/monthly digests I've opened a new ticket to explore adding that in a future release as it'll require a new scheduler like feature to handle that.


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.

  • AlanJones
  • AlanJones
  • ONLINE
  • Posts: 554
  • Thanks: 46
  • Karma: 3
2 days 8 hours ago #344172 by AlanJones
Replied by AlanJones on topic External notification
Thank you! I will try it out.
I'm using the following User code in an email Auto Action with onafterNotificationEntityStore trigger:
if ( ! $variables->getPublished() ) {
    return [];
}

return $variables->getRecipients();

What I find is that it's hit and miss. Users sometimes don't get the email, other times it sends to all users, not just the ones in the group. Which is a problem for admin groups.
The biggest issue is that the content is not included in the email. So users have to usually login in to see the content. So it's a 3+click just to see a like or comment. I find that there's such benefit to exclusive groups like these with social media tools, but people have very little time to be constantly checking.

Own Your Own Community!

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

  • AlanJones
  • AlanJones
  • ONLINE
  • Posts: 554
  • Thanks: 46
  • Karma: 3
2 days 8 hours ago #344173 by AlanJones
Replied by AlanJones on topic External notification
OK, so that update doesn't send any mails as far as I can see. I enabled the Mail in Activity > Notifications. It also seems to disable the setup I have in Auto Actions described below. So it's not sending any mails at all now :)

Own Your Own Community!

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

Moderators: beatnantkrileon
Powered by Kunena Forum