adrianmak Posted May 3, 2016 Share Posted May 3, 2016 I added a field to user template, name status. it has two values, approved and non-approved. Restricted pages could be reached if that field is approved. The website is opened for public registration, and the default value of that field is non-approved. The approval process is manually and it is approved by site administrator When a site administrator changed the field value to approved, I want to trigger a email notification to that user to tell him/her, your account has been approved, you can now login or access our member area blablabla. I want to write a simple module to implement my needs. But I'm not sure which hook should it focus on ? Link to comment Share on other sites More sharing options...
3fingers Posted May 4, 2016 Share Posted May 4, 2016 This module (still a WIP but looks like it's working) could be a good starting point... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now