Download & Extend

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

Project:Organic groups
Version:6.x-2.x-dev
Component:og.module
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Issue tags:rules

Issue Summary

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?

AttachmentSizeStatusTest resultOperations
og.rules_.inc_.diff1.58 KBIgnored: Check issue status.NoneNone

Comments

#1

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

AttachmentSizeStatusTest resultOperations
og.rules_.inc_.diff1.6 KBIgnored: Check issue status.NoneNone

#2

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

AttachmentSizeStatusTest resultOperations
og.rules_.inc_.patch2.74 KBIgnored: Check issue status.NoneNone

#3

Status:needs review» needs work

This seems useful, sneaky to add two unrelated conditions. It's fallen behind 2.x in the last couple years, needs a reroll at the least.

nobody click here