Skip to main content
Configure HumHub documentation

Custom HumHub profile fields, shown at registration

Profile fields decide what members say about themselves and what the People directory can filter on. HumHub ships about thirty fields in three categories; you add your own, choose which ones are asked at registration, and hide the ones you never use.

Last updated: .

In shortFields live in Administration → Users → Profiles. A field asked at registration needs Show at registration; ticking Required alone does not put it on the form. A field's internal name and type can never be changed after it is created.

Where the fields are

Administration → Users → Profiles ("Manage profile attributes") lists the fields by category. A fresh HumHub has three categories: General (first name, last name, title, gender, address, birthday, about), Communication (phones, mobile, email, fax, XMPP) and Social bookmarks (website, Facebook, LinkedIn, Instagram, Xing, YouTube, Vimeo, TikTok, Twitter, Mastodon). A button adds a category; each category has its own list of fields to sort.

Only First name and Last name are shown at registration and required out of the box.

The Profiles page of HumHub's administration, with the General category and its fields

Add a field

Open a category and add a field. Choose the Fieldtype first:

TypeFor
Text, Text Area, MarkdownFree text; Text takes a validator (email, URL), a length and a regular expression
NumberA number with a minimum and maximum value
Select List, Checkbox List, CheckboxChoices you define, one per line as key=>Label
Date, Datetime, BirthdayDates; Birthday can hide the age by default
CountryA country picker, optionally limited to some ISO codes
TemplateA text built from other fields (a "virtual" field, since 1.17)
Username, E-mail address of the user, Creation date of the user, Last login date of the user, Group membershipsShow account data on the profile (virtual fields)

Then fill Internal Name (letters, digits and underscores, with at least one letter) and Title, the label members see. For a community in several languages, Translation Category ID lets the title come from a translation file.

The two settings you cannot undo: once saved, the internal name ("Internal name could not be changed!") and the field type ("Field Type could not be changed!") are locked. To change either, create a new field and delete the old one, which deletes what members entered.

The options of a field

OptionEffect
VisibleShown on the member's profile. Unticked, the field is only for administrators and modules
EditableMembers can change it themselves
RequiredIt cannot be left empty when the profile is saved
Show at registrationAsked on the sign-up form
SearchableThe search and the People directory find members by it
Use as Directory filterA filter of the People directory (useful on Select List and Checkbox List fields)
Sort orderPosition in the category
LDAP AttributeThe directory attribute that fills the field when LDAP is used

Virtual fields (Template and the account data types) cannot be required, searchable, shown at registration, editable or used as a filter.

Ask it at registration

Tick Show at registration and, if it must be filled, Required. Keep the form short: every extra field costs sign-ups. Two or three questions that sort people (organization, region, member type) are usually enough; the rest can wait for the profile.

Required without Show at registration creates members who registered without the field and cannot save their profile later until they fill it. Choose both or neither for a new required field.

Make the People directory useful

Administration → Users → People chooses what the directory's cards show: Information 1, Information 2 and Information 3 take any profile field (a field that is not visible is marked "Not visible"), plus the Default Sorting and a Prioritised User Group shown first. With one or two Select List fields marked as directory filters, the People page becomes a searchable member directory.

Who can see profiles at all is set in Administration → Users → Settings → Profile Permissions, and members change it for their own profile.

Pitfalls

  • Hide, don't delete the default fields you do not use: untick Visible and Editable. Deleting a field deletes its data for every member.
  • A Select List stores the key of each option: renaming an option's label is safe, changing its key empties it for the members who chose it.
  • Personal data: every field is data you must justify under the GDPR. Ask only what the community uses, and say why in your privacy policy (legal pages).

Modules that go further

Advanced Profile turns fields off for some groups, forces the members of a group to fill required fields, and lets a group see hidden fields. Members Map places members on a map from their address fields.

On a CUZY hosted community

The profile fields work the same on every plan. CUZY modules such as Advanced Profile and Members Map can be installed in any community: on the trial, modules are pre-installed, including all the most popular paid CUZY modules; on the Team plan, every paid CUZY module is available at 50% off; on the Business plan, every paid CUZY module is included (CUZY modules); see the module catalog and the plans.

Read next

Try HumHub with your own content

A hosted community in two minutes, all paid CUZY modules included, no card asked. Keep everything when you subscribe.

Loading...