The Official PostNuke Installation & Getting Started Guide: Revision 9939 / Preview | ||
---|---|---|
Prev | Chapter 16. Advanced Website Configuration & Use | Next |
Within this module, you may edit or delete an existing user, add a new user, or modify user configuration options, including Dynamic User Data.
Edit a user: Enter the complete username of the user you wish to edit, select "Modify", and click "OK". You will be shown the user's information and allowed to change it as you wish. Click "Save changes" to save any changes you make.
Delete a user: Enter the complete username of the user you wish to delete, select "Delete", and click "OK". You will be asked, "Are you sure you want to delete user <username>?". Click "Yes" to delete the user, or "No" to abort this function.
Add a new user: To add a new user, fill out the Username, E-mail, and Password fields for the user and click "Add user". The user account will be created.
Within this section, you can configure options that affect every user of your site.
Minimum age: You can specify a minimum age to access your site. Enter the age in years in this field, or "0" to disable age-checking. Entry example: "13"
User menu images path: This is the path where icon graphics for the user menu are stored. Entry example: "images/menu".
Graphics in the user page: Click "Yes" to have icon graphics displayed in the user's menu (accessed when the user visits their account options). Click "No" to have no icons displayed, or "Yes" to display the icons. Entry example: "Yes"
Minimum users password length: Specify the minimum length for user passwords. The longer the password, the more secure. Choose a good balance between security and user convenience. Entry example: "5"
Click "Submit" to save your changes.
** IMPORTANT NOTE: THE DYNAMIC USER DATA MODULE IS BEING REWRITTEN. THIS SECTION OF THE GUIDE IS, THEREFORE, INCOMPLETE. **
After a user registers for an account on your web site, they may edit their personal profile by selecting "Your Account" -> "Change Your Info". The Dynamic User Data Administration screen allows the Administrator to specify which of the pre-configured fields to display, which of the pre-configured fields to hide, and to optionally add custom fields requesting additional user information.
Dynamic User Data: Click this link to be shown a listing of the current User Data that is requested from your users when they visit "Your Account" -> "Change Your Info". This listing is shown in the order that it is displayed to users, with Inactive fields at the top.
Active: If this field is Active (displayed to and allowing input from users), there will be a green icon in this field. If the field is Inactive, the icon will be red. Click the icon to toggle the state of the field.
Field Label: Displays the label and text for each field. The label is on the left side of the column, and might be "_UREALNAME", for example. The Field Label must be unique. The text is on the right side, and might be "Real name", for example.
Weight: Specify the display order for the Field. Click the UP arrow to move the Field up in the order; click the DOWN arrow to move the Field down in the order.
Data Type: "Core", "Core Required", "String", "Text", "Float", or "Integer".
Length: "N/A" or the string length defined for this Field.
Delete: "N/A" or "Delete". "Core" and "Core Required" Fields are not deletable and can only be made Inactive if you wish for them not to appear to users. Before a Field can be deleted, it must first be made Inactive (see above). If the Field is deletable, click "Delete" to remove it. You will be presented with a confirmation screen. Click "Yes" to delete the Field and all its data, or click "No" to skip deletion.
Add Fields: Administrators may add custom User Data fields through this function. Your users will be prompted for these custom fields (as well as any enabled standard fields) when they visit the "Your Account" -> "Change Your Info" page on the website.
Field Label: Enter the Field Label here. The Field Label must correspond to an entry in the language definition file (language/<current language>/global.php). For example, if you wanted to add a field requesting a user's eye color, you would first edit the language/<current language>/global.php file and add the following line:
--- CUT HERE ---
define('_EYECOLOR','Your Eye Color');
--- CUT HERE ---
Once the file has been edited and saved, enter "_EYECOLOR" in this Field Label.
Data Type: Determine the data type for entries in this field.
String:
Text:
Float:
Integer:
Length: Enter the length of the string for STRINGS ONLY. This determines how many characters a user is allocated for response. For example, if you wanted the user to be able to enter only one character, enter "1" in this field. The maximum length is 1254.