Admin approval for registrations

A place for users and developers of the Xataface to discuss and receive support.

Admin approval for registrations

Postby clawes » Sun Jun 24, 2012 9:44 am

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?

:?:
clawes
 
Posts: 22
Joined: Mon May 07, 2012 12:02 pm

Re: Admin approval for registrations

Postby shannah » Sun Jun 24, 2012 10:35 am

You can use the after_action_activate trigger. I have added a wiki page for it
http://xataface.com/wiki/after_action_activate
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 2 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved