Скорее всего надо работать с груп.пхп и с этим кодом для тпл
PHP:
{* DISCUSSION TAB *}
{if $allowed_to_discuss != 0 || $total_topics != 0}
<div id='group_discussions'{if $v != 'discussions'} style='display: none;'{/if}>
<div>
<div class='group_headline' style='float: left;'>{lang_print id=2000257} ({$total_topics})</div>
{if $allowed_to_discuss}
<div style='float: right;'>
<a href='group_discussion_post.php?group_id={$group->group_info.group_id}'><img src='./images/icons/group_discussion_post16.gif' border='0' class='button' style='float: left;'>{lang_print id=2000258}</a>
<div style='clear: both; height: 0px;'></div>
</div>
{/if}
<div style='clear: both; height: 0px;'></div>
</div>
{* DISPLAY NO RESULTS MESSAGE *}
{if $total_topics == 0}
<br>
<table cellpadding='0' cellspacing='0'>
<tr><td class='result'>
<img src='./images/icons/bulb16.gif' border='0' class='icon'>{lang_print id=2000259}
</td></tr>
</table>
{/if}
{* DISPLAY PAGINATION MENU IF APPLICABLE *}
{if $maxpage_topics > 1}
<div style='text-align: center;'>
{if $p_topics != 1}<a href='{$url->url_create("group", $smarty.const.NULL, $group->group_info.group_id)}&v=discussions&p={math equation="p-1" p=$p_topics}'>« {lang_print id=182}</a>{else}<font class='disabled'>« {lang_print id=182}</font>{/if}
{if $p_start_topics == $p_end_topics}
| {lang_sprintf id=184 1=$p_start_topics 2=$total_topics} |
{else}
| {lang_sprintf id=185 1=$p_start_topics 2=$p_end_topics 3=$total_topics} |
{/if}
{if $p_topics != $maxpage_topics}<a href='{$url->url_create("group", $smarty.const.NULL, $group->group_info.group_id)}&v=discussions&p={math equation="p+1" p=$p_topics}'>{lang_print id=183} »</a>{else}<font class='disabled'>{lang_print id=183} »</font>{/if}
</div>
{/if}
<table cellpadding='0' cellspacing='0' width='100%' class='group_discussion_table' style='margin-top: 5px; margin-bottom: 5px;'>
{section name=topic_loop loop=$topics}
<tr>
<td class='group_discussion_topic{cycle values="1,1,1,2,2,2"}' nowrap='nowrap' style='text-align: center;' width='40'>
{lang_sprintf id=2000260 1=$topics[topic_loop].total_posts-1}
</td>
<td class='group_discussion_topic{cycle values="1,1,1,2,2,2"}'>
<table cellpadding='0' cellspacing='0'>
<tr>
<td style='vertical-align: top;'>
{if !$topics[topic_loop].grouptopic_closed}
<div><img src='./images/icons/group_discussion16.gif' border='0' class='icon'></div>
{else}
<div><img src='./images/icons/group_discussion_closed16.gif' border='0' class='icon'></div>
{/if}
{if $topics[topic_loop].grouptopic_sticky}
<div><img src='./images/icons/group_discussion_stickied16.gif' border='0' class='icon' /></div>
{/if}
</td>
<td style='vertical-align: top;'>
<div style='font-weight: bold;'>
<a href='{$url->url_create("group_discussion", $smarty.const.NULL, $group->group_info.group_id, $topics[topic_loop].grouptopic_id)}'>
{$topics[topic_loop].grouptopic_subject}
</a>
</div>
<div style='color: #777777; font-size: 7pt;'>
{assign var='datecreated_vars' value=$datetime->time_since($topics[topic_loop].grouptopic_date)}
{capture assign='datecreated'}{lang_sprintf id=$datecreated_vars[0] 1=$datecreated_vars[1]}{/capture}
{if $topics[topic_loop].creator->user_exists}
{lang_sprintf id=2000261 1=$datecreated 2=$url->url_create('profile', $topics[topic_loop].creator->user_info.user_username) 3=$topics[topic_loop].creator->user_displayname}
{else}
{if $topics[topic_loop].grouptopic_creatoruser_id != 0}
{capture assign='creator'}{lang_print id=1071}{/capture}
{else}
{capture assign='creator'}{lang_print id=835}{/capture}
{/if}
{lang_sprintf id=2000261 1=$datecreated 2=$creator}
{/if}
- {lang_sprintf id=2000262 1=$topics[topic_loop].grouptopic_views}
{if $group->user_rank == 2 || $group->user_rank == 1}
- [ <a href='javascript:void(0);' onClick="confirmDelete('{$topics[topic_loop].grouptopic_id}')">{lang_print id=155}</a> ]
{/if}
</div>
</td>
</tr>
</table>
</td>
<td class='group_discussion_topic{cycle values="1,1,1,2,2,2"}_end' nowrap='nowrap'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td width='1'>
<img src='{if $topics[topic_loop].lastposter->user_exists}{$topics[topic_loop].lastposter->user_photo("./images/nophoto.gif", TRUE)}{else}./images/nophoto.gif{/if}' class='photo' width='35' height='35' />
</td>
<td style='padding-left: 8px;'>
<div>
{if $topics[topic_loop].lastposter->user_exists}
{lang_sprintf id=2000263 1=$url->url_create("group_discussion_post", $smarty.const.NULL, $group->group_info.group_id, $topics[topic_loop].grouptopic_id, $topics[topic_loop].grouppost_id) 2=$url->url_create('profile', $topics[topic_loop].lastposter->user_info.user_username) 3=$topics[topic_loop].lastposter->user_displayname}
{else}
{if $topics[topic_loop].grouppost_authoruser_id != 0}
{capture assign='lastposter'}{lang_print id=1071}{/capture}
{else}
{capture assign='lastposter'}{lang_print id=835}{/capture}
{/if}
{lang_sprintf id=2000265 1=$url->url_create("group_discussion_post", $smarty.const.NULL, $group->group_info.group_id, $topics[topic_loop].grouptopic_id, $topics[topic_loop].grouppost_id) 2=$lastposter}
{/if}
</div>
<div>
{assign var="grouppost_date" value=$datetime->time_since($topics[topic_loop].grouppost_date)}
{lang_sprintf id=$grouppost_date[0] 1=$grouppost_date[1]}
</div>
</td>
</tr>
</table>
</td>
</tr>
{/section}
</table>