Bu modun kurulumu hem kolaydır hemde forumunuz daha hoş görünür bu modun kurulumundan sonra üyelistesinde her üyenin yanında avatarları çıkacaktır.
Kod:
// Directions: -----------------------------------------
› Open /templates/themename/memberlist_body.tpl
Find: >>>
<th class="thCornerR" nowrap="nowrap">{L_WEBSITE}</th>
After add: >>>
<th class="thCornerR" nowrap="nowrap">Avatar</th>
Find: >>>
<td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.WWW_IMG} </td>
After add: >>>
<td class="{memberrow.ROW_CLASS}" align="center"> {memberrow.AVATAR_IMG} </td>
Find: >>>
<td class="catbottom" colspan="9"
NOTE: if u have installed other hacks that modify the memberlist, there could be different nunber (not 9)
Replace with: >>>
<td class="catbottom" colspan="10"
› Open /memberlist.php
Find: >>>
$www = ( $row['user_website'] ) ? '<a href="' . $row['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';
After add: >>>
$avatar_img = ($row['user_avatar'] && $row['user_avatar_type']==2 ? '<img src=' . $row['user_avatar'] . '>' : ($row['user_avatar'] && $row['user_avatar_type']==3 ? '<img src=images/avatars/gallery/' . $row['user_avatar'] . '>' : false));
Find: >>>
'WWW' => $www,
After add: >>>
'AVATAR_IMG' => $avatar_img,