Multiple Custom Profile Links

(Not to be confused with the official component, “Custom Profile Link”)

Install this theme component

A component that lets you add customizable links to user’s profiles.

User Profiles:

User Cards:
Image B

Settings:

  • custom_profile_link_user_field_ids - a list of user fields to use for the external username fields
  • custom_profile_link_labels - a list of labels to use for the links, one per id in custom_profile_link_user_field_ids
  • custom_profile_link_prefixes - a list of url prefixes to use for the links, one per id in custom_profile_link_user_field_ids
  • custom_profile_link_orgs - a list of “organization” style links, following the format of label,id-of-name-field,id-of-url-field
  • custom_profile_link_debug_mode - enables some debug logs for the component, should you have issues with it

Notes:

  1. The lists for the settings custom_profile_link_user_field_ids, custom_profile_link_labels, and custom_profile_link_prefixes should all be the same length, potential to cause issues if they’re not.
  2. You can define duplicate ids in the custom_profile_link_user_field_ids field by adding underscores to the numbers for each duplicate entry.
  3. If you’d prefer to only have one link, with easier setup, you should use the official Custom Profile Link theme component.
6 Likes