• 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?

TDUBS

Active member
#1
Hello,

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?

Thanks!
 

Chris D

XenForo developer
Staff member
#2
upload_2014-9-16_10-29-52.png

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

Something like:

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