importing members - membership approval email

Post

Posted
Rating:
#4531 (In Topic #911)
Hi,
I have noticed a difference when validating a member using the standard member directory vs using the member import tool.

With the standard member directory option, then the e-mail is presented correctly, however when the member is validated during the import of a .csv file, the e-mail shows :
 

Your xxx membership has been approved

Your member account, {2}, on xxx has been validated. You may now log in:

{3}

Where {2} should show the account name, and {3} should show the url.

Note i have a custom version of composr, and if this is present on the current version, and if there is a simple edit to a file ?

Thanks
Chris

Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by Joey)
#4536
Fixed in https://github.com/ocproducts/composr/commit/b57c5dd936421654825414a734998f86151ae5b6
Only the changes in cns_members_action2.php are needed.

Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by Chris Graham)
#4539
Hi Chris,
Thanks. FYI there is a small type in your commited code on cns_members_action2.php
$vb_subject should be $vm_subject

$vm_subject = do_lang('VALIDATED_MEMBER_SUBJECT', get_site_name(), null, get_lang($member_id)); $vm_body = do_lang('MEMBER_VALIDATED', get_site_name(), $_username, $login_url, get_lang($member_id)); mail_wrap($vm_subject, $vm_body, array($email_address), $_username, $login_url, '', 3, null, false, null, false, false, false, 'MAIL', false, null, null, $join_time);

Changes incorporated on my site, and working as expected.
Chris
1 guest and 0 members have recently viewed this.