FrontEndUsers - Email on group change?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jimmyb
Forum Members
Forum Members
Posts: 35
Joined: Wed Sep 20, 2006 12:40 pm

FrontEndUsers - Email on group change?

Post 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!!
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: FrontEndUsers - Email on group change?

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
jimmyb
Forum Members
Forum Members
Posts: 35
Joined: Wed Sep 20, 2006 12:40 pm

Re: FrontEndUsers - Email on group change?

Post 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!
Post Reply

Return to “CMSMS Core”