Hey everyone,

I'm wondering if there is any interest from the module maintainers in integrating with the Notifications module (http://drupal.org/project/notifications) so that users can get notifications when a new entry is added to their activity feed (view).

Apparently, this can do done by creating a Notifications plug-in (http://drupal.org/node/293299) or by using the simple Notifications Lite sub-module (http://drupal.org/node/253109). I believe that Organic Groups uses Notifications using the latter (Lite) method.

Anyway, just wanted to see if other's had interest in this.... In our use case, the main purpose of the activity feed/view is to get a user back to the site. (We use the recent integration with Flag module to let users track activity on nodes they have flagged.) So this functionality is pretty essential to us.

Thoughts?

Cheers,
Ben

Comments

Scott Reynolds’s picture

I am actually one of the more active contributors to notifications and I know it very well. OG for instance, doesn't use notifications lite, it use the full api.

so that users can get notifications when a new entry is added to their activity feed (view).

I think we to think about the details of this more. When something happens on a site, a notification event is fired. Using that Event, how do we determine if a user gets notified? What are the rules. It can't just be an arbitrary View as a view is a 'query' generally with a pager. And a View is highly configurable. We really only have one thing to work with, and that is the Event. What properties of the Event dictate getting notified? But if you think that is the way to go, you really need to dictate exactly how it would work. And I think, doing that exercise will lend wisdom to my words.

Maybe its the wrong approach there. Maybe we create a Notifications Event any time an Activity is recorded. And from there, the Activity has its access realms that can be used to identify who gets notified.

I don't forsee myself writing a patch, but willing to review and debate and assist.

d0t101101’s picture

Providing users with a weekly email digest of user activity, inside of their user_relationships connections, would certainly keep users interest up and increase traffic... Subscribing, and hoping to see this implemented in the official activity module or via a sub-module.

.

Scott Reynolds’s picture

Providing users with a weekly email digest of user activity, inside of their user_relationships connections, would certainly keep users interest up and increase traffic... Subscribing, and hoping to see this implemented in the official activity module or via a sub-module.

sounds like a feature request for user_relationships.

BenK’s picture

Hi Scott,

Thanks for your helpful comments. I like your suggestion of firing off an event every time an Activity is recorded. In fact, I'd love to see us fire off three types of events: a core trigger/actions event, a Notifications event, and a Rules event.

By doing this, there would be a lot of flexibility in the type of follow-up action that could be used. For instance, some Activity users may wish to simply fire off a system e-mail without involving the Notifications module. Others might use the Notifications module itself. Others could use Rules module to send a text message (via SMS Framework module) or private message (via Private Message module). Would it be difficult to abstract the event firing so that all three types (core actions/triggers, Notifications, and Rules) could be supported?

The benefit of this approach would be that Activity would gain lots of functionality by leveraging all of the integration work others have done in their contributed modules to support actions/triggers, Notifications, and Rules.

Thoughts?

Thanks,
Ben

_shy’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

D6 reached its EOL back in February 2016, and there is no active release for D6 for this module anymore.
Development or support is not planned for D6. All D6-related issues are marked as outdated in a bunch.

If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.

Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.