I want to send an e-mail to all group administrators when a user joins a group.

Rules and OG come with this functionality out of the box, but unfortunately the default rule is set to only e-mail the group manager. I want to e-mail all of the group administrators for the group.

I've just spent a frustrating few hours trying to get this to work. I can manage to make a variable with the groups members, but then struggle to filter this down. I know I can call og_get_users_by_roles() to get all of the information I need but then struggle to insert that information into a Rules variable.

Some help?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.