0

I'm wondering if there is a way to change a users/registered members group based on them performing an action?

At the moment members register into a default group. If that member submits a specific entry via a channel form I would like to change their member group. Is there a way to automate this? Plugin or otherwise?

1

I'm not aware of anything available publicly at this time, but I think a custom extension could be built to accommodate using the following hook:

Channel Form Hook {submit_entry_end} - triggered after a channel form is submitted

Requires EE 2.7.0+

| improve this answer | |
  • Possibly so. Well beyond my capability though ! :) – shorn Apr 29 '14 at 22:07
1

I wrote a plug-in to do this some time back for EE1.x, should be pretty easy to upgrade to EE2.x if you want to fork it...

https://github.com/ninefour/change_member_group.pi.ee_addon/blob/master/system/plugins/pi.change_member_group.php

Of course, use with caution!

:)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.