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

XF 1.5 xen:avatar help

#1
What is the data I need to pass xen:avatar in node_forum_level_2? I'm trying to get the avatar of the latest poster in a thread to appear next to the username for the latest post on the forum index. I'm just having a hard time figuring out the proper data I can pass to it to display the correct avatar.

For example:


I've searched through the core template for examples, but am not finding anything I can use.

Any help is greatly appreciated. Thanks! :)
 

Martok

Well-known member
#2
The New Posts block does this already (as you can set on the forum index here's on XenForo). Or are you talking about something different?
 
#3
That's not quite what I mean. I mean for each forum on the index, you can see the latest thread title, and the author. I would like to display the avatar of the author. The problem is, I can't figure out what array I can pass to show a users avatar.