=== modified file 'sites/all/modules/drupalorg/drupalorg/drupalorg.module' --- sites/all/modules/drupalorg/drupalorg/drupalorg.module 2011-09-12 17:37:03 +0000 +++ sites/all/modules/drupalorg/drupalorg/drupalorg.module 2011-10-25 01:46:59 +0000 @@ -1686,9 +1723,11 @@ // Get the membership display content if ($account->uid === $user->uid) { - $membership_personal = t('Drupal Association memberships pay for improvements to Drupal.org. Please consider purchasing a membership.'); + $membership_personal = t('Hey! Want to support the Drupal Community, Drupal.org\'s infrastructure, and get one of the cool Drupal Association badges on your profile page? Become a member today.'); } + foreach (drupalorg_civimembership_load($account) as $membership) { + if (1==1) { $placeholders = array( '@username' => $account->name, '@membership_type' => drupal_strtolower($membership->membership_type), @@ -1696,38 +1735,35 @@ ); // If membership is new or current, and not the organization owner's. - if (($membership->status === 'New' || $membership->status === 'Current') && (!isset($organization) || $organization->uid !== $account->uid || $membership->membership_type !== 'Organization')) { + if (($membership->status === 'New' || $membership->status === 'Current' || $membership->status === 'Grace') && (!isset($organization) || $organization->uid !== $account->uid || $membership->membership_type !== 'Organization')) { $content['column_2']['membership'][] = array( '#prefix' => '
', '#value' => t('@username is an @membership_type member of the Drupal Association, which fosters and supports the Drupal software project, the community and its growth.', $placeholders), '#suffix' => '
', '#value' => $membership_personal, '#suffix' => '
', - '#weight' => 1, + '#weight' => -1, ); }