Skip Navigation

[Resolved] Send a welcome email to new registered user

This support ticket is created 6 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 4 replies, has 2 voices.

Last updated by Nigel 6 years, 5 months ago.

Assisted by: Nigel.

Author
Posts
#1115723
Screen Shot 2018-09-26 at 10.17.41 PM.png

Dear Sir/Madam,

I create a user form, I want to send a welcome email to the newly registered user, I add below code to the Notification e-mail body

Welcome [wpv-user field="user_firstname"] [wpv-user field="user_lastname"] ([wpv-user field="user_email"]) joining Assistutor, should you want to know more about how Assistutor can help you, visit our <a href='/services/'">Services</a>

I test and get the welcome message as below

Welcome () joining Assistutor, should you want to know more about how Assistutor can help you, visit our Services.

The user_firstname and user_lastname were gone, did I miss some important setting?

My site has 3 languages, how do I state the URL to the hyperlink?

Best regards,

Kelvin.

#1115754

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Kelvin

For registration forms where a new user is being created, you need to edit the wpv-user shortcodes and add the attribute id='%%USER_ID%%'

You have one form, and the form texts are translated into the 3 languages, so the visitor will see the form in their language, yes?

You can check this more easily than I can because you have an existing site already, but what happens if you output the url of the page you want to link to using the wpv-post-url shortcode?

https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-url

#1116024

Dear Nigel,

Thanks for your reply. May I confirm I should code like this?

Welcome [wpv-user field="user_firstname" id='%%USER_ID%%'] [wpv-user field="user_lastname" id='%%USER_ID%%'] ([wpv-user field="user_email" id='%%USER_ID%%']) joining Assistutor, .......
#1116029

Dear Nigel,

I tried to do the registration but nothing received for the field.

Best regards,

Kelvin

#1116508

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Forgive me Kelvin, the correct placeholder to use is id="%%USER_USERID%%".

I just tested that and it works.