Closed (won't fix)
Project:
Flag Friend
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2010 at 08:52 UTC
Updated:
7 Apr 2012 at 15:13 UTC
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
Comment #1
sirkitree commentedLooks like nobody else has been interested in providing a patch for this. Closing due to inactivity.