Skip Navigation

[Resuelto] Cred user notification on user meta does not work

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

Problem:
How to add user custom field to Cred User email notification

Solution:
You can use Types shortcode or [wpv-user] shortcode to display the user custom field value using CRED user email notification.

You can find proposed solution with the following reply:
=> https://toolset.com/forums/topic/cred-user-notification-on-user-meta-does-not-work/#post-600243

Relevant Documentation:
https://toolset.com/documentation/user-guides/cred-user-forms-email-notifications/

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

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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: Asia/Kolkata (GMT+05:30)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por Pat hace 6 años, 11 meses.

Asistido por: Minesh.

Autor
Mensajes
#600169

Pat

Hello,

I have created a Cred user form and wants to place a notification in order to display inthe mail , all meta that have been entered by the new user.
For this, I have created some user fields and have placed (as discribed in your documentation), the following code inside the mail form :

Société : %%USER_USERNAME%%
Siret : [types usermeta='siret' user_id="%%USER_USERID%%" user_is_author="true"][/types]

When I receive the mail, then username is OK, but nothing is display in the "siret" filed.

Any idea?
Regards
Pat

#600243

Minesh
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

What if you try to use following code:

Siret : [types usermeta='siret' user_id="%%USER_USERID%%"][/types]

OR

Siret : [wpv-user field="wpcf-siret" id="%%USER_USERID%%"] 

I've checked both of the above code, obviously with different custom user field I'm having on my install and I can see the content on email.

#600272

Pat

Hi Minesh,

That's perfect. I have read the documentation at this link https://toolset.com/documentation/user-guides/cred-user-forms-email-notifications/ and fonded that I need to use something like :

[types usermeta="date-of-birth" style="text" format="F j, Y" user_id="%%USER_USERID%%" user_is_author="true"][/types]

I would recommend to check this documentation page in order to provide with the right code.
Thanks
Pat