Inmessage_macros
template :
find
Add belowHTML:<div class="message-userExtras"> <xf:contentcheck>
HTML:<dl class="pairs pairs--justified"> <dt>User ID</dt> <dd>{{ $xf.visitor.user_id }}</dd> </dl>
View attachment 277969
<dl class="pairs pairs--justified">
<dt>User ID</dt>
<dd>{{ $user.user_id }}</dd>
</dl>
updating to Brogans code I get it as blank as well.It should be$xf.user.user_id
if it's available in that template.
if it's available in that template.
<dl class="pairs pairs--justified">
<dt>User ID</dt>
<dd>{{ $user.user_id }}</dd>
</dl>
Thanks @Nicolas FR I tired and still get some strange numbers, my account is the second one created and is giving me a "User ID8237368"Just use this code and it will works fine.
HTML:<dl class="pairs pairs--justified"> <dt>User ID</dt> <dd>{{ $user.user_id }}</dd> </dl>
As the Grenadier !I guess at this point I may just be special
Did you by chance import from another script?Ok, thanks for the feedback and advice, I guess at this point I may just be special![]()
We use essential cookies to make this site work, and optional cookies to enhance your experience.