Rules condition to filter groups based on their membership type (og_selective)

miglius - May 22, 2009 - 14:23
Project:Organic groups
Version:6.x-2.x-dev
Component:og.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Issue tags:rules
Description

Attached is a patch which adds a rules' condition which allows to filter down the groups based on their membership type ($node->og_selective value).

It implements a rules condition form with a dropdown of available membership types.

Could this feature be included into the module?

AttachmentSize
og.rules_.inc_.diff1.58 KB

#1

miglius - June 25, 2009 - 13:40

Reattaching the patch to the latest DRUPAL-6--2.

AttachmentSize
og.rules_.inc_.diff 1.6 KB

#2

miglius - August 18, 2009 - 16:21

Attached patch is the same as previous with the additional condition which checks if a user is a group admin.

AttachmentSize
og.rules_.inc_.patch 2.74 KB
 
 

Drupal is a registered trademark of Dries Buytaert.