Alt Bölümleri Alt Alta Sıralama

Started by Yağız..., November 08, 2008, 08:46:39 AM

Previous topic - Next topic

Gurbet_42

#160
Olmadı yağız,ekteki gibi oldu.

Yağız...

Bulun ve silin:
', !empty($board['children']) ? ' rowspan="2"' : '', '

Gurbet_42

#162
Sağol oldu, çok oluyorum ama birde şu resimler görünseydi   ;)


Tamam ilk sayfadaki kodu uyguladım oldu.

Özgür

Bence uğraşmayın. Tidy Child Board Modunu kullanın. :)
So Long

mosmankoc

#164
Bu alt konuları 3 sıra yapmak yada şu anda iki sıraya bunların arasını nasıl açabiliriz acaba.

Eğer mümkünse bu şekil olmazmı.
http://img218.imageshack.us/img218/6284/adszbi.png

Yağız...

İlk mesajda yazılanları iyice okuyun, nasıl 3 veya daha fazla sıra yapılır anlattım.

Gurbet_42

Yağız Özgür'ün yazdığı modu kursun süpermiş, senide uğraştırdım.

http://custom.simplemachines.org/mods/index.php?mod=2294


mosmankoc

Quote from: Gurbet_1907 on January 05, 2010, 03:49:10 PM
Yağız Özgür'ün yazdığı modu kursun süpermiş, senide uğraştırdım.

http://custom.simplemachines.org/mods/index.php?mod=2294

bu eklenti güzelmiş ama buda sadece defoult ta çıkıyor diğer tema için ne yapmalıyız.



Gurbet_42

Quote from: mosmankoc on January 05, 2010, 05:04:07 PM
Quote from: Gurbet_1907 on January 05, 2010, 03:49:10 PM
Yağız Özgür'ün yazdığı modu kursun süpermiş, senide uğraştırdım.

http://custom.simplemachines.org/mods/index.php?mod=2294

bu eklenti güzelmiş ama buda sadece defoult ta çıkıyor diğer tema için ne yapmalıyız.




Kullandıgın sürümü seç ve parse yap manuel kurmayı dene ama en kolayı paket olarak kurmak.

program5

Quote from: mosmankoc on January 05, 2010, 10:16:50 AM
Bu alt konuları 3 sıra yapmak yada şu anda iki sıraya bunların arasını nasıl açabiliriz acaba.

Eğer mümkünse bu şekil olmazmı.
http://img218.imageshack.us/img218/6284/adszbi.png

if ($key % 3 == 0 && $key != 0) 3 rakamını değiştirin.

<td style="padding-left: 15px;">', $child, '</td>'; 15 pixel açıklık değerini arttırın.

a11

1.1.x sürümlerde alt bölümleri ana sayfada göstermeme gibi bir lüksümüz var mıdır acaba ?
Alt bölüm var ama sanki hiç yokmuş gibi göstermek..

Yağız...

BoardIndex.template.php dosyasında şu kodu kaldırın:
// 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="' . $child['href'] . '" 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'] > $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 colspan="3" class="children windowbg"><strong>', $txt['parent_boards'], '</strong>: ', implode(', ', $children), '</td></tr>';
}

Crazytoones




saruhan


Crazytoones



Oradaki "Yeni" logosunu solda ve soldaki OF logosunun küçüğü şeklinde yapabilir miyiz?  :-\


Yağız...


Crazytoones



Crazytoones

Flood gibi olacak ama kusura bakmayın. Resimde gösterdiğim gibi Son ileti kısmında siyah boşluk çıkıyor. Orayı üstündeki bölgeyle nasıl birleştirebilirim?


Yağız...

Resim için:
Bulun:
$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="' . $child['href'] . '" 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>';
Değiştirin:
$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="' . $child['href'] . '" title="' . $txt['new_posts'] . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')"><img src="' . $settings['images_url'] . '/' . $context['theme_variant'] . '/on.png" width="32" height="32" class="new_posts" alt="" />' : '') . '</a>';

Boşluk için:
<td colspan="3" class="children windowbg">
Buradaki 3 değerini 4 yapın.

Advertisement: