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.
To increase the speed of approving pending memberships, it might be useful to show the OG manager the pending memberships in a block. To achieve this, follow these steps:
Set up new View at admin/structure/views and create a Block display of Format Fields and leave the default at Content: Title. We will remove this later.
Under relationships add:
OG membership: User from OG membership (no need to require relationship)
OG membership: Group content from OG membership (no need to require relationship)
Under Contextual Fiters add:
OG membership: Group ID
Relationship: Do not use a relationship
When the filter value is NOT available:
Select ‘Provide default value’
Type: Current OG group from context
Group type: Content
Under Block Setings change access to ‘OG permission’