2007-02-12, 02:40 PM
2007-02-12, 04:39 PM
Hello there..
Open showteam.php
Find
Replace with
Now find
Above it add
Now in the templates manager... open showteam_usergroup
Find
Replace it with
Find
above it add
Now open showteam_usergroup_user
Find
Above this line add
Repeat both template modification respectively to both showteam_moderators and showteam_moderators_mod
regards
Open showteam.php
Find
$query = $db->simple_select(TABLE_PREFIX."users", "uid, username, displaygroup, usergroup, ignorelist, hideemail, receivepms", "displaygroup IN ($groups_in) OR (displaygroup='0' AND usergroup IN ($groups_in)) OR uid IN ($users_in)", array('order_by' => 'username'));
Replace with
$query = $db->simple_select(TABLE_PREFIX."users", "uid, username, avatar, displaygroup, usergroup, ignorelist, hideemail, receivepms", "displaygroup IN ($groups_in) OR (displaygroup='0' AND usergroup IN ($groups_in)) OR uid IN ($users_in)", array('order_by' => 'username'));
Now find
//If the current group is a moderator group
if($usergroup['gid'] == 6)
Above it add
if($user['avatar'] != '')
{
$avatar = "<img src=\"".$user['avatar']."\" />";
}
Now in the templates manager... open showteam_usergroup
Find
colspan="3"
Replace it with
colspan="4"
Find
<td class="tcat"><span class="smalltext"><strong>{$lang->uname}</strong></span></td>
above it add
<td class="tcat"><span class="smalltext"><strong>Avatar</strong></span></td>
Now open showteam_usergroup_user
Find
<td width="80%" class="{$bgcolor}"><a href="member.php?action=profile&uid={$user['uid']}"><strong>{$user['username']}</strong></a></td>
change the 80% to 70%.. Above this line add
<td width="10%" class="{$bgcolor}">{$avatar}</td>
Repeat both template modification respectively to both showteam_moderators and showteam_moderators_mod
regards
2007-02-12, 05:05 PM
You are perfect.
Thank you so much.
Thank you so much.
2007-02-12, 08:29 PM
Hey there,
Could you put a screenshot here so I could check how it looks like ?
Thanks !
Could you put a screenshot here so I could check how it looks like ?
Thanks !