Jurrian Reply #1, 2 years, 1 month ago
Hi all,
I would like to be able to give the administrators the possibility to approve a user. So the user registers by supplying his email address and full name (if he wants), the username will be his email address. Then there should go an email to an administrator that the user wants to be approved. If the administrator approves, the user gets an email with a password, which he can change when he is logged in.
I searched my way around webloginpe, and found out it has the functionality to let a user register, and then send him an email with password to make sure the email is allright. It doesn't give any admin approval though
Searching the internet showed me the webloginpe google project, where this is a feature request since october 2008. Since it is not implemented yet, I don't think there will be an implementation soon.
Therefor I want to try to achieve this myself. I was thinking to create a plugin that invokes on the event OnWebSaveUser. This plugin will put an extra value in the db, named validated, and puts it to false, it will also block the user. It will notify the administrator, and disables the further process.
The administrator gets an email and will login to the manager to use a module to approve the user. The module will put the validated to true and blocked to false. It wil generate a password for the user and sends it to the user.
You are the guys that know all about webloginpe, is this doable? For myself the hardest point is to disable the process of registering by a plugin. Any thoughts on this part?
Thanks in advance,
Jurrian
I would like to be able to give the administrators the possibility to approve a user. So the user registers by supplying his email address and full name (if he wants), the username will be his email address. Then there should go an email to an administrator that the user wants to be approved. If the administrator approves, the user gets an email with a password, which he can change when he is logged in.
I searched my way around webloginpe, and found out it has the functionality to let a user register, and then send him an email with password to make sure the email is allright. It doesn't give any admin approval though
Searching the internet showed me the webloginpe google project, where this is a feature request since october 2008. Since it is not implemented yet, I don't think there will be an implementation soon.
Therefor I want to try to achieve this myself. I was thinking to create a plugin that invokes on the event OnWebSaveUser. This plugin will put an extra value in the db, named validated, and puts it to false, it will also block the user. It will notify the administrator, and disables the further process.
The administrator gets an email and will login to the manager to use a module to approve the user. The module will put the validated to true and blocked to false. It wil generate a password for the user and sends it to the user.
You are the guys that know all about webloginpe, is this doable? For myself the hardest point is to disable the process of registering by a plugin. Any thoughts on this part?
Thanks in advance,
Jurrian