Users module includes all functions related to user handling, such as user login, registration forms and etc.
Module functions:
□
|
registration - allows users to register in the system
|
o
|
user_group_id - the optional parameter specifies a user group ID; if it doesn't specify, then this function returns the list of all available user groups to choose.
|
o
|
reg_form_template - registration form template
|
o
|
registration_choose_user_group.tpl
|
o
|
registration_success.tpl
|
o
|
registration_form.tpl or the template specified in the property of the registration form template group.
|
□
|
login - displays login form
|
o
|
username - a name of a user
|
o
|
password - user password
|
o
|
keep - this flag means whether login information should be saved or not.
|
□
|
logout - logs out users and redirects them to the main page
|
□
|
activate_account - activates user account
|
o
|
username - a name of a user
|
o
|
activation_key - activation key
|
□
|
password_recovery - recoveries user password
|
o
|
username - a name of a user
|
o
|
password_change_email_successfully_sent.tpl
|
□
|
change_password - changes user password
|
o
|
username - a name of a user
|
o
|
verification_key - verification key
|
o
|
password - new password
|
o
|
confirm_password - password confirmation
|
o
|
successful_password_change.tpl
|
□
|
edit_profile - edits user profile
|
□
|
user_notifications - user notifications management (turn on / turn off)
|
□
|
delete_uploaded_file - deleting an uploaded file of a current user
|
o
|
field_id - ID of a user field. A file will be deleted from this user field.
|
o
|
delete_uploaded_file.tpl
|
|