Page 1 of 1

FrontEndUsers - Email on group change?

Posted: Thu May 31, 2007 1:10 pm
by jimmyb
Currently using version 1.06 and FEU 1.2.0.

I am using the self-registration module to allow users to enter their own details. Once they have completed the registration process, they are currently added to a "Pending" group. Once I have reviewed their info, I then activate them by moving them to an "Active" group. This has been suggested as a user validation method in a number of posts and works very well for the majority of the sign-up process.

I would like to create some sort of event so that when the "Active" group check box is activate in FEU admin for that user, an email is automatically sent to the user to advise him/her that the account is now active. I notice that there are a number of events already configured for the FEU module but none that deal with editing user details or modifying user groups.

Does anyone have any ideas of how to accomplish this? All suggestions very gratefully received!!

Re: FrontEndUsers - Email on group change?

Posted: Thu May 31, 2007 2:37 pm
by calguy1000
It wouldn't be hard to implement this..... just have to create another event, and then in the user modification area put all of the data into an array, and send the event.

Then you would just create a UDT and mark that UDT as a handler for that event.

Re: FrontEndUsers - Email on group change?

Posted: Thu May 31, 2007 10:15 pm
by jimmyb
Many thanks for your response Calguy

I have had a look at various bits in the code that already send events and it looks relatively straight forward.

I'll give it a try now and post my findings.

Thanks again for your help!