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?
| Attachment | Size |
|---|---|
| og.rules_.inc_.diff | 1.58 KB |

#1
Reattaching the patch to the latest DRUPAL-6--2.
#2
Attached patch is the same as previous with the additional condition which checks if a user is a group admin.