admin   30-07-2024, 00:16
#1
Görüntü:
[Resim: W0JRTT.png]
FTP > showteam.php açın.
Bunu bulun:
Kod:
$query = $db->simple_select("users", "uid, username, displaygroup, usergroup, ignorelist, hideemail, receivepms, lastactive, lastvisit, invisible, away", "displaygroup IN ($groups_in) OR (displaygroup='0' AND usergroup IN ($groups_in)) OR uid IN ($users_in)", array('order_by' => 'username'));
Değiştirin:
Kod:
$query = $db->simple_select("users", "uid, username, displaygroup, if(avatar='', './images/default_avatar.png',avatar) as avatar, usergroup, ignorelist, hideemail, receivepms, lastactive, lastvisit, invisible, away", "displaygroup IN ($groups_in) OR (displaygroup='0' AND usergroup IN ($groups_in)) OR uid IN ($users_in)", array('order_by' => 'username'));

Admin Kp > Temalar Şablonlar > Şablonlar > Kullanılan Tema > Forum Yöneticileri - [showteam] Şablonlar > showteam_usergroup_user açıp bu kod ile değiştirin.
Kod:
<tr>
<td width="75%" class="{$bgcolor}">
<img src="{$user['avatar']}" alt="Avatarı" title="Avatarı" width="40px" height="40px" />
<img src="{$theme['imgdir']}/buddy_{$status}.png" title="{$lang->$status}" alt="{$lang->$status}" style="vertical-align: middle;" /><a href="{$user['profilelink']}"><strong>{$user['username']}</strong></a></td>
<td width="15%" class="{$bgcolor}">{$user['lastvisit']}</td>
<td width="5%" class="{$bgcolor}"><div class="postbit_buttons">{$emailcode}</div></td>
<td width="5%" class="{$bgcolor}"><div class="postbit_buttons">{$pmcode}</div></td>
</tr>
Son Düzenleme: 30-07-2024, 09:45, Düzenleyen: admin.
  
Konuyu Okuyanlar: 2 Ziyaretçi
Türkçe Çeviri: MyBBForum, Yazılım: MyBB, © 2002-2024 MyBB Group.