• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Avatars in custom sidebar

I'm trying insert last posts widget in custom sidebar, but avatars in thread list have default image.

To show avatars I'm using code
<xen:avatar user="$thread" size="s" img="true" />
and I have result
<a data-avatarhtml="true" class="avatar Av1s" href="members/raingod.1/"><img width="48" height="48" alt="Raingod" src="styles/default/xenforo/avatars/avatar_s.png"></a>

I trying to debug and see that request from my widget doesn't have "avatar_date".
How I can fix it?


XenForo moderator
Staff member
Is the widget you are referring to from an add-on?

If so, you will need to post in the resource thread.
But, when I swith of the add-on and insert code from template "sidebar_new_posts" to "thread_list" I have the same trouble with avatars.