kodları ekledim. ama ben dilber multicolor rc3 tema kullanıyorum.bu temada bugun onlie olanlar çalışmıyor.ama diğer temalarda (default,ctyscape ,clasic gibi). çalışıyor.dilbermulticolor rc3 te çalışması için nasıl bi değişiklik yapmak gerekir.Tesekkurler
Tema dizinde BoardIndex.template.php aç.
Bul::
// If they are logged in, but SP1 style information is off... show a personal message bar.
Önüne ekle:
// Users online today
echo '
<tr>
<td class="catbg" colspan="2"><b>', $txt['uot_users_online_today_title'], ' (', $context['num_users_online_today'], ')</b></td>
</tr><tr>
<td class="windowbg" width="20" valign="middle" align="center">
<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], ' ', $txt['uot_users_online_today_title'], '" border="0" />
</td>
<td class="windowbg2" width="100%">';
echo '
<div class="smalltext">';
echo $context['num_users_online_today'] == 1 ? $txt['uot_user_online_today'] : $txt['uot_users_online_today'];
// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online_today']))
echo ':<br />', implode(', ', $context['list_users_online_today']);
echo '
<br />', $context['show_stats'] && !$settings['show_sp1_info'] ? '
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>';
varsayılan temda langua dizininde Modifications.turkish.php dosyasını aç.
Bul:
?>
önüne ekle:
$txt['uot_users_online_today_title']='Bugün Online Olan Üyeler';
$txt['uot_user_online_today']='Bugün Online Olan Üyeler';
$txt['uot_users_online_today']='Bugün Online Olan Üyeler';
$txt['uot_total_users_online_today']='Bugün Online Olan Toplam Üye Sayısı';
$txt['uot_yesterday']='Dün ';