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

XF 1.2 Link User's Trophy Title In Postbit To A Page?

Discussion in 'XenForo Questions and Support' started by ProCom, Oct 31, 2013.

  1. ProCom

    ProCom Active Member

    I'd love to promote user titles and trophy user titles. I have a lot of members that will wonder how they get their titles and I thought it would be helpful if titles linked to a page that explained what they are and how to get them.

    Is there a way to get the postbit text for user's titles to link to a page?

    (while I'm at it, I'd love to link all the elements in the postbit to something relevant, so if that's also applicable I'd love to learn how to do that as well)

  2. Brogan

    Brogan XenForo Moderator Staff Member

    You could edit the message_user_info template and edit this line:
    <xen:if hascontent="true"><em class="userTitle" itemprop="title"><xen:contentcheck>{xen:helper userTitle, $user, 1, 1}</xen:contentcheck></em></xen:if>
    to add an:
     <a href="{xen:link 'pages/titles/'}">
    for example.

    However, if you wanted each title to link to a different URL then that would require an add-on.

Share This Page