Hi, when member/student sends a private message to someone using HTML template, the name in the email text "Hi [USERNAME]" is wrong. It looks like email is greeting the sender instead of the recipient. See attached where sender and recipient's names are identical.
Absolutely correct.
Bug fixed in next update of Vibe Course module.
Many thanks for finding this.
Quick fix :
a. Go to WP Admin - Plugins - editor - Vibe Course Module - bp_course_mailer.php
b. locate function "bp_course_bp_mail_filter"
c. change this line :
$email_content = bp_course_process_mail($sender_name,$subject,$email_content);
to this
$email_content = bp_course_process_mail(bp_core_get_user_displayname($ud->ID),$subject,$email_content);