This patch allows email to be sent to users when they are added to, or removed from, someone's buddylist. This email is configurable on the buddylist configurations page and can contain a series of replacement tags such as %adder_name, %addee_name, %site, etc...

Good stuff!

-jeff

CommentFileSizeAuthor
buddylist-mail.patch6.7 KBjjeff
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ajwwong’s picture

This seems to work quite well...

Excellent!! Thanks so much...

The one thing that I couldn't get to work was filling in the "alternate text" in the form. I'm not sure if I applied the patch right, but for some reason, even though all the variables were appropriately set, e.g., buddylist_add_message and buddylist_remove_message [in the final buddy_mail_user function], I still couldn't get those messages to substitute in instead of the hard-coded defaults.

Thanks, though for a big step forward for buddylist!

robertDouglass’s picture

Thanks for testing. Please confirm that you tested against the latest 4.7.0 branch and not CVS. Any chance that you could look into the issue with the replacement variables and reroll?

ajwwong’s picture

Hey Robert,

Just fyi.... I'm testing on a heavily modded-out version of my own "friends by mutual consent / invite-only" style buddylist module... and therefore I did this test as hand applied (and modified for my own needs patch) .... so my test above is definitely not a "controlled testing environment" :-)

But maybe someone who's working with a fresh copy of buddylist can run with it... 'cause this is definitely a *great* feature addition for buddylist.

I'm kinda swimming in my own stuff just trying to keep up with the some of the new traffic on my site and make sure it's up and running. But I'll definitely try to look into this more when I can.

Take care,
Albert

thierry_gd’s picture

Works fine for me

Can't wait to see this feature added to HEAD

robertDouglass’s picture

thanks for the review. Taking a look at it today.

robertDouglass’s picture

committed to 4.7

robertDouglass’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)