Saltar navegación

[Resuelto] User registration with author role using Fluent Forms

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

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

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Minesh hace 2 años.

Asistido por: Minesh.

Autor
Mensajes
#2621013

Hi,

I'm building a user registration form with Fluent Forms. In that form, I can set which user role I want the new user to get (in this case, author).

The problem is, when the Toolset access plugin is active, the user gets the subscriber role, instead of the author role I've set in the form. When I deactivate the Toolset access plugin, it works as it should.

#2621019

Minesh
Colaborador

Idiomas: Inglés (English )

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

Hello. Thank you for contacting the Toolset support.

There is no official integration between Toolset and fluentforms.

But I can see fluentforms offers the hook "fluentform_user_registration_completed" that you should use to set your desired role when you submit the form.
- enlace oculto

I suggest you should check with fluentforms plugin support about how you can set your desired role when you submit the form using the above hook.