(Not to be confused with the official component, “Custom Profile Link”)
Summary | Adds custom links to user’s profiles | |
Repository | GitHub - Firepup6500/discourse-custom-profile-link: Displays a custom "user field" as a link on a user's discourse profile | |
Install Guide | How to install a theme or theme component | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
A component that lets you add customizable links to user’s profiles.
User Profiles:
User Cards:
Settings:
custom_profile_link_user_field_ids
- a list of user fields to use for the external username fieldscustom_profile_link_labels
- a list of labels to use for the links, one per id incustom_profile_link_user_field_ids
custom_profile_link_prefixes
- a list of url prefixes to use for the links, one per id incustom_profile_link_user_field_ids
custom_profile_link_orgs
- a list of “organization” style links, following the format oflabel,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:
- The lists for the settings
custom_profile_link_user_field_ids
,custom_profile_link_labels
, andcustom_profile_link_prefixes
should all be the same length, potential to cause issues if they’re not. - You can define duplicate ids in the
custom_profile_link_user_field_ids
field by adding underscores to the numbers for each duplicate entry. - If you’d prefer to only have one link, with easier setup, you should use the official Custom Profile Link theme component.