Skip to main content
Recipes documentation

A searchable member directory in HumHub

HumHub's People page is a member directory once the right profile fields and groups feed it. Members Map adds the map, Group Membership lets members sort themselves, and Advanced Profile decides who sees which field.

Last updated: .

In shortDecide the three or four questions people search by (region, organization, skill, member type), make them select-list fields marked as directory filters, mark the groups worth filtering as visible, and only then add the map. A directory is as good as the share of profiles filled in.

What you get

  • A People page where members search by name, tags and searchable fields, and filter by group and by your own fields.
  • Cards that show the three facts that matter in your community, not the default ones.
  • Groups members join and leave themselves (alumni of a year, a working group, a city).
  • Members on a map, filtered by space, group or profile field, with approximate locations.
  • Fields such as a phone number that only staff, or only members of the same group, can read.

The modules

PieceRoleWhere it comes from
Profile fields and PeopleFields, filters, cards, searchHumHub core, no module
Group MembershipMembers join or leave selected groups from the groups directoryCUZY, free
Members MapMembers on a map, with directory cards under itCUZY
Advanced ProfileFields per group, required fields for a group, a permission to see hidden fieldsCUZY
Groups Associated with Space CategoriesA group kept in sync with a category of spacesCUZY

The steps, in order

1. Choose the fields people search by {#fields}

Write down the questions members actually ask: "who works on fundraising?", "who is in Lyon?", "who graduated in 2015?". Each becomes a field in Administration → Users → Profiles. Prefer Select List or Checkbox List fields to free text: a filter works on fixed values, and "Lyon", "lyon" and "Lyon 3e" are three cities to a text field. Tick Searchable and Use as Directory filter on each (the options of a field).

Ask the one or two most useful fields at registration, and leave the rest to the profile (ask it at registration).

2. Set up the cards {#cards}

In Administration → Users → People, choose the fields shown on each card (Information 1, Information 2, Information 3), the Default Sorting, and a Prioritised User Group whose members come first: staff, board or mentors (the People directory).

3. Make groups filterable {#groups}

The People page has a User Group filter. It lists only the groups whose Visible box is ticked in Administration → Users → Groups, and HumHub's own hint says it: "Will be used as a filter in 'People'." Tick it on the groups a member would filter by (chapters, promotions, member types) and leave it off on technical groups such as administrators (groups).

4. Let members sort themselves {#self-service}

With Group Membership enabled, open a group in Administration → Users → Groups, then its Permissions, and allow members to join it. The groups directory then shows a button to join, and members leave a group the same way (except their last one). Combined with step 3, the "Class of 2015" group is a filter that members fill in themselves.

When each region or theme has its own spaces, Groups Associated with Space Categories ties a group to a category of spaces and keeps both memberships in step (modules that extend groups).

5. Add the map {#map}

Members Map places members either from their address fields, through Google's geocoding service, or where they put themselves on a map in their account settings. Geocoding needs the address fields filled in (the country, and at least the zip code or the city), and an API key (the key). The map filters by space, group and profile field, and can show the directory cards under it, filtered together.

Choose who sees the map: visitors never do unless you allow it, and a group permission limits it further. An option shows each member only the people who share at least one group with them.

6. Decide who sees what {#privacy}

Core HumHub has two levels: a field is Visible on profiles or it is not, and only administrators see the hidden ones. Advanced Profile adds the middle ground:

  • the See hidden profile fields group permission lets staff read fields members do not see;
  • fields can be switched off for the members of some groups (no "Graduation year" for staff);
  • members of a group can be forced to fill its required fields before they use the platform.

Pitfalls

  • Empty profiles, empty directory. Nobody fills ten optional fields. Ask few, make the key ones required for the groups that need them, and remind members with a post that links to their profile.
  • Changing a select list. Changing the key of an option empties it for every member who chose it; renaming the label is safe.
  • Exact locations. By default the map places members at their city or zip code, and only administrators see a precise position. Also geocode the street, for a precise location in the module's settings changes that: think twice before you tick it.
  • Guest access. If your community lets visitors in, check who holds the Can Access 'People' permission: a directory open to the web is a list of names for anyone.
  • Personal data. Every field and the map itself belong in your privacy policy (GDPR checklist).

On a CUZY hosted community

Profile fields, groups and the People page work the same on every plan. Group Membership is a free CUZY module; Members Map, Advanced Profile and Groups Associated with Space Categories are included on the Business plan and during the trial, and bought at 50% off on the Team plan (CUZY modules). On the Business plan, CUZY's geocoding key is set in Members Map for you (address geocoding). See the module catalog, compare the plans or try it free.

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...