D3monw3st12345
Member
Hello, i'm looking to grab the users username if logged in. Here's the css code I have which worked before, but now doesn't seem to be working.
Here's what it looks like: https://gyazo.com/592c1007ae10d47920464db018dd083c
Code:
<xen:if is="{$visitor.user_id}">
<span class="loginSuccess">
WELCOME {xen:phrase username, 'x={$visitor.username}'}!
</span>
</xen:if>
Here's what it looks like: https://gyazo.com/592c1007ae10d47920464db018dd083c