İyinet'e Hoşgeldiniz!

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

Kayıt Ol!

Alt bölüm Hakkında..

izmirliates

0
İyinet Üyesi
Katılım
29 Ocak 2010
Mesajlar
22
Reaction score
0
Konum
İzmir
Arkadaşlar smf sitemde alt forumları aşağıdaki şekilde nasıl yapabilirim?

akakaka.png


Benimki şu şekilde:

gndfem.png
 

rebelpirate

0
İyinet Üyesi
Onaylı Üye
Katılım
11 Şubat 2010
Mesajlar
10
Reaction score
0
forumun smf ise normalde ilk resimdeki gibi çıkması lazım. ikinci resimdeki gibi çıkması için mod kurman gerekir.
 

HeroTürk

0
İyinet Üyesi
Onaylı Üye
Katılım
26 Mayıs 2010
Mesajlar
53
Reaction score
0
Konum
İstanbul /Esenyurt
evet arkadaşım sürümne göre bunlardan birisini yapabilirsin ama lütfen kodu yuklemeden önce yedek al

1.x versiyonu için.
2'li olarak:
BoardIndex.template.php'de bulun:
Kod:
foreach ($board['children'] as $child)
                    {
                            $child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
                            $children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : $child['link'];
                    }
                    echo '
            <tr>
                <td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
                    <span class="smalltext"><b>', $txt['parent_boards'], '</b>: ', implode(', ', $children), '</span>
                </td>
Değiştirn

Kod:
foreach ($board['children'] as $child)
                    {
                            $child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
                            $children[] = $child['new'] ? '<img src="' . $settings['images_url'] . '/on.gif" alt="' . $txt[333] . '" width="15" height="15" style="vertical-align: middle; margin-left: 2px;" /><b>' . $child['link'] . '</b>' : '<img src="' . $settings['images_url'] . '/off.gif" alt="' . $txt[334] . '" width="15" height="15" style="vertical-align: middle; margin-right: 2px;" />' . $child['link'];
                    }
                    echo '
            <tr>
                <td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
                    <table>
                        <tr>';
                    foreach ($children as $key => $child)
                    {
                       [COLOR="Red"] if ($key % 2 == 0 && $key != 0)[/COLOR]
                            echo '
                        </tr>
                        <tr>';
                        echo '
                            <td style="padding-left: 10px;"><span class="smalltext">', $child, '</span></td>';
                    }
                        echo '
                        </tr>
                    </table>
                </td>
kırmızı işaretli yerdeki 2 sayısını arttırırsanı arkadaşlar sütün sayısı artmış olur

evet şimdi 2.0 sürümleri için
2'li olarak:
BoardIndex.template.php'de bulun:
Kod:
foreach ($board['children'] as $child)
                    {
                        if (!$child['is_redirect'])
                            $child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (' . $txt['board_topics'] . ': ' . $child['topics'] . ', ' . $txt['posts'] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
                        else
                            $child['link'] = '<a href="' . $child['href'] . '" title="' . $child['posts'] . ' ' . $txt['redirects'] . '">' . $child['name'] . '</a>';
                        // Has it posts awaiting approval?
                        if ($child['can_approve_posts'] && ($child['unapproved_posts'] | $child['unapproved_topics']))
                            $child['link'] .= ' <a href="' . $scripturl . '?action=moderate;area=postmod;sa=' . ($child['unapproved_topics'] > $child['unapproved_posts'] ? 'topics' : 'posts') . ';brd=' . $child['id'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . sprintf($txt['unapproved_posts'], $child['unapproved_topics'], $child['unapproved_posts']) . '" class="moderation_link">(!)</a>';
                        $children[] = $child['new'] ? '<strong>' . $child['link'] . '</strong>' : $child['link'];
                    }
                    echo '
            <tr>
                <td class="windowbg3 smalltext largepadding"><strong>', $txt['parent_boards'], '</strong>: ', implode(', ', $children), '</td>
Değiştirin

Kod:
foreach ($board['children'] as $child)
                    {
                        if (!$child['is_redirect'])
                            $child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (' . $txt['board_topics'] . ': ' . $child['topics'] . ', ' . $txt['posts'] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
                        else
                            $child['link'] = '<a href="' . $child['href'] . '" title="' . $child['posts'] . ' ' . $txt['redirects'] . '">' . $child['name'] . '</a>';
                        // Has it posts awaiting approval?
                        if ($child['can_approve_posts'] && ($child['unapproved_posts'] | $child['unapproved_topics']))
                            $child['link'] .= ' <a href="' . $scripturl . '?action=moderate;area=postmod;sa=' . ($child['unapproved_topics'] > $child['unapproved_posts'] ? 'topics' : 'posts') . ';brd=' . $child['id'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . sprintf($txt['unapproved_posts'], $child['unapproved_topics'], $child['unapproved_posts']) . '" class="moderation_link">(!)</a>';
                        $children[] = $child['new'] ? '<img src="' . $settings['images_url'] . '/on.gif" alt="' . $txt['new_posts'] . '" width="15" height="15" style="vertical-align: middle; margin-left: 2px;" /><strong>' . $child['link'] . '</strong>' : '<img src="' . $settings['images_url'] . '/off.gif" alt="' . $txt['old_posts'] . '" width="15" height="15" style="vertical-align: middle; margin-right: 2px;" />' . $child['link'];
                    }
                    echo '
            <tr>
                <td class="windowbg3 smalltext largepadding">
                    <table>
                        <tr>';
                    foreach ($children as $key => $child)
                    {
                        [COLOR="red"]if ($key % 2 == 0 && $key != 0)[/COLOR]
                            echo '
                        </tr>
                        <tr>';
                        echo '
                            <td style="padding-left: 10px;">', $child, '</td>';
                    }
                        echo '
                        </tr>
                    </table>
                </td>

aynı işlem burada geçerli 2 yazan yeri kendinize göre ayarlayabilirsiniz !

Alıntıdır Arkadaşlar
Bizzat Kendi sitemde denedım arkadaşlar
 

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