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

    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!
     
  2. Chris D

    Chris D XenForo Developer Staff Member

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

    TDUBS Active Member

    Thanks, this did it. :)
     

Share This Page