Hey All,
I'm wanting to add a custom field to the message_macro template that shows the message posters user_id.
I've tried the code:
but it only outputs my user_id.
Any ideas?
I'm wanting to add a custom field to the message_macro template that shows the message posters user_id.
I've tried the code:
HTML:
<dl class="pairs pairs--justified">
<dt>{{ phrase('user_id') }}</dt>
<dd>
<span>{{ $xf.visitor.user_id }}</span>
</dd>
</dl>
Any ideas?