Tips & Tricks
In this section we collect some suggestions:
Set default value in registration from URL
With Easy Profile is possible to dynamically set the default values during user registration.
To set a default value, just enter value assigned to the alias of the field in the URL.
Examples
http://yoursite.yourdomain/registration?ALIAS_OF_FIELD=VALUE
If I have the field "Job" aliases "job" and I want to set the default "Employee". I will use this URL query:
http://yoursite.yourdomain/registration?job=Employee
List of users of a particular usergroup
If you want a list of user of a particular usergroup you can set the CUSTOM QUERY in Menu Item "User List"; follow this example.
Fields only on registration (Terms of service)
To display a field only during user registration you must set the access to this field as "Guest".
Example of TOS field
- Click on New Field
- Set Title
- Set "Type" as Checkbox
- Set "Visible on registration" as Yes
- Set "Required" as Yes
- Set "Access" as Guest
- In "Options Checkbox Field" tab set "Options List" as "1|Accept"
- Save
In addition you can add another field of type HTML Delimiter to put description of TOS of a link to TOS article after checkbox
Change label "User Name" to access "Email" or "Username / Email" on Login page and module
If you use access with Email or Email / Username will need to follow these steps to change the label on the login page and login form (no Hack)
- In the admin go to "Extensions" -> "Language Manager"
- Go to "override"
Text on Login Page
- Click New in the toolbar
- Set "Language Constant" with "COM_USERS_LOGIN_USERNAME_LABEL"
- Set "Text" with "Username / Email" or "Email" or anything you like
- Click on Save & Close
Text on Login Module
- Click New in the toolbar
- Set "Language Constant" with "MOD_LOGIN_VALUE_USERNAME"
- Set "Text" with "Username / Email" or "Email" or anything you like
- Click on Save & Close