Hi,

Is it perhaps possible please to have (theme username) = (realname.module + content_profile.module) .. instead of !firstname as most of my members personally know each other and do not know each others by username.

 case FLAG_FRIEND_PENDING:
      // sender added you as a friend
      $email['subject'] = t('Network friend request on our website', array('!username' => $sender->name, '!site' => variable_get('site_name', '')));
      $email['body'] = t('!firstname requests to add your to the Network on our website.

      To confirm this friend request, follow the link below:
      !link

      !message

      Wishing you a great day,
      The Team', array(
        '!firstname' => isset($sender->firstname) ? $sender->firstname : $sender->name,
        '!site' => variable_get('site_name', ''),
        '!message' => $flag->friend_message ? t('Message:'). $flag->friend_message : '',
        '!link' => url('user/'. $recipient->uid .'/friends', array('absolute' => TRUE)),
        ));
      break;
  }
  return $email;
}

Would most appreciate any suggestions on this as currently friend requests are being ignored as they do not know who it is from.

Look forward to any reply, and thank you for this wonderful module.
Lilian

Comments

sirkitree’s picture

Status: Active » Closed (won't fix)

Looks like nobody else has been interested in providing a patch for this. Closing due to inactivity.