1. distudios
  2. General
  3. Sunday, May 31 2015, 05:23 PM
Hi, is it possible to send a notification when friend request is accepted to the requestor? What is the best way to do this?

Pleas help me, thank you
Accepted Answer
admin Accepted Answer
Admin
Yes, sorry I notice after trying a couple of times, sometimes it works and sometimes it doesn't, I don't understand,....? Is it a bug?
This is not a bug, our system send email only when action is required (like accept or deny friends). You will find in email summary only new notification.

Hi Can you please help me with this friend_accept Notification thing, the Sender doesn't receive no notification of accepetens, when the Sender makes a friends request, it goes fine, the receiver gets an email.
Yes, follow these instructions ;)

- Download and extract attached file
- Copy file "friend_accepted.ctp" into /plugins/jsn/socialnetwork/app/View/Emails/html
- Edit file /plugins/jsn/socialnetwork/app/Controller/FriendsController.php
- Add this code at line 199
if ( $request['Sender']['notification_email'] )
$this->_sendEmail( $request['Sender']['email'],
h($cuser['name']) . ' ' . __('has accepted your friend request'),
'friend_accepted',
array( 'user' => $cuser

) );
Attachments (1)
  1. more than a month ago
  2. General
  3. # Permalink
admin Accepted Answer
Admin
Hi,
our system add a notification when some user accept friend request, emails are sent periodically with the summary of notifications.
  1. more than a month ago
  2. General
  3. # 1
distudios Accepted Answer
Pro
Yes, sorry I notice after trying a couple of times, sometimes it works and sometimes it doesn't, I don't understand,....? Is it a bug?
  1. more than a month ago
  2. General
  3. # 2
distudios Accepted Answer
Pro
Hi Can you please help me with this friend_accept Notification thing, the Sender doesn't receive no notification of accepetens, when the Sender makes a friends request, it goes fine, the receiver gets an email.

Please help me, im stock.
  1. more than a month ago
  2. General
  3. # 3
distudios Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. General
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.