Stockwalker
Active member
I would like to store the username like this:
<span id='usernameFromXenForo' style='display:none'>{xen:helper dump, $visitor.username}</span>
However, this is undefined.
If I don't put it between HTML tags, it IS defined.
How do I achieve this? Or how else may I keep a reference to visitor.username?
<span id='usernameFromXenForo' style='display:none'>{xen:helper dump, $visitor.username}</span>
However, this is undefined.
If I don't put it between HTML tags, it IS defined.
How do I achieve this? Or how else may I keep a reference to visitor.username?