Рядом кто владелец группы будет его аватар.
Открываем файл group.php ищем // GET ACTIONS
И перед этим вставляем:
PHP:
$where = "(se_groupmembers.groupmember_rank=2 OR se_groupmembers.groupmember_rank=1) AND (se_groupmembers.groupmember_status='1')";
$moderators = $group->group_member_list(0, $total_members, "groupmember_rank DESC" , $where);
$smarty->assign('moderators', $moderators );
Комментируем это:
PHP:
// GET OFFICERS
//$where_officers = "se_groupmembers.groupmember_rank<>'0' AND se_groupmembers.groupmember_status='1' AND se_groupmembers.groupmember_approved='1'";
//$total_officers = $group->group_member_total($where_officers, 0);
//$officers = $group->group_member_list(0, $total_officers, "se_groupmembers.groupmember_rank DESC, se_users.user_username", $where_officers);
Открываем файл group.tpl
Заменяем это:
PHP:
{* SHOW OFFICERS *}
<table cellpadding='0' cellspacing='0' width='100%' style='margin-top: 10px;'>
<tr>
<td class='header'>{lang_print id=2000229}</td>
</tr>
<tr>
<td class='profile'>
{section name=officer_loop loop=$officers}
<div>
<a href='{$url->url_create("profile", $officers[officer_loop].member->user_info.user_username)}'>{$officers[officer_loop].member->user_displayname}</a>{if $officers[officer_loop].groupmember_rank == 2} {lang_print id=2000230}{/if}
{if $officers[officer_loop].groupmember_title != "" && $group->groupowner_level_info.level_group_titles == 1}
<div class='group_officer_title'>{$officers[officer_loop].groupmember_title}</div>
{/if}
{if !$smarty.section.officer_loop.last}<div style='height: 4px;'></div>{/if}
</div>
{/section}
</td>
</tr>
</table>
{* END OFFICERS *}
Этим
PHP:
<div class='portal_spacer'></div>
<div width='100%' style='margin-bottom: 10px;'>
<div class='header' >{lang_print id=2000229}</div>
<div class="portal_content">
<table cellpadding='0' cellspacing='0' align='left'>
{* LOOP THROUGH MODERATORS *}
{section name=moderator_loop loop=$moderators}
<tr>
<td class=''>
<a href='{$url->url_create('profile', $operators[operator_loop].member->user_info.user_username)}'>
<img src='{$moderators[moderator_loop].member->user_photo('./images/nophoto.gif')}' class='photo' border='0' title='pogledaj profil' width='{$misc->photo_size($moderators[moderator_loop].member->user_photo('./images/nophoto.gif'),'60','60','w')}'></a>
</td>
<td> </td>
<td >
<a href='{$url->url_create('profile', $moderators[moderator_loop].member->user_info.user_username)}'>{$moderators[moderator_loop].member->user_info.user_displayname}</a>
{if $moderators[moderator_loop].groupmember_rank==2}<br/><font color="#FF0000"><b><u>{lang_print id=2000086}</u></b></font>{/if}
<br/>
<font color="#0000FF">{$moderators[moderator_loop].groupmember_title}</font>
</td>
</tr>
{/section}
</table>
<div style="clear:both"></div>
</div>
</div>
Нашел на западном форуме )