This is an old revision of the document!
The very first step in the user registration process is to place a user into a user group. Every user must be associated with a user group because you will associate price plans and certain privileges on a user group by user group basis. Note that this page will not be displayed to the user if one of the following exists:
- You only have one user group entered into the system
- You have multiple user groups, but they do not have an actual 'code' associated with them.
In either of those cases, the software will automatically place the user into the only available user group and therefore this page does not get displayed.
If there are multiple user groups active in the system, the user will be prompted to enter a registration code. If they do not have one, they can click 'no code' and continue on with the registration process. Doing so, will automatically place them in the 'default' user group. You can specify which of your user groups will be 'default' in your admin panel.
Alternate Method for Displaying this Page Rather than having the user enter a registration code, you can set up a set of 'links' or a 'dropdown' box, etc. using html for the user to click on. The 'links' you provide will each have their respective registration codes associated with them.
Link Method:
<a href="register.php?registration_code=regcode-group-a">group a</a> <a href="register.php?registration_code=regcode-group-b">group b</a>
When the user clicks one of the links the registration code will automatically be entered.
Form Method:
<form action="register.php" method="post"> <select name="registration_code"> <option value="regcode-group-a">group a</option> <option value="regcode-group-b">group b</option> </select> <input type="submit" name="submit_registration_code" value="Submit >>" class="enter_registration_code_button" /> </form>
These methods can only be done directly within the Registration Code Form page. So only assign you new page template to the registration code form page within the admin tool. NOTE: The registration code HTML "switches/links" cannot be entered directly into the registration information collection form.