First, build a validation page as described in the "Integration" section or simply use the page that came with the script. For this example, we’ll name it “validate.php”. Next, insert this include statement where you want the script’s output to appear. The script’s output is simply a sentence that says whether or not their account was validated successfully.
include ($path_adjuster."$support_files_directory /EZUser_Validate.php");
To enable validation, go to the “Main Configuration” of the admin section and check the “Yes” box that say “Validation Required”. You must also supply the “Full Site URL” and the name of the validation page (in this case “validate.php”). The full site url and validation page must be correct since the validation link sent to your users is generated using this information. If this info is incorrect, the user will never be able to validate their accounts!
The “Full Site URL must reflect your actual Web address on the script location. For example if you installed the script at "http://www.mydomain.com/members" then that would be the “Full Site URL”.
Once validation has been enabled, any subsequent user that registers must validate their account by clicking on the validation url sent to them in their welcome email. Be sure to test the validation by signing up as a new user and going through the validation process.
Remember, If one of your users lost or failed to receive the validation email, we need to have a way to receive another copy of the email. Set up a new page named “resend_validation.php” (or whatever name you like) as described previously and insert this code:
include ($path_adjuster."$support_files_directory /EZUser_Resend_Validation.php");
This script will resend the validation email. Since the script needs to insert this link in other pages, be sure to enter the name of this script in the “Main Configuration” admin section. In this case, enter “resend_validation.php” in the box labeled “Resend Validation Page”. Be sure to save the change.