Witajcie wczoraj wgrałem rozszerzenie [HSC] Recent Posts (Sidebar Block) i zacząłem je edytować by wyglądało jak Ostatnie tematy , prawie wszystko zrobione tylko mam problem z zdjęciem obok nazwy tematu . Chciałbym żeby wyświetlał cie avatar osoby która to napisała a wyświetla mi sie zwykły avatar .
o to kod :
<div class='ipsSideBlock clearfix'>
<h3>{$this->lang->words['recentposts_title']}</h3>
<div class='_sbcollapsable'>
<ul class='ipsList_withminiphoto'>
<foreach loop="posts:$recentPosts as $post">
<li class='clearfix'>
{parse template="userSmallPhoto" group="global" params="array('last_poster_id' => $post['last_poster_id'], 'last_poster_id' => $post['last_poster_id'], 'pp_small_photo' => $post['pp_mini_photo'] )"}
<div class='list_content'>
<a href='{parse url="showtopic={$post['tid']}&view=getlastpost" base="public" template="showtopic" seotitle="{$post['title_seo']}"}' title='{$this->lang->words['view_last_post']}'>{$post['title']}</a>
</br>
<a href='{parse url="showuser={$post['last_poster_id']}" base="public" seotitle="{$post['seo_last_name']}" template="showuser"}'>{$post['last_poster_name']}</a> <span class='date'>{$post['last_post']}</span>
<br/>
</if>
<if test="lastPost:|:$this->settings['hsc_rp_post'] == 'L' and $post['post']">
{$post['post']}
</if>
</p>
</div>
</li>
</foreach>
</ul>
</div>
</div>
</if>