Having an issue where the links are not properly navigating to the user’s social media profile. Looks like it just appends the url of whatever page you happen to be on with the custom user field.
So far I’ve noticed this for Steam and Discord.
Looking at the github repo in links-settings.js, there’s no base: or baseregex: lines for Steam and Discord…Bluesky and Twitter (sorry, X the everything app) work fine, and they have both of those lines, so perhaps that’s the issue?
{
name: "Discord",
icon: "fab-discord",
link: {
value: settings.discord_custom_field_name,
},
},
{
name: "Steam",
icon: "fab-steam",
link: {
value: settings.steam_custom_field_name,
},
},
For Bluesky:
{
name: "Bluesky",
icon: "fab-bluesky",
link: {
value: settings.bluesky_custom_field_name,
base: "https://bsky.app/profile/",
baseregex: "^http(s)?://(www.)?bsky.app/profile/",
},
},
For Twitter:
{
name: "X",
icon: "fab-twitter",
link: {
value: settings.twitter_custom_field_name,
base: "https://twitter.com/",
baseregex: "^http(s)?://(www.)?twitter.com/",
},
},
Skimming through the rest of the entries and looks like these don’t have base: or baseregex: lines either, but I don’t have a live example of them to test out.
- mastodon
- discord
- steam
- bandcamp
(edited to add) I went ahead and created a pull request:
09096b8: adding the base urls for email, steam, and linkedin
0ec40a0: added discord, bandcamp, and mastodon, and updated readme. I did this separately because bandcamp and mastodon will have different base URLs depending on the user, they’re not consistent; and for Discord, the user would enter their User ID and not their username, so it felt like it would need explaining in the readme.