Skip Navigation

[Resolved] Toolset user form, WP Approve User and Better Notifications for WP

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
- 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)

This topic contains 9 replies, has 2 voices.

Last updated by Miguel 1 year, 8 months ago.

Assisted by: Minesh.

Author
Posts
#2606693

Tell us what you are trying to do?
I created a toolset user form with toolset to register subscribers.
To approve the user, I;m using WP Approve User (https://wordpress.org/plugins/wp-approve-user/)

After anyone fills the form I'm sending an email to Admin using Better Notifications for WP.
It works, but it doesn't send the user first name and last name.
It only send user login and user email.

this is the form:

Un nuevo usuario intentó registrarse como socio en  [global_site_title]:

Nombre: [user_firstname]
Apellido: [user_lastname]

Nombre de uuario: [user_login]
E-mail: [user_email]

Para aprobar (o no) a este usuario abrir el siguiente enlace:

hidden link

Is there any documentation that you are following?
hidden link

Is there a similar example that we can see?
no

What is the link to your site?

hidden link

#2606777

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As you are using the plugin Better Notifications for WP, can you please check with the said plugin support and check with them how you can add the firstname and lastname into the notification?

#2606951

I realized I can send notification with the toolset form (my bad).
But I still receiving the email without user data.

I tried to add the form fields to the notification but I'm not sure if I'm doing correctly

This is de notification:
Nombre: [wpv-user field="user_firstname"]
Apellido: [wpv-user field="user_lastname"]

Correo electrónico: [wpv-user field="user_email"]
Usuario: [wpv-user field="user_nicename"]

#2606955

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

what if you try to use the following code:

Nombre: [wpv-user field="user_firstname" user_id="%%USER_USERID%%"]
Apellido: [wpv-user field="user_lastname" user_id="%%USER_USERID%%"]

Correo electrónico: [wpv-user field="user_email" user_id="%%USER_USERID%%"]
Usuario: [wpv-user field="user_nicename" user_id="%%USER_USERID%%"]

More info:
- https://toolset.com/course-lesson/send-notifications-when-someone-submits-the-form/

#2606999

Mmm... no, still not working.

I want to receive an email with the new user data.

sounds easy but...

#2607003

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

It should work. Can you please share problem URL where you added the form as well as admin access details.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2607025

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please tell where on what page you added the form on frontend. Please share link of the page where I can see the form.

#2607037

Oh, sorry

the form is here:

hidden link

#2607097

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please check now.

I've adjusted the notification email body as given under:

Nombre: %%USER_FIRST_NAME%%

Apellido: %%USER_LAST_NAME%%

Nombre de usuario: %%USER_DISPLAY_NAME%%
email: %%USER_EMAIL%%

Fecha de registro: [wpv-user field="user_registered" id="%%USER_USERID%%"]

Can you please confirm it works as expected now.

#2607607

My issue is resolved now. Thank you!