• Web sitemizin içeriğine ve tüm hizmetlerimize erişim sağlamak için Web sitemize kayıt olmalı ya da giriş yapmalısınız. Web sitemize üye olmak tamamen ücretsizdir.

SMF İstatistik Alanı Eklemek

The Punisher

Kayıtlı Üye
Forum Yaşı
11 Yıl
Mesajlar
578
Tepkime puanı
220
BoardIndex.template.php de bunu bulun
Kod:
// Show YaBB SP1 style information... if ($settings['show_sp1_info']) { echo ' <tr> <td class="titlebg" colspan="2">', $txt[645], '</td> </tr> <tr> <td class="windowbg" width="20" valign="middle" align="center"> <a href="', $scripturl, '?action=stats"><img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" /></a> </td> <td class="windowbg2" width="100%"> <span class="middletext"> ', $context['common_stats']['total_posts'], ' ', $txt[95], ' ', $txt['smf88'], ' ', $context['common_stats']['total_topics'], ' ', $txt[64], ' ', $txt[525], ' ', $context['common_stats']['total_members'], ' ', $txt[19], '. ', $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b> <br /> ' . $txt[659] . ': <b>&quot;' . $context['latest_post']['link'] . '&quot;</b> ( ' . $context['latest_post']['time'] . ' )<br /> <a href="', $scripturl, '?action=recent">', $txt[234], '</a>', $context['show_stats'] ? '<br /> <a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', ' </span> </td> </tr>';
bununla değistir
Kod:
Kod:// Show YaBB SP1 style information... if ($settings['show_sp1_info']) { echo ' <tr> <td class="titlebg" colspan="2">', $txt[645], '</td> </tr> <tr> <td class="windowbg" width="20" valign="middle" align="center"> <a href="', $scripturl, '?action=stats"> <img src="', $settings['images_url'], '/icons/info.gif" alt="', $txt[645], '" border="0" /></a> </td> <td class="windowbg2" width="100%"> <table border="0" width="90%"><tr> <td class="smalltext"> <div style="float: ', !$context['right_to_left'] ? 'left' : 'right', '; width: 50%;">', $txt[490], ': <b>', $context['common_stats']['total_topics'], '</b></div>', $txt[489], ': <b>', $context['common_stats']['total_posts'], '</b><br />', !empty($context['latest_post']) ? ' ' . $txt[659] . ': &quot;' . $context['latest_post']['link'] . '&quot; (' . $context['latest_post']['time'] . ')<br />' : '', ' <a href="', $scripturl, '?action=recent">', $txt[234], '</a>', $context['show_stats'] ? '<br /> <a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', ' </td> <td width="32%" class="smalltext" valign="top"> ', $txt[488], ': <b><a href="', $scripturl, '?action=mlist">', $context['common_stats']['total_members'], '</a></b><br /> ', $txt[656], ': <b>', $context['common_stats']['latest_member']['link'], '</b><br />'; // If they are logged in, show their unread message count, etc.. if ($context['user']['is_logged']) echo ' ', $txt['smf199'], ': <b><a href="', $scripturl, '?action=pm">', $context['user']['messages'], '</a></b> ', $txt['newmessages3'], ': <b><a href="', $scripturl, '?action=pm">', $context['user']['unread_messages'], '</a></b>'; echo ' </td> </tr></table> </td> </tr>'; }
 
Geri
Üst