• 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

#1
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
Code:
<xen:avatar user="$thread" size="s" img="true" />
and I have result
Code:
<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>
2016-05-26_23-49-41.png

I trying to debug and see that request from my widget doesn't have "avatar_date".
2016-05-26_23-56-53.png
How I can fix it?
 

Brogan

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

If so, you will need to post in the resource thread.
 
#3
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.