Registration modified to verify a person's email. Requires PHPMailer (Included)
You will need to change mail.php for your smtp server, possibly verify.php for your queries, and db.config.php for your database info. The rest is up to you :P
*Edit*
I uploaded a different Registration, this one is more of a "personal" one, which has jQuery to verify all fields are entered, and to check if the username already exists beforehand. It also has more commenting throughout the scripts to help explain, seeing as my previous didn't.
Listed below are things you will need to look for in the files.
Register.php
Verify.php
db.php
db.config.php
recaptchalib.config.php
recaptchalib.php
verifyuser.php
mail.php
To make it require email to log in to the server is up to you. If you look at the files, I used the UseQueue column. To make sure no one can login without verifying, I changed the Login Procedure (usp_Try_GameLogin_Taiwan), to include something like this:
*Note* This is NOT the full login procedure, it's merely a snippet. I am just showing you how I did made email verification a need for login. This also does not have the dupe fix, as it is just my test server.
As for the two .js files, those are for the register.php; They verify that all fields have been entered, and assist with the check for correct username.
Credits to:
Abrasive - For the registration script itself
Bane - For helping me finish
You will need to change mail.php for your smtp server, possibly verify.php for your queries, and db.config.php for your database info. The rest is up to you :P
*Edit*
I uploaded a different Registration, this one is more of a "personal" one, which has jQuery to verify all fields are entered, and to check if the username already exists beforehand. It also has more commenting throughout the scripts to help explain, seeing as my previous didn't.
Listed below are things you will need to look for in the files.
Register.php
Verify.php
db.php
db.config.php
recaptchalib.config.php
recaptchalib.php
verifyuser.php
mail.php
To make it require email to log in to the server is up to you. If you look at the files, I used the UseQueue column. To make sure no one can login without verifying, I changed the Login Procedure (usp_Try_GameLogin_Taiwan), to include something like this:
*Note* This is NOT the full login procedure, it's merely a snippet. I am just showing you how I did made email verification a need for login. This also does not have the dupe fix, as it is just my test server.
As for the two .js files, those are for the register.php; They verify that all fields have been entered, and assist with the check for correct username.
Credits to:
Abrasive - For the registration script itself
Bane - For helping me finish