Navigation

Search

Register

Description

The main registration page.

Syntax

void Register ([array $reg_errors])



Parameter $reg_errors

Expected type: Array
Description: An array containing one or more error messages (passed from Register2())


Notes

  • Accessed at index.php?action=register
  • Checks to make sure registration is enabled
  • Redirects admins to the admin registration center
  • Uses the Register template and Login language file
  • Uses the "before" subtemplate
  • If you're using the registration agreement, loads that into $context['agreement'], assuming agreement.txt exists
View all versions of this function