XF 2.2 using Custom User Field output in another Custom User Field?

Martyn

Active member
my idea is to have a discord user link to discord, but it only does it by IDs so my plan was to have 2 custom user fields, 1 with the name, and another with the ID,

So it would just say Discord: Martyn but it would link to the userid, But Im struggling to get it to show the Name for the link.

I've Google'd and searched and found ways that might work but aren't. I must be missing something, What I'm using is
Code:
<a href="https://discord.com/users/{$value}" target="blank">{$user.Profile.custom_fields.discord_name}</a>

with discord_name being the ID of the custom user field which supplies the name via text.
 
Back
Top Bottom