Tutorials Enable Customized Username Title After Signing Into Account [PAGE_CONTAINER]

Marks-Man

Administrator
Joined: Mar 15, 2021
Messages: 975
Resources: 402
Points: 93
Reaction score: 793
Go to your theme Template find "PAGE_CONTAINER"

Go to line 192 and replace following code :)

<xf:avatar user="$xf.visitor" size="xxs" href="" title="" />
<span class="p-navgroup-linkText">{$xf.visitor.username}</span>


with

<a class="menuTrigger" ria-expanded="false" aria-haspopup="true" data-xf-click="menu" role="button" tabindex="0">
<xf:avatar user="{$xf.visitor}" defaultname="{$xf.visitor}" size="xxs" href="" title="" rich="true"/>
<xf:username user="{$xf.visitor}" defaultname="{$xf.visitor}" size="xxs" href="" title="" rich="true"/>
</a>
 
  • Tags
    2.2.x custom panel user xenforo
  • Top