İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

Vbulletin Stili İstatistikler

Nicholas

0
İyinet Üyesi
Katılım
9 Nisan 2008
Mesajlar
0
Reaction score
0
boardindex.template aç
bul ve sil
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>"' . $context['latest_post']['link'] . '"</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>';
    }

bul:
Kod:
    // "Users online" - in order of activity.
bu koddan ?> olan yere kadar bul

değiştir
Kod:
    // "Users online" - in order of activity.
    echo '
			 <tr>
				<td class="titlebg" colspan="2"><font style="font-size: 8pt">Şu an forumumuzda    
				    ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'],' bulunmaktadır</font></td>
			 </tr>
<tr>
				<td rowspan="2" class="windowbg" width="20" valign="middle" align="center">
				    ', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '
				</td>

    <td class="windowbg2" width="100%">
				    <span class="smalltext">
					   Online Rekorumuz [', $modSettings['mostOnline'], ' üye ] ile  [' , timeformat($modSettings['mostDate']), '] Gerçekleşmiştir
				    </span>
				

				';

    // Handle hidden users and buddies.
    if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))
    {
	   echo ' (';

	   // Show the number of buddies online?
	   if ($context['show_buddies'])
		  echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];

	   // How about hidden users?
	   if (!empty($context['num_users_hidden']))
		  echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];

	   echo ')';
    }

    echo $context['show_who'] ? '</a>' : '', '
				    <div class="smalltext">';

    // Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
    if (!empty($context['users_online']))
	   echo '
					   ', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

    echo '
					   <br />
					   ', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
				    </div>
				</td>
			 </tr><tr>			 ';

    // If they are logged in, but SP1 style information is off... show a personal message bar.
    if ($context['user']['is_logged'] && !$settings['show_sp1_info'])
    {
	    echo '
			 <tr>
				<td class="titlebg" colspan="2">', $txt[159], '</td>
			 </tr><tr>
				<td class="windowbg" width="20" valign="middle" align="center">
				    ', $context['allow_pm'] ? '<a href="' . $scripturl . '?action=pm">' : '', '<img src="', $settings['images_url'], '/message_sm.gif" alt="', $txt[159], '" />', $context['allow_pm'] ? '</a>' : '', '
				</td>
				<td class="windowbg2" valign="top">
				    <b><a href="', $scripturl, '?action=pm">', $txt[159], '</a></b>
				    <div class="smalltext">
					   ', $txt[660], ' ', $context['user']['messages'], ' ', $context['user']['messages'] == 1 ? $txt[471] : $txt[153], '.... ', $txt[661], ' <a href="', $scripturl, '?action=pm">', $txt[662], '</a> ', $txt[663], '
				    </div>
				</td>
			 </tr>';
    }

    // Show YaBB SP1 style information...

    if ($settings['show_sp1_info'])
    {
    echo '
			 <tr>
				<td class="titlebg" colspan="2">Forum İstatistikleri</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="smalltext">
					   Konular: ', $context['common_stats']['total_topics'], ', Mesajlar: ', $context['common_stats']['total_posts'], ', Üyeler: ', $context['common_stats']['total_members'], '<br> Son Kayıt Olan Üyemiz: <b> [', $context['common_stats']['latest_member']['link'], ']</b>
				    
				    </span>
				</td>
			 </tr>';

    }
    echo '
				    
					   ', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
				    </div>
					</td>
			 </tr>';



    echo '
		  </table>
	   </tr></div>
    </div>';
}

?>


Anlatım bana aittir. :D
Görünüm:
vbwg0.png
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Backlink ve Tanıtım Yazısı için iletişime geçmek için Skype Adresimiz: .cid.1580508955483fe5

Üst