As we have already known, PHPMaker has the ability to generate the Registration Page which will allow users to activate their account by themselves before login to the generated web application. Unfortunately, PHPMaker has not provided the ability to suspend the new user accounts so that only Admin user will be able to activate those suspended user accounts. Sometimes, we need this feature, especially if Admin will have to review the new user accounts first before allowing them to login. If you need this ability to be implemented into your generated web applications quickly and easily, too, then you just came to the right place. 🙂
Just wanted to refresh and remind you about this ability, as well as I did for PHPMaker version 9, then after implementing this feature, here are that will be happened:
- Users register their account via the Registration page.
- System send the email that contains the registration information to users. At this point, the status of the user accounts are being suspended (users are not able to login to system).
- Admin (again, only user which has level Admin) reviews and approves the user accounts. The user accounts status are then active, and system will send email to the users informing about the approval from Admin.
- Users receive the email regarding their account activation, and now are able to login to system.
For those of you who have implemented my customization regarding Activate User Account by Admin feature, as well as I have written in this article for PHPMaker version 9, then we will add also the same ability for PHPMaker version 10. Instead of customizing the original PHPMaker template, then we will use MasinoRegister10 extension to implement it into our PHPMaker project. In other words, you don't need to customize PHPMaker template anymore.
In order to implement this feature properly, then make sure you have already:
- Enabled MasinoRegister10 extension,
- Enabled SuspendNewUserAccount from the Advanced Setting of that extension,
- Enabled Requires activation, from Security tab -> Advanced -> User Login Options -> User Registration Page of PHPMaker application,
- Disabled Auto login after registration/activation from the same location at the previous step above.
Today (March 3, 2014), I just upgraded seven extensions that related to this changes. Make sure you have downloaded all the latest updated extensions, and replace the existing ones with them. If you hesitate to pick them, then just download all Masino Extensions that related to PHPMaker version 10 from this link, and enable all of them into your PHPMaker project.
Be careful, again, you only need to download the extension files that related to PHPMaker 10.
Enjoy it, everyone! 🙂
Leave a Reply
You must be logged in to post a comment.