Toplam 3 adet sonuctan sayfa basi 1 ile 3 arasi kadar sonuc gösteriliyor
  1. #1

    Standart smf alt kategoriler 2.0.11 için

    ekte görüldüğü gibi alt kategorileri nasıl yapabiliriz. Sürüm 2.0.11

    Eklenti 270

  2. #2

    Standart

    Bu ve diğer SMF konularıyla [MENTION=3]bolubeyi[/MENTION] hocam ilgilenecektir.

  3. #3

    Standart

    Eklenti 274Eklenti 274Ekteki Aligned_and_Bilateral_Child_Boards_rc4-5 modunu kurunuz.
    Sonra da
    index.css
    Bul:
    Kod:
    fieldset
    {
    	border: 1px solid #c4c4c4;
    	padding: 1em;
    	margin: 0 0 0.5em 0;
    }
    Değiştir:
    Kod:
    fieldset
    {
    	border: 1px solid #ff0000;
    	padding: 1em;
    	margin: 0 0 0.5em 0;
    	border-radius: 5px;
    }
    BoardIndex.template.php
    Bul:
    Kod:
    {
                // 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)
                   {
    	       $child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (Konu: ' . $child['topics'] . ', Mesaj: ' . $child['posts'] . ')">' . $child['name'] . '</a>';
                         $children[] = $child['new'] ? '<img style="margin-right:5px;" src="' . $settings['images_url'] . '/new_some.png" width="12" height="12" alt=""/><b>' . $child['link'] . '</b>' : '<img style="margin-right:5px;" src="' . $settings['images_url'] . '/new_none.png" width="12" height="12" alt=""/>' . $child['link'];                     
                   }
    
                   echo '
                   <table style="float:right; padding-left:10px;" width="100%" cellspacing="0" cellpadding="3" border="0">
                      <tr>';
    
                   $child_counter = 0;
                   
                   if(empty($settings['child_boards_rows']))
                   {
                      echo '   
                         
                         <td style="width:50%" class="smalltext" valign="top">';
                            
                            for(; $child_counter < ceil(count($children)/2); $child_counter++)
                                  echo $children[$child_counter], '<br />';
                   }
                   
                   echo '
                         </td>
                         <td style="width:50%" class="smalltext" valign="top">';   
                            for(; $child_counter < count($children); $child_counter++)
                                  echo $children[$child_counter], '<br />';
    
    
                   echo '
                         </td>
                      </tr>
                   </table>';
                }
    }
    Değiştir:
    Kod:
    {
                // 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)
                   {
    	       $child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (Konu: ' . $child['topics'] . ', Mesaj: ' . $child['posts'] . ')">' . $child['name'] . '</a>';
                         $children[] = $child['new'] ? '<img style="margin-right:5px;" src="' . $settings['images_url'] . '/new_some.png" width="12" height="12" alt=""/><b>' . $child['link'] . '</b>' : '<img style="margin-right:5px;" src="' . $settings['images_url'] . '/new_none.png" width="12" height="12" alt=""/>' . $child['link'];                     
                   }
    
                   echo '			
    			<fieldset>
    			   <legend class="smalltext">
    
    			         <b>' . $txt['alt_bolumler'], '</b>
    
    			   </legend>
                   <table style="float:right; padding-left:10px;" width="100%" cellspacing="0" cellpadding="3" border="0">
                      <tr>';
    
                   $child_counter = 0;
                   
                   if(empty($settings['child_boards_rows']))
                   {
                      echo '   
                         
                         <td style="width:50%" class="smalltext" valign="top">';
                            
                            for(; $child_counter < ceil(count($children)/2); $child_counter++)
                                  echo $children[$child_counter], '<br />';
                   }
                   
                   echo '
                         </td>
                         <td style="width:50%" class="smalltext" valign="top">';   
                            for(; $child_counter < count($children); $child_counter++)
                                  echo $children[$child_counter], '<br />';
    
    
                   echo '
                         </td>
                      </tr>
                   </table>			   
    			</fieldset>		';		  
    
                }
    }
    Modifications.english.php
    Bul:
    Kod:
    ?>

    Değiştir:
    Kod:
    $txt['alt_bolumler'] = 'Alt Bölümler';
    ?>
    Çerçeve rengini kırmızı yerine farklı renkte yapmak için aşağıdaki kodda görülen ff0000 değerini index.css dosyanızdan değiştirebilirsiniz.
    Kod:
    fieldset
    {
    	border: 1px solid #ff0000;
    	padding: 1em;
    	margin: 0 0 0.5em 0;
    	border-radius: 5px;
    }

Konu Bilgileri

Bu Konuya Gözatan Kullanıcılar

Şu anda 1 kullanıcı bu konuyu görüntülüyor. (0 kayıtlı ve 1 misafir)

Benzer Konular

  1. Cevap: 0
    Son Mesaj : 24.Şubat.2015, 22:44

Yetkileriniz

  • Konu Acma Yetkiniz Yok
  • Cevap Yazma Yetkiniz Yok
  • Eklenti Yükleme Yetkiniz Yok
  • Mesajınızı Değiştirme Yetkiniz Yok
  •  
Linux Hosting
Yasal Bildirim
Sitemizde paylaşım yapan tüm üyeler T.C.K 20. Madde ve 5651 Sayılı Kanun'un 4. maddesinin 2. fıkrasına göre kendi konu ve mesajlarından sorumludur. Webmaster.bbs.tr hakkında yapılacak olan hukuksal ve diğer şikayetler için iletişim bölümünden iletişime geçilmesi halinde site yönetimi tarafından gereken işlemler yapılacak ve ilgili kişilere/kurumlara/vekillerine bilgi verilecektir.
Sosyal Medya