Sauter la navigation

[Résolu] User registration with author role using Fluent Forms

This support ticket is created Il y a 1 année et 10 mois. 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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Minesh Il y a 1 année et 10 mois.

Assisté par: Minesh.

Auteur
Publications
#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
Supporter

Les langues: Anglais (English )

Fuseau horaire: 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.
- lien caché

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.