Page 1 of 1

Admin approval for registrations

PostPosted: Sun Jun 24, 2012 9:44 am
by clawes
I have managed to tweak the sendRegistrationActivationEmail hook so that activation requests are sent to an administrator and not the registering user.
So now the administrator gets the activation URL while the user gets an email stating that approval is pending. However, when administrator activates the account, the user has no way of knowing that his/her account was activated. The administrator must manually send a separate email to said user. Obviously this is inefficient.

What I need is for a 2nd email to be sent to said user informing him/her of the activation as soon the administrator activates. Or maybe there is an easier way that I'm not yet aware of?

:?:

Re: Admin approval for registrations

PostPosted: Sun Jun 24, 2012 10:35 am
by shannah
You can use the after_action_activate trigger. I have added a wiki page for it
http://xataface.com/wiki/after_action_activate