A pending group member is false at in
function commons_groups_field_formatter_view
at:
if (og_is_member($entity_type, $id, 'user', $account)) {

So the pending user does not see the message: 'Your membership request is pending review by a group organizer.'

Comments

ezra-g’s picture

Status: Active » Postponed (maintainer needs more info)

That doesn't match what's in the codebase:

    // The user has a pending membership request. Let her know that
    // her request is pending review.
    if (og_is_member($entity_type, $id, 'user', $account, array(OG_STATE_PENDING))) {
      $element[0] =  array('#markup' => '<div class="subscription-type">' . t('Your membership request is pending review by a group organizer.') . '</div>');
      return $element;
    }

Can you confirm you've pulled the latest Commons Groups from the 7.x-3.x branch, or perhaps I'm missing something here?

Thanks!

lsolesen’s picture

Issue summary: View changes
Priority: Major » Normal
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing for inactivity.