Skip Navigation

[Resuelto] New user form notification turns out blank for the user fields

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
The user was having blank fields in a user form notification.

Solution:
Use "id" instead of "user_id" as an argument for the "wpv-user" shortcode:

[wpv-user field="user_registered" id="%%USER_USERID%%"]

Relevant Documentation:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-user

This support ticket is created hace 3 años, 6 meses. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 2 respuestas, has 2 mensajes.

Last updated by andrewD-10 hace 3 años, 6 meses.

Assisted by: Jamal.

Autor
Mensajes
#1806605

Hi toolset,

The fields for the new user shows up blank in the email notification after a user submits the "create new user" form. This video helps explain everything: hidden link

Reference to prior ticket: https://toolset.com/forums/topic/user-creation-notification-email-fields-blank/

Here is the notification code:

Dear BidAmerica Admins,
<br>
A new customer has entered payment information for their account. Please go to <a href="hidden link">hidden link; and add the new customer on Stripe.
<br>
Registered: [wpv-user field="user_registered" user_id="%%USER_USERID%%"]
User ID: [wpv-user field="ID" user_id="%%USER_USERID%%"]
Email: [wpv-user field="user_email" user_id="%%USER_USERID%%"]
Customer: [wpv-user field="user_firstname" user_id="%%USER_USERID%%"]
Company: [wpv-user field="user_lastname" user_id="%%USER_USERID%%"]
[wpv-user field="user_email" user_id="%%USER_EMAIL%%"]
<br>
Copy the email to make the necessary searches.

#1806855

Jamal
Supporter

Languages: Inglés (English ) Francés (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello and thank you for contacting the Toolset support.

Please try to use "id" instead of "user_id" as an argument for the the "wpv-user" shortcode:

[wpv-user field="user_registered" id="%%USER_USERID%%"]

Read more about the shortcode here https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-user

I hope this helps. Let me know if you have any quesitons.

#1808995

Thank you Jamal, worked perfect 🙂

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.