<{if $block.showgroups == true}> <{foreach item=group from=$block.groups}> <{foreach item=user from=$group.users}> <{/foreach}> <{/foreach}>

<{$group.name}>

<{$user.name}>'s avatar<{$user.name}>
<{$user.msglink}>
<{/if}>