Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When a user is invited and accepts an invitation to a moderated group, there is no email sent to the admin of the group to let them know of it. This is a pretty big "break" in the flow and functionality. How else is the admin supposed to know to approve the membership?
It appears as though the call to og_save_subscription() (line 234 of og_invite_link.pages.inc) should instead be calling og_subscribe_user(). This would send the email and do everything else.
Does that sound right?
Comments
Comment #1
rlnorthcuttOk - I think I got it. I removed line 234 and replaced it with
This works! It adds the user request to the group and also sends the group admin an email telling them they have a pending request (As expected).
ron