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.
Worse, even the whole variable site is missing! What I wanted to do is flag (follow) the group node for newly approved members. Impossible now. The same thing will work with event "User has become a group member" where you will find variable site all right.
Comment | File | Size | Author |
---|---|---|---|
#1 | rules_follow_default_approved_group_member.txt | 641 bytes | ñull |
#1 | rules_follow_default_new_group_member.txt | 452 bytes | ñull |
Comments
Comment #1
ñull CreditAttribution: ñull commentedAttached the rule rules_follow_default_approved_group_member.txt that fails to provide the necessary variable "site", demonstrated by the debug actions. The other rule rules_follow_default_new_group_member.txt provides an example that works like it should, where the needed variable is available.
Comment #2
eileenmcnaughton CreditAttribution: eileenmcnaughton commentedWe have observed this too. I had hoped we might be able to crawl 'og_membership' instead - especially if we did a check on group_type first - but 'og-membership:group:type' is not valid
Comment #3
eileenmcnaughton CreditAttribution: eileenmcnaughton commentedPer
https://drupal.org/node/1236556#comment-8434091
I have gotten around this by adding a module that adds an action to load the group
https://github.com/eileenmcnaughton/og_group_load