Hey first of all great mod.
Only one question I have to ask.. after playing around a bit.. I decided to reduce the number of columns...
So I have the users avatar and their username underneath. Both are clickable and will reach the user's profile. However, some avatars are quite large.
Is there a way to force the avatars to shrink, much like a thumbnail, so that each member row is a similar size, unless no avatar can be found??
Here's a copy of my code:
Code: Select all
{TPL_HDR1}<span class="cattitle"> </span>{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th height="25" class="thCornerL" nowrap="nowrap">#</th>
<th class="thTop" nowrap="nowrap">User</th>
<th class="thTop" nowrap="nowrap">Contact</th>
<th class="thTop" nowrap="nowrap">{L_FROM}</th>
<th class="thTop" nowrap="nowrap">{L_JOINED}</th>
<th class="thTop" nowrap="nowrap">{L_POSTS}</th>
</tr>
<!-- BEGIN memberrow -->
<tr>
<td class="row4" align="center"><span class="gen"> {memberrow.ROW_NUMBER} </span></td>
<td height="25" class="{memberrow.ROW_CLASS}" align="center"><a href="{memberrow.U_VIEWPROFILE}">{memberrow.AVATAR_IMG}</a></br><span><a href="{memberrow.U_VIEWPROFILE}">{memberrow.USERNAME}</a></span></br></td>
<td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.PM_IMG} </br> {memberrow.EMAIL_IMG} </br> {memberrow.WWW_IMG} </td>
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.FROM}</span></td>
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
</tr>
<!-- END memberrow -->
</table>{TPL_FTR}
Cheers:)