The Profile Extender add-on allows you to create new fields for users to add to their profiles. Within the add-on, there are several options:
- Required: Option to make this field be mandatory or optional
- On Registration: Option to make the field appear on registration
- In Profiles: Option to make the field visible or hidden in profiles
Types of Profile Fields
There are four types of profile fields.
Text box is a manual entry text box. By default, this is a single-line box which can contain any information. If you require a full-sized box for longer descriptions, it will need to be configured as such by Vanilla. In this case, Vanilla can also set a character limit.
Dropdown will allow users to select from a predetermined list of items. When selecting Dropdown, an Options field will appear in order to add the items, with each item on a seperate line.
The Checkbox option is a simple toggle checkbox. If enabled, users will only have the option to check it, and is meant as a consent box. This is not appropriate as an opt-in, such as a newsletter.
Birthday will create a field where users can select their date of birth. Three dropdowns will appear for users to input their date of birth.
When creating new fields, you will be presented with additional options:
- The ‘Label’ field is the name of the field, as displayed to users.
- ‘Required for All Users’ will make this a mandatory field.
- ‘Show on Registration’ will display and ask for this information when users are initially registering.
- Finally, ‘Show on Profiles’ will toggle whether the information is displayed to other community members.
Specific Account Fields
If you’d like for users to be able to add their social media accounts or website to their profiles, create a regular ‘Text Box’ type field, and name it exactly the type of account it is. When a user adds their handle, website URL or social media username, Vanilla will automatically translate this into a link to those profiles.
This works for the following services:
- LinkedIn: Add account name, as in linkedin.com/ACCOUNTNAME
- Facebook: Add account name, as in facebook.com/ACCOUNTNAME
- GitHub: Add account name, as in github.com/ACCOUNTNAME
- Twitter: Add twitter handle
- Instagram: Add Instagram handle
For all of these, an example would be adding ‘vanillauser’ would create a link to facebook.com/vanillauser, or instagram.com/vanillauser automatically.
Website: Add the URL without the HTTP information. For example, www.websitename.com would create an automatic link to http://www.websitename.com