1. 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?

Discussion in 'XenForo Questions and Support' started by TDUBS, Sep 16, 2014.

  1. TDUBS

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

  2. Chris D

    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>
    TDUBS likes this.
  3. TDUBS

    TDUBS Active Member

    Thanks, this did it. :)

Share This Page