importing members - membership approval email

Post

Posted
Rating:
#4795 (In Topic #1040)
Avatar
Standard member
supertramp4 is in the usergroup ‘Fan in action’
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
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Joey)
#4800
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Fixed in Fix validation mail issue for importing members · ocproducts/composr@b57c5dd · GitHub
Only the changes in cns_members_action2.php are needed.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: Yes Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Chris Graham)
#4803
Avatar
Standard member
supertramp4 is in the usergroup ‘Fan in action’
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
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Paul D, Salman, Chris Graham, mytracker, ManojSree, John Connor, 204 guests

Forum statistics:
  • 910 topics, 4,376 posts, 5,331 members
  • Our newest member is endurance
Birthdays:
Back to Top