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

Custom Link Fields

Discussion in 'XenForo Questions and Support' started by Drae, Oct 3, 2012.

  1. Drae

    Drae Active Member

    For custom fields, I've figured out how to make them show up below the avatar, and I have one at the moment that is specified to be a URL. Is it possible to have it so that it is actually a clickable link, and displays like this, "Field Name: Link"?
  2. HenrikHansen

    HenrikHansen Well-Known Member

  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Create a new user field:

    Admin CP -> Users -> Custom User Fields

    To create the link you need to specify the HTML:

    General Options: Value Display HTML

    For example:

    <a href="{$value}">Link</a>
    Also, there is this option you need to enable:

    General Options: Viewable in message user info

    In addition, make sure this is enabled in your style:

    Admin CP -> Appearance -> Style Properties -> Message Elements -> Show custom user fields

    Now when a user enters a value into that field it will show the link in their posts.
    ProCom and Drae like this.
  4. Drae

    Drae Active Member

    Thanks guys!

Share This Page