Closed (outdated)
Project:
Message Subscribe
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
13 Jan 2015 at 09:45 UTC
Updated:
6 Jan 2024 at 19:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sadashiv commentedHi,
I went ahead and created a separate module which handles notifications for group content create and comment post on group content for og. I am attaching a patch for the module which should be helpful.
Note that it still needs the flag module change patch from https://www.drupal.org/node/1473716#comment-9505947
Hth,
Sadashiv.
Comment #2
rsbecker commentedOnce I got this working I was somewhat surprised/appalled that it does not respect node/message status. It sends an email regardless of whether the node or comment is published. Two fixes are needed.
Change line 20 from:
to
and change line 42 from:
to
Comment #3
sadashiv commentedThanks for testing this and reporting this issue. Made that change in the patch. Please test and update if it works.
Hth,
Sadashiv.
Comment #4
rsbecker commentedI'm afraid I goofed a little, and didn't expect such a fast response. There's a syntax error in both fixes. They should be:
But this brings up a further question, which may just be a small feature addition. If you start with an unpublished node, the module should kick in once the node is published to send messages. Otherwise, I need to create a rule to send the message after a moderator/editor publishes the node.
Thanks
Comment #5
liquidcms commentedAny hint as to what this does?
I am looking for a way to have og members notified of og content updates. Does anyone know if there is a solution which does not require writing a new module? I do not think this module does this does it? Or possibly still requires the crazy flag setup defined here: https://www.drupal.org/node/2205741 ?
Comment #6
rsbecker commentedYou need to set up the message message_notify and message_subscribe modules to do this. It is a little complicated because you also need the flag module. Amiti Burstein has a good video to get you started.
https://pantheon.io/blog/drupalcon-portland-video-amitai-burstein-organi...
Comment #7
liquidcms commentedcool.. thanks for the link.. funny video. sadly only about 5 min out of the 40 related to this; with a lot of "and i'll leave that up to you" or "you need to write the drush code to do that"... but i think this may answer my question - which i think is that there is no complete solution to handle notifications of OG content (was sure that existed in D6 version; but been a while now).
before posting i had tried to set up message, message_notify and message_subscribe modules but they also do not seem to do anything plus any guides i have found end up causing numerous errors.. but perhaps just config missing which i can sort out through trial and error (some of which is covered in the video you linked above).
i'll let my client know that there is likely code required to tie this all together and then get started sifting through what each of these pieces does. thanks again.
Comment #8
joelpittetComment #9
bluegeek9 commented