Webmaster  Forumu  

Geri git   Webmaster Forumu > Web Sistemleri > Forum Sistemleri > SMF / Simple Machines Forum

SMF / Simple Machines Forum SMF versiyonlarını, bileşenleri, modlarını türkçe dil dosyalarını bu bölümde bulabilirsiniz.

Cevapla
 
Seçenekler Stil
Alt 07-13-2008, 01:04 PM   #1
Master
Webmaster
 
Master - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: May 2008
Bulunduğu yer: WD
Mesajlar: 368
Tecrübe Puanı: 5
Master is on a distinguished road
Standart Manuel Top 10 Kurulum

Top 10 Kurulumu ( Manuel)


Kurmadan önce lütfen yedek alın arkadaşlar.

boardindex.template.php de şu kodları bulun [eğer daha önce silmemişseniz bu kodları tabii]



Kod:
// This is the "Recent Posts" bar.
    if (!empty($settings['number_recent_posts']))
    {
        echo '
                <tr>
                    <td class="titlebg" colspan="2">', $txt[214], '</td>
                </tr>
                <tr>
                    <td class="windowbg" width="20" valign="middle" align="center">
                        <a href="', $scripturl, '?action=recent"><img src="', $settings['images_url'], '/post/xx.gif" alt="', $txt[214], '" /></a>
                    </td>
                    <td class="windowbg2">';

        // Only show one post.
        if ($settings['number_recent_posts'] == 1)
        {
            // latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.)
            echo '
                        <b><a href="', $scripturl, '?action=recent">', $txt[214], '</a></b>
                        <div class="smalltext">
                                ', $txt[234], ' &quot;', $context['latest_post']['link'], '&quot; ', $txt[235], ' (', $context['latest_post']['time'], ')<br />
                        </div>';
        }
        // Show lots of posts.
        elseif (!empty($context['latest_posts']))
        {
            echo '
                        <table cellpadding="0" cellspacing="0" width="100%" border="0">';

            /* Each post in latest_posts has:
                    board (with an id, name, and link.), topic (the topic's id.), poster (with id, name, and link.),
                    subject, short_subject (shortened with...), time, link, and href. */
            foreach ($context['latest_posts'] as $post)
                echo '
                            <tr>
                                <td class="middletext" valign="top" nowrap="nowrap"><b>', $post['link'], '</b> ', $txt[525], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</td>
                                <td class="middletext" align="right" valign="top" nowrap="nowrap">', $post['time'], '</td>
                            </tr>';
            echo '
                        </table>';
        }
        echo '
                    </td>
                </tr>';
    }
şununla değiştirin. o kadar

[eğer yukarıda verdiğim kodları daha önce silmişseniz ve nereye koyacağınızı bilmiyorsanız , bu kodu bulun



Kod:
// Show information about events, birthdays, and holidays on the calendar.

ve üstüne aşağıdaki kodları koyun]




Kod:
// This is the "Recent Posts" bar.Basit Top 10 ClupMania_
    if (!empty($settings['number_recent_posts']))
    {
        echo '
                <tr>
                    <td class="titlebg" colspan="2">', $txt[214], '</td>
                </tr>
                <tr>
                    <td class="windowbg" width="20" valign="middle" align="center">
                        <a href="', $scripturl, '?action=recent"><img src="', $settings['images_url'], '/post/xx.gif" alt="', $txt[214], '" /></a>
                    </td>
                    <td class="windowbg2">';

        // Only show one post.
        if ($settings['number_recent_posts'] == 1)
        {
            // latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.)
            echo '
                        <b><a href="', $scripturl, '?action=recent">', $txt[214], '</a></b>
                        <div class="smalltext">
                                ', $txt[234], ' &quot;', $context['latest_post']['link'], '&quot; ', $txt[235], ' (', $context['latest_post']['time'], ')<br />
                        </div>';
        }
        // Show lots of posts.
        elseif (!empty($context['latest_posts']))
        {
            echo '
                        <table  class="windowbg2" cellspacing="1" width="100%" cellpadding="0"  border="0">
                        <tr>
        <th class="windowbg" align="left" width="29%">', $txt['smf267'], '</th>
                                    <th class="windowbg" align="left" width="29%">', $txt[64], '</th>
                                    <th class="windowbg" align="left" width="13%">', $txt[197], '</th>                        
                                    <th class="windowbg" align="left" width="29%">', $txt[317], '</th>
                                </tr>';
                        

            /* Each post in latest_posts has:
                    board (with an id, name, and link.), topic (the topic's id.), poster (with id, name, and link.),
                    subject, short_subject (shortened with...), time, link, and href. */
            foreach ($context['latest_posts'] as $post)
                echo '
                                
                            <tr>
            <td class="windowbg" valign="middle" width="29%">', $post['board']['link'], '</td>                                <td class="windowbg" valign="middle" width="29%"><a href="', $post['href'],'">', $post['short_subject'], '</td>
                                    <td class="windowbg" valign="middle" width="13%">', $post['poster']['link'], '</td>
                                    <td class="windowbg" valign="middle" width="29%">', $post['time'], '</td>
                                
                            </tr>';
            echo '
                        </table>';

        }
        echo '
                    </td>
                </tr>';
    }
Master isimli Üye şimdilik offline konumundadır   Alıntı ile Cevapla
Cevapla


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil

Yetkileriniz
Konu Acma Yetkiniz Yok
Cevap Yazma Yetkiniz Yok
Eklenti Yükleme Yetkiniz Yok
Mesajınızı Değiştirme Yetkiniz Yok

BB code is Açık
Smileler Açık
[IMG] Kodları Açık
HTML-Kodu Kapalı

Hizli Erisim


WEZ Format +3. Şuan Saat: 04:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
sikiş | webmaster