Hi,

I am using OG and rules to notify users of new group content. Now I added commenting to a discussion board as part of the groups and would like to send notifications by email every time a new comment has been posted. However, this feature should be conditional on each group's configuration, i.e. I added a field (boolean) in the group content type to determine if comment notifications are enabled or not. If that field is set to yes and a comment is posted, send the email notification to all members, otherwise not.

My problem now is that rules does not seem to be able to get to the group configuration. I can select comment:node to get which node the comment belongs to and to select all members under actions with "Get group members from group audience", but the OG reference of the node to the group node is missing to grab the configuration of the group. I would need this as a condition, i.e. to check if the group setting for comment notifications is enabled.

Is there a way to already do this which I missed or is it not possible with Rules right now?

Thanks, J.

Comments

jelo created an issue. See original summary.

TR’s picture

Status: Active » Closed (outdated)

We can't possibly help you without seeing the export of your Rule, which describes exactly what you're doing and how you're doing it. Additionally, this question involves Organic Groups - I personally don't use OG so I have no idea about the specifics, and I suspect that most Rules users don't know either. Because OG provides its own Rules integration, I think you would be better off seeking help in the OG issue queue.