I'm hoping to use Drupal for a CMS system for my client. He wants a system where a user (student) fills out the registration form, and if the GPA is (for example) above 3.5, then it lets him register. If it isn't, then it sends an email to the admin asking the admin to review the registration.
When the admin reviews it, if it's an okay one, the user is allowed to login, if it's not okay, then the user can't login.
After the user submits the registration form, they only get an email saying they were accepted and now can login. And if they weren't meeting requirements, it says that it is pending approval. If the approval is okay then they get the accepted email, whereas if not, then they get an email saying sorry, you weren't' accepted.

Comments

pulsifer’s picture

Hello Ender,

You would have to customize the file user.module in order to do this. It shouldn't be too hard though, a half day for someone familiar with php but not drupal. There is currently code in there that does similar things, so it would mostly be cutting, pasting and small edits.

Anonymous’s picture

Well, I'm not familiar with PHP though... Could someone do this for me? Err... well, I'll give it a try i guess

Anonymous’s picture

No, I don't think I'm capable of this. Here's a more detailed description of what I would like:

I'm looking for a modification Drupal's registration process so it can do this:

When someone registers, they fill out their form as usual, with the adition of a Grades area. An area where the GPA / Toefl scores are entered and checked.

If the grades are above (for example) 3.0, then they will immediately receive an email saying that they were accepted and provides them with their username and password (which they chose).

If they were belove (for example) 3.0, then they will immediately receive an email saying that their registration is pending by an administrator or recruiter. (An email is also sent to the administrator(s) and recuitor(s) notifying them of the pending account.

The ones that are pending will go through this process (Prefferebly all of the pending accounts could be listed in a panel where the admin/recruitor could then click on each one and view details of it):

The administrator/recruiter will screen the pending registration and decide whether to accept or decline the registration.

If the administrator/recruiter decides to accept the registration, they will select something like "Accept" and the new user will immediatly receive an email saying that they were accepted and provides them with a username and password.

If the administrator/recruitor decides to decline the registration, they will select something like "Decline" and the new user will receive an email saying that they were not accepted. (The admin/recuitor also must be able to input a custom message that will be sent along with the email)

I would like this to be compatible with both 4.6 and 4.7. I am not sure whether this recuires it's own module, or whether it will be a modification to an existing module.