Hello I recently upgraded from d5 to d6 and I came across this threat http://drupal.org/node/420250 the flag friend are not sending messages to accept the friend request. The question I have is were exactly in the flag.install page do I put the update?

CommentFileSizeAuthor
#11 flag_friend-mail.patch1002 bytessirkitree

Comments

sirkitree’s picture

I'm not sure that anything needs done in Flag Friend itself? The issue you referenced should take care of itself within Flag module. Can you explain what this has to do with the messages going out?

younggun’s picture

Oops so did I put this in the wrong threat? Well like I said I upgraded from d5 to d6 and when I go to a users page and click the accept friend tab nothing happens. No message is sent to accept or deny the friend request.

sirkitree’s picture

Do you have messaging/notifications installed? Flag friend uses those for the messages.

sirkitree’s picture

Title: upgrade question » Flag friend messaging

Changing title for accuracy.

sirkitree’s picture

Actually hook_mail is implemented, so this should be working correctly. It is on my system.

younggun’s picture

yes I have the privtemsg module install. Is there a separate module for notifications?

sirkitree’s picture

I didn't mean privatemsg - messaging (http://drupal.org/project/messaging) and notifications (http://drupal.org/project/notifications)

But see my last update, regular mail should work.

younggun’s picture

Ok I don't have regular mail on my site is there a module for that or is that something that comes with d6?

sirkitree’s picture

It's a basic php operation. Your server must be setup to send mail, but that is beyond what I can support here.

Is your system sending out emails at all?

younggun’s picture

yes it is. I set up some test accounts and I received a conformation emails..

sirkitree’s picture

Category: support » bug
Status: Active » Needs review
StatusFileSize
new1002 bytes

Ok, so this was definitely a bug in the module. We weren't checking for the user access correctly and hence the mail was not being sent out.

Please be aware that in order for mail functionality to work correctly you must have given your users the access permission of 'receive friend email notification'.

This patch fixes this.

sirkitree’s picture

Tagging for port to 6--2

sirkitree’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -flag_friend cross version patch

Automatically closed -- issue fixed for 2 weeks with no activity.