Want to do two things and wondering if I'm missing something in the docs or if someone has tackled this already:

  1. User registers on the front end and get success messages saying they will be notified when approved.
  2. Admin is notified that they just did that.
  3. Admin activates them
  4. They get email saying they are good to go. (optional I guess)

2 Answers 2


There is no current way that I know of that does this, but you can probably do it relatively easy with a custom plugin.

  1. If e-mail validation is turned off in the Users settings, the created user is verified by default. You can hook into the users.onBeforeSaveUser event and set the status as UserStatus::Pending. Then redirect them to a screen saving something like "Blah blah you will be notified once we activate you blah blah".

  2. Hook into the users.onSaveUser event, check if this is a new user (isNewUser) and send off an e-mail to a given e-mail.

  3. Admin logins and activate as normal.

  4. (Optional) In the same users.onSaveUser event, if this isn't a new user and the user status is UserStatus::Active, send out an e-mail to the address given by the user.

  • Thanks Fred. Step one is not working for me. When I check to see if the user status is pending it shows as such, but when it's saved it's always active. I am doing exactly what you say and it's not working, let me know if I am doing something wrong. d.pr/i/Pqmu
    – Matt Green
    Commented Sep 19, 2014 at 4:06
  • I'd have to say my suggestion is untested, so there might be something overriding it, or maybe it's too early. Try the onSaveUser event? Have you tried reading through UsersController@actionSaveUser? Commented Sep 19, 2014 at 7:31
  • I've got a site coming up that will need this functionality - did either of you (or anyone else) actually write the plugin required to do this? Commented Feb 19, 2015 at 15:34
  • I was out of time, so I ended up writing a Laravel application instead. But check out Brad's answer regarding CUserIdentity here: craftcms.stackexchange.com/questions/474/… Commented Feb 19, 2015 at 22:07

There's a nice plugin by Trevor Davis for this use case:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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