XF 1.5 How to use PHP Callback to display author resource ?

#1
With the intent to do this section (resource ) more personal, relationship between author and user, i would like to show the author resource at the end of page, as shown in the picture.

Q : How to use PHP Callback to display author resource ?

resource24.png
 
#2
i found this in xengalery_media_view ( Reverse engineering )

Code:
<xen:avatar user="$media" size="s" img="true" />
so, if i change media for resource, i get the avatar.

Code:
xen:avatar user="$resource" size="M" img="true" />
Now, only i need play with the style and costom field
 
Top