For organic groups where the membership setting is set to 'request membership', i.e. where a group admin has to approve the membership request before the member can join the group, these unapproved members are being included in the member count. Ideally these members should not be included in the group member count.

CommentFileSizeAuthor
#2 711280.patch3.03 KBstella

Comments

dawehner’s picture

Is hook_og $op = 'user approve' also runned for public configured groups?

This could fix this.

stella’s picture

Status: Active » Needs review
StatusFileSize
new3.03 KB

I added an option to make this configurable, and new logic to hook_og implementation, along with the recalc function.

dawehner’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests

Manual testing worked fine.

I commited the patch, but there is still work for tests