• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Custom user field as link?


Active member

I just had a quick question. How can I make a custom user field as a link? For example, I display a custom user field in my postbits of the forum members' username of an online game we're a community of. I'd like to make the username link to the profiles of those usernames.

How can I do this?


Chris D

XenForo developer
Staff member

Use the "Value Display HTML" field in the General Options tab of the user field.

Something like:

<a href="http://www.your-online-game.com/{$valueUrl}">{$value}</a>