User sign up

This section has to do with allowing new members to sign themselves up automatically. The process involves filling out a form, checking their email and returning with a confirmation code.

The file web/users/signup.php contains the URL for this function, (however it does not actually produce the HTML, it is equivalent to /path/index.php?DO_SHOW_SIGNUP_FORM=1 )

The form requires a name, userID, password, email address and confirm address. The form variables are:

This form must be POST (GET won't work for security reasons)

Table 5-1. Form variables for sign up

Form VariableLabelWhat it does
DO_PROCESS_SIGNUP Tells the application to process a sign up. (Hidden form variable)
USERIDUsers ID to use   
NAMEName Supplies the persons name.
EMAILEmail Supplies the persons email address.
PASSWORDPassword Supplies the users password.
PASSWORDCPassword Confirm Supplies a password for confirmation (must match PASSWORD)
LOCATION

Optional, if provided, must be an absolute url to display after submit.

After submitting this form, the user is asked to check his or her email for further instructions. An email is sent to the users email address, with a temporary confirmation code and url used to validate the email address. (so it is essential to use valid email addresses when testing this)

When the user checks their email, they should get a message with a url that looks something like this: http://www.example.com/path/to/web/users/confirm.php?C=163&U=userid

Tip

The text of this email is configurable by creating your own mail-confirm.php

Clicking the link the generated link will activate their account, and they will be given the opportunity to login.

The Login page should be specified in your ~/geniegate/conf/geniegate.ini In the [Url] section under StartPage By default it is http://localhost/. Which is almost certainly not what you want.