Are there any plans to integrate activity to comment_notify or Watcher?

I think it's very important to have conversations going on between friends of friends, like in Facebook. This is only possible if a friend, after having commented on an activity, gets notified of others commenting/replying as well in the same activity item.

This is currently being achieved by modules comment_notify and watcher, so I was wondering how to get that same feature integrated into activity.

Thanks very much in advance,
--m

Comments

Scott Reynolds’s picture

I think it would be easy to roll into Messaging/notifications framework: drupal.org/project/notifications

mariano.barcia’s picture

Right Scott.

However, I'm seeing plans for merging comment_notify into D7 core, so that's why my suggestion of that specific module.

Notifications framework is definitely also a possibility. I can point you to this thread of Dries blog where the topic is discussed in greater detail. Also, there is a comparison matrix available.

If you could give a ballpark figure (in ideal hours of a senior module developer) for building this feature, and a summary of the 4-5 tasks/steps to accomplish regarding the module code, that will give me a good information and I may want to step in and develop this for version 6-2.x. Is there a roadmap somewhere for all the features in 6-2.x? Thanks a lot.

Scott Reynolds’s picture

Status: Active » Closed (works as designed)

im not a project manager. But confused on what you want anyways.

You want emails to go out?

or do you want the following:
Each user has a personal stream
User A makes a comment on Node 1
User B makes a comment on Node 1
In User's A activity stream, User B's comment is there

This is already doable by using the Comment access as a View filter.

comment_notify will not be part of this module. Cause there are no comments. It makes no sense.

Perhaps email stuff can be written but because "what ends up in your stream" is SOO dependent on how you set up your Views that I just don't see it anytime in the near future and will probably have to use Views Bulk Operations.

I'm seeing plans for merging comment_notify into D7 core

wouldn't bet on it.

My suggestion of Messaging/Notifications was on point though. As Activity2 does not use the comment.module at all which watcher et al depend on and Messaging/Notifications does not.

So having thought about it sending out emails probably isn't doable without some heavy lifting by me or sirkitree. Im very very skeptical of anyone who can pull it off. But will look at patches.

mariano.barcia’s picture

Scott,

What I want, is email alerts for everyone commenting on anyone's activities. Just like Facebook does.

L opens the main page of the site, and reads that his/her friend J posted a picture "my birthday cake".
Then, L comments "yummy", and J receives an email alert. The comment of L is also visible in the thread of J.
T, another friend of J, also reads the news, and comments "I want a cake like that for my birthday" (and both J and L receive an email alert with the text of the comment of T inline).

At this point I cannot provide helpful feedback, I'd need to know more about the module's architecture. I will be in touch, thanks.

sirkitree’s picture

Status: Closed (works as designed) » Postponed (maintainer needs more info)

I've not looked at how comment notify works, but we _do_ have comments slated for going into Activity2. @see #391742: Comments for Activity 2.x

So once that is implemented, I'd be open to implementing a hook (if comment_notify has one) which would use that API in order to send out emails when a user comments upon another user's Activity feed.

Can you give us a clue if comment_notify has such a thing?

mariano.barcia’s picture

@sirkitree
The comment_notify module doesn't provide any hook of its own. It just alters the comment submission form, then hooks upon comment insertion and sends out an email using a private function.

Notifications module provides such an API.

Hope this helps, salud!

pribeh’s picture

Hi, I know this is off topic but it is related (at least for me) and I don't want to start a new thread if this has already been brought up. I've search the issue queue but have yet to find this question brought up:

Is there any plans for supporting an Activity item to be made for each Activity comment?

I know this may sound absurd but the use case is very similar here: using activity publisher templates for generating the token based statements for notifications. IceCreamYou is considering switching over appbar alerts (notifications) to using Activity exclusively. This would mean that if I wanted a user to be notified (alerted) that so-and-so commented on their status/node (via an Activity comment) that an Activity item would have to be created for each Activity comment (or at least in so far as I understand it). I realize this may sound paradoxical since some may wish to leave Activity comments as lightweight as possible but this would provide a lot of power for admins who wish to generate said notifications via easy-to-use template publisher system that Activity provides.

Anyway, I'm sorry if I'm derailing the subject.

sirkitree’s picture

It is a little off topic, but to answer, I don't think we have discussed this. However I think that the API is robust enough that this could be written as an option. Seeing as how there are also other options for comments I've seen (like when you comment on activity that is about a node, you actually comment on the node itself) it would make more sense for this to be something a bit more pluggable.

I'm actually hoping Scott's new D7 version of this module (which he's developing on Github) will address some of this and have more of a 'pluggable' architecture to it. I still have yet to digest it, but plan on it very soon.

http://github.com/SupermanScott/Activity

pribeh’s picture

Yes, a 'pluggable' architecture would be fantastic. I would be willing to support any migration of said features over to the D6 version in any way I can.

Scott Reynolds’s picture

It is a little off topic, but to answer, I don't think we have discussed this. However I think that the API is robust enough that this could be written as an option.

Yep this is totally doable and pretty simple in the end. I think its value is low, "Comment on a Activity of a Comment on a node" but probably worth it as an option.

oxford-dev’s picture

a BIG +1 for this!

pribeh’s picture

A lot of what's described here could be achieved if we were to simply get some help with Rules Integration, as described in issue #683130. I'm willing to pool together a bounty to get notifications for activity going whether it's through rules or otherwise.

_shy’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » 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.