kinoli / groupie

Assign users to specific user groups upon registration. Especially useful for front-end signup forms.
Other
3 stars 0 forks source link

Switch groups #1

Open kevadamson opened 5 years ago

kevadamson commented 5 years ago

Hi

Can this plugin be used so that a user can switch their group via a font-end form?

For e.g.

A user signs up and is a regular customer But they can then switch to become a trade customer via a form Indeed, new users can sign-up as a trade customer from the off as well (without necessarily being a regular customer first)

Of course, it could also be that they are assigned to both groups rather than switching, should that be more suitable based on this plugin.

Thanks :)

kinoli commented 5 years ago

The plugin is currently only setup to work from the EVENT_AFTER_ASSIGN_USER_TO_DEFAULT_GROUP event hook. So right now it works upon registration on a front end form. I do have plans to make it work with a user profile form as well. Just need some time and I'll make it work.

timprint commented 3 years ago

Just testing this and allowing an already registered user to switch or add another user group from a front end form is exactly what I need. Any progress on this? Thanks

kinoli commented 3 years ago

No, sorry I haven't implemented this.

timprint commented 3 years ago

No worries, thanks for the quick response!

taher-amici commented 3 years ago

Hey mate, have you implemented this feature yet?