Webmaster Genel Forumları kategorimiz yenilendi!
SMF 2.0 sürümleri için yeni modül/eklentiler sitemizde! İlgili kategorilere gözatabilirsiniz.
Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
Hoşgeldiniz Ziyaretçi. Lütfen giriş yapın veya kayıt olun
Tarih/Saat: 22 Mayıs 2012, 04:44:29
Sayfa: [1] Yazdır
Gönderen Konu: SMF 2.0.1 Ana Sayfada Alt Bölümleri Gizleyin  (Okunma sayısı 276 defa)
Usta Üye
*
İleti: 100
Teşekkür Sayısı: 4
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
« : 03 Kasım 2011, 03:33:03 »







Forumunuzun ana sayfasında alt bölümlerin görünmemesini sağlayacaktır.2.0.1'de denenmiştir.

Uygulamayı yapmakta zorlanacak yeni arkadaşlar varsa sıfır forum'a göre ekte verdiğim BoardIndex.template dosyasını Themes klasörüne atarak kullanabilirler.

Bu işlemi yapmadan önce veya dosyayı sunucunuza atmadan önce mutlaka yedek alınız!


BoardIndex.template 'de Bul ve Sil

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
// Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...)
            if (!empty($board['children']))
            {
               // Sort the links into an array with new boards bold so it can be imploded.
               $children = array();
               /* Each child in each board's children has:
                     id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */
               foreach ($board['children'] as $child)
               {
                  if (!$child['is_redirect'])
                     $child['link'] = '<a href="' . $child['href'] . '" ' . ($child['new'] ? 'class="new_posts" ' : '') . 'title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')">' . $child['name'] . ($child['new'] ? '</a> <a href="' . $scripturl . '?action=unread;board=' . $child['id'] . '" title="' . $txt['new_posts'] . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')"><img src="' . $settings['lang_images_url'] . '/new.gif" class="new_posts" alt="" />' : '') . '</a>';
                  else
                     $child['link'] = '<a href="' . $child['href'] . '" title="' . comma_format($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'] > 0 ? '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 id="board_', $board['id'], '_children">
                  <td colspan="3" class="children windowbg">
                     <strong>', $txt['parent_boards'], '</strong>: ', implode(', ', $children), '
                  </td>
               </tr>';
            }




Bul ve Sil

Kod: Linkleri goruntulemenize izin verilmiyor. Kayit olun veya Giris yapin
', !empty($board['children']) ? ' rowspan="2"' : '', '
« Son Düzenleme: 03 Kasım 2011, 03:35:16 Gönderen: webtime » Kayıtlı

Madem ki buradayım..O halde webtime
Forum Elemanı
*
İleti: 34
Teşekkür Sayısı: 0
Çevrimdışı Çevrimdışı
Cinsiyet: Bay
« Yanıtla #1 : 07 Aralık 2011, 21:12:01 »

o alt bölümleri alt alta nasıl yaparız kardeş
Kayıtlı
Sayfa: [1] Yazdır 
Etiketler: