XF 2.2 Calling a specific user in notice/widget areas


Well-known member
I tried to avoid making this thread. I checked https://xenforo.com/docs/dev/template-syntax/ and https://xenforo.com/community/resou...ositions-navigation-entries-and-widgets.8041/. Then I searched a bunch. But I'm missing it somehow.

How do you display a rich username for a specific user ID in a notice/widget?

I'm all like:
<xf:username user="$xf.user_id????" rich="true" notooltip="true" />

Trial and error isn't working out for me on this one. 🤯

Edit: -- I did this which is fine for now:
<a href="/members/tyler.1/"><span class="username--style3">Tyler</span></a>
Top Bottom