XF 1.2 Custom Username

Mike Edge

Well-known member
I'm trying to do the following, but it is just showing the code on the site.

Code:
    <h3 class="userText">


   <xen:if is="{$post.user_id} == 1">
    {
      Hi I am a custom name
      } else {
  <xen:username user="$user" itemprop="name" rich="true" />
      }
</xen:if>
            <xen:if hascontent="true">
 
Last edited:
Back
Top Bottom