Gönderen Konu: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim  (Okunma sayısı 15046 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« : SmfGrup Saati : 13 Ocak Paz 2008, 22:04 »
Bu okuyacaklarınızın hepsi S e r s e r i tarafından hazırlanmıştır.Yani ALINTIDIR.


Önemli Not: Anlatılanların hepsi denenmiştir çalışmaktadır.

Bu resimler nasıl değiştiririm



Resimde 1 ve 2 İle İşaretli Yerler catbg.jpg ve titlebg.jpg Resmidir.( 1=catbg.jpg , 2=titlebg.jpg ) İmages Klasöründen çıkarıp rengini Değişirseniz Anasayfadada Rengi Değişmiş Olur Fakat arka planını style.css den değişmek Gerekir Onu Sonra anlatıcaz

3,4,5 İle İşaretli Yerler İse Style.css ile değişebiliriz

Css Terimleri İle ilgili Detaylı Bilgi için
http://www.simplemachines.org/community/index.php?topic=92794.0#post_f

Style.css den kendimce en önemli yerler
Kod: [Seç]
/* Normal, standard links. */
a:link
{
color: #476C8E;
text-decoration: none;
}
a:visited
{
color: #476C8E;
text-decoration: none;
}
a:hover
{
text-decoration: underline;
}

Kodlarıdır bunlarla forumdaki bütün linklerin renklerini belirleyebilirsiniz

color: Karsınısa herhangi bir renk kodu yazmanız yeterlidir

--------------------------------------------------------------------------------
5 İle İşaretli yerin rengini değiştirmek için alttaki kodla oynamamız yeterlidir

Kod: [Seç]
/* The main body of the entire forum. */
body
{
background-color: #000000;
margin: 0px;
padding: 12px 30px 4px 30px;
}

background-color: #000000; Burda kırmızı renkle belirttiğim yere bir renk kodu yazmanız yeterlidir

--------------------------------------------------------------------------------
Diğer Kodlar İse

Kod: [Seç]
/* Alternating backgrounds for posts, and several other sections of the forum. */
.windowbg
{
color: #000000;
background-color: #666666;
}
.windowbg2
{
color: #000000;
background-color: #999999;
}
.windowbg3
{
color: #000000;
background-color: #000000;
}

color= yazı rengidir
background-color= arkaplan rengidir


windowbg = 4 ile işaretlediğim yerdir

windowbg2 = 3 ile işaretlediğim yerdir

windowbg3 = Alt bölümlerin olduğu yerin rengini düzenler

Şimdi Kodlamalara Geçelim

Arkadaşlar kodlamada aslında sanıldığı kadar bir zorluk yok biraz html biraz da php karıstırınca ufakta olsa bişiler yapabiliyo insan  mesela not defterinden html sayfası yapabiliyosanız temalara harika şekiller verebilirsiniz. Temaların üzerinde oynama yapabilmeniz için Html kodlarında ilk Öğrenmeniz gereken bence tablo kodlarıdır

<table>
<tr>
<td>
</td>
</tr>
</table>

Gibi Çaktırmayın bende fazla bilmiyorum  Html hakkında daha fazla bilgi isterseniz
http://www.simplemachines.org/community/index.php?topic=95808.0

Daha Sonra <b><i><center><a href><img src> aling="" class="" height="" width="" Gibi kodlar 




« Son Düzenleme: SmfGrup Saati : 18 Ocak Paz 2009, 16:24 Gönderen: EmirCan »

Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #1 : SmfGrup Saati : 13 Ocak Paz 2008, 22:11 »
En Basitinden Destekleyenler Kodlarını İnceleyelim



Destekleyenler Kodları Aşağıdaki Gibidir

Kod: [Seç]
echo '
<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="catbg"><span class="smalltext">Toplist</td>
</tr>
<tr>
<td valign="middle" align="center" height="60">
<a href="http://www.forumklas.org/" target="_blank">
ForumKlas
</a>

</td>
</tr>
</table>';

echo ' Kodu php için olmassa olmaz bi kod


--------------------------------------------------------------------------------

<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">

Üstteki kodlada Tablomuzun temellerini atmıs oluyoruz. border="0" Burdaki Sayı Değeri Tablo Çizgisi Kalınlıgıdır

width="100%" İse Tablomuzun Genişliğini Ayarlar

--------------------------------------------------------------------------------

Kod: [Seç]
<tr>
<td class="catbg"><span class="smalltext">Toplist</td>
</tr>

Burdaki Aşamada <tr></tr> Kodlarıyla Bir Satır Olusturmus Oluyoruz. Arasında Kalan

<td class="catbg"><span class="smalltext">Toplist</td> Bu Kodlara Bir Sütun Olusturuyoruz

Bu Koddaki <td class="catbg"> Kısım Resimde Toplist Yazacak Yerin Arka Planını Catbg Resmi Kaplamasını Sağlar

--------------------------------------------------------------------------------
Geri Kalan Kodlar

Kod: [Seç]
<tr>
<td valign="middle" align="center" height="60">
<a href="http://www.forumklas.org/" target="_blank">
ForumKlas
</a>

</td>
</tr>
</table>';

Tekrar <tr> ve <td> kodlarıyla satır ve sütun olusturulmuş Daha Sonra

Kod: [Seç]
<a href="http://www.forumklas.org/" target="_blank">
ForumKlas
</a>

Kodu İle Link Eklemişiz Bu Kodda target="_blank" Farklı Bi Sayfada Açılmasını Sağlar bunu Kaldırırsak linke tıkladığımızda aynı sayfada açılır

En sonda </table>'; Diyerek tablomuzu bitirmişiz

Arkadaşlar kusura bakmayın Benim Anlatımım Çok Kötüdür 

« Son Düzenleme: SmfGrup Saati : 18 Ocak Paz 2009, 16:37 Gönderen: •● FяiєdєKiηd™ ●• »

Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #2 : SmfGrup Saati : 13 Ocak Paz 2008, 22:21 »
Ufak Taktikler

Bu bölümde default temayı biraz editliyeceğiz ve mantığı kavrıyacağız

---------------------------------------------------------------------
Birinci Ders

İlk Olarak Alttaki Resimdeki Gibi Forum İsmi Yazan Tabloyu Kaldıralım



İndex.template.php Dosyasını Açın Alttaki Kodu Bulun Ve Silin

Kod: [Seç]
echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>';

Şimdi Alttaki Gibi Bir Görüntü Elde Etmiş Olduk



--------------------------------------------------------------------------------
***************************
--------------------------------------------------------------------------------




Üstteki Resimdeki Gibi En Üste İstatistikler

İndex.template.phpyi açın

Alttaki Kodu Bulun

Kod: [Seç]
echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32">';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>';

Alttaki ile değiştirin

Kod: [Seç]
echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="catbg" height="32"><center>
[Toplam Mesaj Sayısı: <b>', $context['common_stats']['total_posts'], '</b>] - [Toplam Konu Sayısı: <b>', $context['common_stats']['total_topics'], '</b>] - [Toplam Uye Sayısı: <b>', $context['common_stats']['total_members'], '</b>]
</td></tr>
</center></table>';

----------------------------------------------------------------------
Aşağıdaki Kodları Nereye Koyarsanız Orda Resimdeki Gibi İstatistik Çıkar

[Toplam Mesaj Sayısı: <b>', $context['common_stats']['total_posts'], '</b>] - [Toplam Konu Sayısı: <b>', $context['common_stats']['total_topics'], '</b>] - [Toplam Uye Sayısı: <b>', $context['common_stats']['total_members'], '</b>]

---------------------------------------------------------------------
Simplemachines forum logosunu silip forum ismini ortalamak

Alttaki Gibi Bir Görüntü Elde Etmek İçin



İndex.template.php yi açın

Alttaki Kodu Bulun

Kod: [Seç]
td class="catbg" height="32">';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>
<td align="right" class="catbg">
<img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" />
</td>
</tr>
</table>';

Alttaki Kod İle Değiştirin

Kod: [Seç]
<td class="catbg" height="32"><center>';

if (empty($settings['header_logo_url']))
echo '
<span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>';
else
echo '
<img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />';

echo '
</td>

</tr>
</table></center>';


Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #3 : SmfGrup Saati : 13 Ocak Paz 2008, 22:31 »
Şimdide Karşılama Mesajını Değişelim



Resimde Gösterdiğim Yerde Edit Yapmak İçin

İndex.template.php Dosyasını Açın bulun

Kod: [Seç]
<span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', $context['user']['name'] , '</b></span>
Daha Sonra Kodda Alttaki Gibi Edit Yapabilirsiniz

<span style="font-size: 130%;"> ', $txt['hello_member_ndt'], ' <b>', $context['user']['name'] , '</b>Yazmak İstediğiniz Yazı Buraya</span>

değiştir

Kod: [Seç]
// Show the start of the tab section.
echo '
<center><table width="95%" cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr>
<td class="maintab_' , $first , '">&nbsp;</td>';

// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
</td>' , $current_action == 'help' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
</td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
</td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'login' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=login">' , $txt[34] , '</a>
</td>' , $current_action == 'login' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'register' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=register">' , $txt[97] , '</a>
</td>' , $current_action == 'register' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// The end of tab section.
echo '
<td class="maintab_' , $last , '">&nbsp;</td>
</tr>
</table></center>';

}


Üstteki Gibi Yaparsak Forumda Alttaki Sekilde Yazıcaktır

Merhaba Kullanıcı Yazmak İstediğiniz Yazı Buraya

Bu Sekilde Kendinize Göre Yapabilirsiniz 

-------------------------------------------------------------------------------------
Menülerin Uzunluğuyla Oynayalım

İndex.template.php dosyasında

Alttaki Kodu Bulun

Kod: [Seç]
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
Alttaki ile değiştirin

Kod: [Seç]
<table width="95%" cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
width="95%" İstediğiniz Gibi Değiştirin Menünün Uzayıp Kısaldığını Görüceksiniz

--------------------------------------------------------------------------------

**********************

--------------------------------------------------------------------------------

Aşağıdaki Resimdeki Gibi Bi Menü İsterseniz



İndex.template.php de bulun

Kod: [Seç]
// Show the start of the tab section.
echo '
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr>
<td class="maintab_' , $first , '">&nbsp;</td>';

// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
</td>' , $current_action == 'help' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
</td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
</td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'login' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=login">' , $txt[34] , '</a>
</td>' , $current_action == 'login' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'register' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=register">' , $txt[97] , '</a>
</td>' , $current_action == 'register' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// The end of tab section.
echo '
<td class="maintab_' , $last , '">&nbsp;</td>
</tr>
</table>';

}

değiştirin

Kod: [Seç]
// Show the start of the tab section.
echo '
<center><table width="95%" cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr>
<td class="maintab_' , $first , '">&nbsp;</td>';

// Show the [home] button.
echo ($current_action=='home' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'home' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '">' , $txt[103] , '</a>
</td>' , $current_action == 'home' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Show the [help] button.
echo ($current_action == 'help' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'help' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=help">' , $txt[119] , '</a>
</td>' , $current_action == 'help' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// How about the [search] button?
if ($context['allow_search'])
echo ($current_action == 'search' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'search' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=search">' , $txt[182] , '</a>
</td>' , $current_action == 'search' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=admin">' , $txt[2] , '</a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
</td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo ($current_action == 'pm' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'pm' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a>
</td>' , $current_action == 'pm' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// The [calendar]!
if ($context['allow_calendar'])
echo ($current_action == 'calendar' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'calendar' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a>
</td>' , $current_action == 'calendar' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// the [member] list button
if ($context['allow_memberlist'])
echo ($current_action == 'mlist' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'mlist' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>
</td>' , $current_action == 'mlist' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo ($current_action == 'login' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'login' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=login">' , $txt[34] , '</a>
</td>' , $current_action == 'login' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo ($current_action == 'register' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'register' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=register">' , $txt[97] , '</a>
</td>' , $current_action == 'register' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td align="center" valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// The end of tab section.
echo '
<td class="maintab_' , $last , '">&nbsp;</td>
</tr>
</table></center>';

}

Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #4 : SmfGrup Saati : 13 Ocak Paz 2008, 22:37 »
Duyurular Kısmı



Burda Duyurular Yazısını Ortalamak İçin

Boardindex.template.php Dosyasını Açın

Alttaki Kodu Bulun

Kod: [Seç]
<td class="catbg"> &nbsp;', $txt[102], '</td>
değiştirin

Kod: [Seç]
<td align="center" class="catbg"> &nbsp;', $txt[102], '</td>
-------------------------------------------------------------------------------------------------
Duyurular Yerine İstediğinizi Yazmak İçin

Alttakini Bul

Kod: [Seç]
<td class="catbg"> &nbsp;', $txt[102], '</td>
<td class="catbg">İstediğini Yaz</td>

------------------------------------------------------------------------------------------------

Duyurular Yazan Bölümü Kopmle Kaldırıp Slickpro Gibi Yapmak İçin
Alttaki Kodu Bulun Ve Silin


Kod: [Seç]
<tr>
<td align="center" class="catbg"> &nbsp;', $txt[102], '</td>
</tr>

Böylece Alttaki Resim Gibi Bi Duyuru Bölümü Sahibi Oluoruz



-------------------------------------------------------------------------------------------------------

Alt Blümleri Düzenleyelim

Boardindex.template.php yi açın

Alttaki Kodu Bulun
Kod: [Seç]
* 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[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>
</tr>';
}
}
echo '
</table>';
}
echo '
</div>';
}

if ($context['user']['is_logged'])
{
echo '
<table border="0" width="100%" cellspacing="0" cellpadding="5">
<tr>
<td align="', !$context['right_to_left'] ? 'left' : 'right', '" class="smalltext">
<img src="' . $settings['images_url'] . '/new_some.gif" alt="" align="middle" /> ', $txt[333], '
<img src="' . $settings['images_url'] . '/new_none.gif" alt="" align="middle" style="margin-left: 4ex;" /> ', $txt[334], '
</td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '">';

Alttalki ile değiştirin
Kod: [Seç]
/* Each child in each board's children has:
id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */
$sayac=0;
foreach ($board['children'] as $child)
{
  $child['link'] = '<img src="BURAYA BİR RESİM LİNKİ EKLEYİN" /> <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'];
$sayac++;
}

echo '
<tr>
<td colspan="7" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<table><tr><td valign="top">
<span class="smalltext"><b>', $txt['parent_boards'], '</b><br/>';
for($sayac2 = 0 ; $sayac2 < ceil($sayac/2);$sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td><td width="30"><span class="smalltext"></td><td valign="top"><span class="smalltext"><br/>';
for(; $sayac2 < $sayac ; $sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span>
</td></tr></table>
</td>
</tr>';
}
}
echo '
</table>';
}
echo '
</div>';
}

if ($context['user']['is_logged'])
{
echo '
<table border="0" width="100%" cellspacing="0" cellpadding="5">
<tr>
<td align="', !$context['right_to_left'] ? 'left' : 'right', '" class="smalltext">
<img src="' . $settings['images_url'] . '/new_some.gif" alt="" align="middle" /> ', $txt[333], '
<img src="' . $settings['images_url'] . '/new_none.gif" alt="" align="middle" style="margin-left: 4ex;" /> ', $txt[334], '
</td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '">';

BURAYA BİR RESİM LİNKİ EKLEYİN Yazan yere ufak bi resim linki ekleyin

Alttaki resimde gördüğünüz gibi alt bölümler daha düzenli oldu






Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #5 : SmfGrup Saati : 13 Ocak Paz 2008, 22:45 »
Yeni Mesaj Var/Yok & Okunmus Say Kısmında Edit



Resimde Gördüğünüz Gibi Yeni msj var/Yok & Okunmus say arkaplanına Titlebg ile kaplamak istiosanız

Boardindex.template.php yi açın

// Mark read button.un Hemen Üstünde Alttaki Kodları Bulun

Kod: [Seç]
<table border="0" width="100%" cellspacing="0" cellpadding="5">
<tr>
<td align="', !$context['right_to_left'] ? 'left' : 'right', '" class="smalltext">
<img src="' . $settings['images_url'] . '/new_some.gif" alt="" align="middle" /> ', $txt[333], '
<img src="' . $settings['images_url'] . '/new_none.gif" alt="" align="middle" style="margin-left: 4ex;" /> ', $txt[334], '
</td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '">';

Bu kodlardaki alttaki kısmı
Kod: [Seç]
<table border="0" width="100%" cellspacing="0" cellpadding="5">
Alttaki gibi  değiştirin
Kod: [Seç]
<table class="titlebg" border="0" width="100%" cellspacing="0" cellpadding="5">
<table class="titlebg" Yazan Yeri <table class="catbg" Olarak Değişirseniz Arkaplan Bu sefer catbg ile kaplanır

Eğer Bu Kısmı Yukardaki Katagorilerden Ayırmak İsterseniz

<table border="0" width="100%" cellspacing="0" cellpadding="5"> Bu Kodun Başına <br> Eklemeniz Yeterlidir

-------------------------------------------------------------------------------------------------

Son Mesajlar Bölümüne Biraz Şekil  Verelim



Arkadaşlar yukardaki görüntüyü yakalıyabilmemiz için

boardindex.teplate.php yi açın

Alttaki Kodları Bulun

Kod: [Seç]
// 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"><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>';
}

Alttaki ile değiştirin

Kod: [Seç]
// Show lots of posts.
elseif (!empty($context['latest_posts']))
{
echo '
<table 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 align="right" valign="top" nowrap="nowrap">[', $post['board']['link'], ']</td>
<td valign="top"><a href="',$post['href'],'">', $post['short_subject'], ' </a><b>', $txt[525], '</b> ', $post['poster']['link'], '</td>
<td align="right" valign="top" nowrap="nowrap">', $post['time'], '</td>
</tr>';
echo '
</table>';
}
echo '
</td>
</tr>';
}

Bu Kodlarda

[', $post['board']['link'], '] = Konunun Hangi Bölüme Atıldığını Belirtir

<a href="',$post['href'],'">', $post['short_subject'], '</a> = Gönderilen Mesajı Belirtir

', $txt[525], ' = "Gönderen" Kelimesinin Kod Halidir

', $post['poster']['link'], ' = Gönderen Kişiyi Belirtir

', $post['time'], ' = Gönderilen Zamanı Belirtir

Bu Kodları <b></b> Kodları aralarına alarak kalın veya aynı şekilde italik falan yapabilirsiniz

Veya

align="right" Yazan Yerleri align="center" Veya align="left" ile değiştirerek sağa sola veya ortalı olarak alarlıyabilirsiniz




Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #6 : SmfGrup Saati : 13 Ocak Paz 2008, 22:51 »
Forum İstatistiklerinede El Atalım Ama Değilmi ?



Yukardaki gibi bi istatistik isterseniz

Boardindex.template.php yi açın ( Ki bunların hepsini yapıosanız hiç kapanmamıştır  )

// Show YaBB SP1 style information...
Hemen Altında ki Su Kodları Bulun

Kod: [Seç]
<td class="windowbg2" width="100%">
<span class="middletext">
', $context['common_stats']['total_posts'], ' ', $txt[95], ' ', $txt['smf88'], ' ', $context['common_stats']['total_topics'], ' ', $txt[64], ' ', $txt[525], ' ', $context['common_stats']['total_members'], ' ', $txt[19], '. ', $txt[656], ': <b> ', $context['common_stats']['latest_member']['link'], '</b>
<br /> ' . $txt[659] . ': <b>&quot;' . $context['latest_post']['link'] . '&quot;</b>  ( ' . $context['latest_post']['time'] . ' )<br />
<a href="', $scripturl, '?action=recent">', $txt[234], '</a>', $context['show_stats'] ? '<br />
<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</span>
</td>

değiştirin

Kod: [Seç]
<td class="windowbg2" width="100%">
<span class="middletext"><center>
Toplam Atılan Mesaj Sayısı: <b>', $context['common_stats']['total_posts'], '</b> ', $txt[95], '<br> Toplam Açılan Konu Sayısı: <b>', $context['common_stats']['total_topics'], '</b> ', $txt[64], ' <br>Toplam Uye Sayısı: <b>', $context['common_stats']['total_members'], '</b> ', $txt[19], '.<br>Aramıza Katılan ', $txt[656], ': <b>', $context['common_stats']['latest_member']['link'], '</b>
<br />Sitemize Atılan ' . $txt[659] . ': <b>&quot;' . $context['latest_post']['link'] . '&quot;</b>  ( ' . $context['latest_post']['time'] . ' )<br />
<a href="', $scripturl, '?action=recent"><b>', $txt[234], '</b></a>', $context['show_stats'] ? '<br />
<a href="' . $scripturl . '?action=stats"><b>' . $txt['smf223'] . '</b></a>' : '', '
</center></span>
</td>

Bu Kodlarda

', $context['common_stats']['total_posts'], ' = Toplam mesajı Belirtir

', $context['common_stats']['total_topics'], ' = Toplam Konuyu Belirtir

', $context['common_stats']['total_members'], ' = Toplam Üye sayısını belirtir

', $context['common_stats']['latest_member']['link'], ' = Son Üyeyi Belirtir

Benim verdiğim bir örnekti sizde kendi kafanıza göre edit yapabilirsiniz

Forum İstatistikleri Yazısını Ortalamak İçin

Yine Aynı Yerde Alttaki kodu bulun

Kod: [Seç]
<td class="titlebg" colspan="2">', $txt[645], '</td>
değiştirin

Kod: [Seç]
<td align="center" class="titlebg" colspan="2">', $txt[645], '</td>
align="center" yazan yeri istediğiniz gibi değişip sağa veya sola dayalıda yapabilirsiniz

Çerceve İçinde

Arkadaşlar bunların hepsini veya teker teker <fieldset></fieldset> kodlarıyla cerceveleyince güzel görüntüler elde edebilirsiniz




Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #7 : SmfGrup Saati : 13 Ocak Paz 2008, 22:54 »
Sıra Online Üyelerde



Eğer Böyle Bişi Yapmak İsterseniz Hiç Durmayın Çabucak Boardindex.template.php lerinizi açın

Alttakini Bulun

Kod: [Seç]
// "Users online" - in order of activity.
echo '
<tr>
<td class="titlebg" colspan="2">', $txt[158], '</td>
</tr><tr>
<td rowspan="2" class="windowbg" width="20" valign="middle" align="center">
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '
</td>
<td class="windowbg2" width="100%">';

echo '
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];

// Handle hidden users and buddies.
if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))
{
echo ' (';

// Show the number of buddies online?
if ($context['show_buddies'])
echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];

// How about hidden users?
if (!empty($context['num_users_hidden']))
echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];

echo ')';
}

echo $context['show_who'] ? '</a>' : '', '
<div class="smalltext">';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

echo '
<br />
', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>
<tr>
<td class="windowbg2" width="100%">
<span class="middletext">
', $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.
', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
</span>
</td>
</tr>';

Alttaki ile değiştirin

Kod: [Seç]
// "Users online" - in order of activity.
echo '
<tr>
<td class="titlebg" colspan="2">', $txt[158], '</td>
</tr><tr>
<td rowspan="2" class="windowbg" width="20" valign="middle" align="center">
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '
</td>
<td class="windowbg2" width="100%"><center>';

echo '
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];

// Handle hidden users and buddies.
if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))
{
echo ' (';

// Show the number of buddies online?
if ($context['show_buddies'])
echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];

// How about hidden users?
if (!empty($context['num_users_hidden']))
echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];

echo ')';
}

echo $context['show_who'] ? '</a>' : '', '
<div class="smalltext">';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

echo '
<br />
', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr></center>
<tr>
<td class="windowbg2" width="100%"><center>
<span class="middletext">
', $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.
', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
</span>
</center></td>
</tr>';

Arkadaşlar buradada cerceve yapmak için <fieldset> kodlarından yararlanabilirsiniz <center> kodlarını bulup baş ve sonuna eklemeniz yeterli

-------------------------------------------------------------

Online Üyeler yazısını ortalamak için

Yine Aynı Yerde alttaki kodu bul

Kod: [Seç]
<td class="titlebg" colspan="2">', $txt[158], '</td>
Alttaki ile değiştirin

Kod: [Seç]
<td align="center" class="titlebg" colspan="2">', $txt[158], '</td>
Yine Burda td align="center" center yerine right veya left yazarak sağa veya sola dayalı yapabilirsiniz


Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #8 : SmfGrup Saati : 13 Ocak Paz 2008, 23:02 »
Arkadaşlar Bu Sihirli Kodlar Slickprodaki gibi Online Üye Gruplarını Belirtir



Kullandığınız Temanın Boardindex.template Dosyasını Açın Eğer Yoksa Defaulttan Alın

Bu Kodu Bulun

Kod: [Seç]
// "Users online" - in order of activity.
echo '
<tr>
<td class="titlebg" colspan="2">', $txt[158], '</td>
</tr><tr>
<td rowspan="2" class="windowbg" width="20" valign="middle" align="center">
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '
</td>
<td class="windowbg2" width="100%">';

echo '
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];

// Handle hidden users and buddies.
if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))
{
echo ' (';

// Show the number of buddies online?
if ($context['show_buddies'])
echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];

// How about hidden users?
if (!empty($context['num_users_hidden']))
echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];

echo ')';
}

echo $context['show_who'] ? '</a>' : '', '
<div class="smalltext">';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

echo '
<br />
', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>
<tr>
<td class="windowbg2" width="100%">
<span class="middletext">
', $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.
', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
</span>
</td>
</tr>';

değiştirin

Kod: [Seç]
// "Users online" - in order of activity.
echo '
<tr>
<td class="titlebg" colspan="2">', $txt[158], '</td>
</tr><tr>
<td rowspan="3" class="windowbg" width="20" valign="middle" align="center">
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', '<img src="', $settings['images_url'], '/icons/online.gif" alt="', $txt[158], '" />', $context['show_who'] ? '</a>' : '', '
</td>
<td class="windowbg2" width="100%">';

echo '
', $context['show_who'] ? '<a href="' . $scripturl . '?action=who">' : '', $context['num_guests'], ' ', $context['num_guests'] == 1 ? $txt['guest'] : $txt['guests'], ', ' . $context['num_users_online'], ' ', $context['num_users_online'] == 1 ? $txt['user'] : $txt['users'];

// Handle hidden users and buddies.
if (!empty($context['num_users_hidden']) || ($context['show_buddies'] && !empty($context['show_buddies'])))
{
echo ' (';

// Show the number of buddies online?
if ($context['show_buddies'])
echo $context['num_buddies'], ' ', $context['num_buddies'] == 1 ? $txt['buddy'] : $txt['buddies'];

// How about hidden users?
if (!empty($context['num_users_hidden']))
echo $context['show_buddies'] ? ', ' : '', $context['num_users_hidden'] . ' ' . $txt['hidden'];

echo ')';
}

echo $context['show_who'] ? '</a>' : '', '
<div class="smalltext">';

// Assuming there ARE users online... each user in users_online has an id, username, name, group, href, and link.
if (!empty($context['users_online']))
echo '
', $txt[140], ':<br />', implode(', ', $context['list_users_online']);

echo '
<br />
', $context['show_stats'] && !$settings['show_sp1_info'] ? '<a href="' . $scripturl . '?action=stats">' . $txt['smf223'] . '</a>' : '', '
</div>
</td>
</tr>';

// MCL
if(!empty($context['online_groups']))
{
echo '
<tr>
<td class="windowbg2" width="100%">
<span class="middletext">';
foreach($context['online_groups'] as $group)
{
  if(!empty($group['color']) && $group['color'] != '')
echo '[<span style="color:' . $group['color'] . '">' . $group['name'] . '</span>] ';
}
echo '</span>
</td>
</tr>';
}
echo '
<tr>
<td class="windowbg2" width="100%">
<span class="middletext">
', $txt['most_online_today'], ': <b>', $modSettings['mostOnlineToday'], '</b>.
', $txt['most_online_ever'], ': ', $modSettings['mostOnline'], ' (' , timeformat($modSettings['mostDate']), ')
</span>
</td>
</tr>';


Sıra Geldi En Alta m3talc0re Tarzı



böyle bişey yapmak için

index.template.php yi açın

// Show the load time? buranın hemen üstünde

alttaki kodu bulun

Kod: [Seç]
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'right' : 'left', '">
<a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;">
', theme_copyright(), '
</td>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
</table>';

Alttaki ile değiştirin

Kod: [Seç]
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="28%" valign="middle" align="left" class="copyright-links">
Theme by <a href="http://www.forumklas.org/" target="_blank"><b><i>S e r s e r i</i></b></a>.
</td>
<td valign="middle" align="center" style="white-space: nowrap;" class="copyright-links">
', theme_copyright(), '
</td>
<td width="28%" valign="middle" align="right" class="copyright-links">
<a href="http://www.mysql.com/" target="_blank" style="font-size:10px;">MySQL</a>&nbsp;|&nbsp;<a href="http://www.php.net/" target="_blank" style="font-size:10px;">PHP</a>&nbsp;|&nbsp;<a href="http://validator.w3.org/check/referer" target="_blank" style="font-size:10px;">XHTML</a>&nbsp;|&nbsp;<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank" style="font-size:10px;">CSS</a>
</td>
</tr>
</table>';

S e r s e r i yazan yeri kendinize göre düzenleyin

--------------------------------------------------------------------------------



Böyle bişey yapmak için ise yine aynı işlemleri yapın

Eklediğiniz Kodda

alttakini bul

Kod: [Seç]
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
değiştirin

Kod: [Seç]
<table class="catbg" cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<table class="catbg" Bu Koddaki catbg'yi Titlebg Olarak Değişebilirsiniz



Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #9 : SmfGrup Saati : 13 Ocak Paz 2008, 23:04 »
Biraz Mesajlara Dalalım



Profildeki avatar ve bilgileri ortalamak ortalama

display.template.php yi aç

Kod: [Seç]
// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $message['member']['link'], '</b>
<div class="smalltext">';

değiştirin

Kod: [Seç]
// Show information about the poster of this message.
      echo '
            <table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
               <tr>
                  <td valign="top" align="center" width="16%" rowspan="2" style="overflow: hidden;">
                     <b>', $message['member']['link'], '</b>
                     <div class="smalltext">';

align="center Yazan Yeri yine right veya left ile değiştirdiğimizde sağa veya sola dayalı olarak ayarlayabiliriz 

Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #10 : SmfGrup Saati : 13 Ocak Paz 2008, 23:07 »
Mesaj Simgelerini açık gösterelim



Post.template.php yi açın ve  bulun

Kod: [Seç]
<select name="icon" id="icon" onchange="showimage()">';

// Loop through each message icon allowed, adding it to the drop down list.
foreach ($context['icons'] as $icon)
echo '
<option value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' selected="selected"' : '', '>', $icon['name'], '</option>';

echo '
</select>
<img src="', $context['icon_url'], '" name="icons" hspace="15" alt="" />
</td>
</tr>';

değiştirin

Kod: [Seç]
';

// Loop through each message icon allowed, adding it to the drop down list.
foreach ($context['icons'] as $icon)
echo '
<INPUT type="radio" name="icon" value="', $icon['value'], '"', $icon['value'] == $context['icon'] ? ' checked="checked"' : '', '> <img src="', $icon['url'], '" name="icons" alt="" />';

echo '
</td>
</tr>';

Çevrimdışı Alee

  • SMF-Tasarım
  • *
  • İleti: 964
  • PR ( Rep ) : 49
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #11 : SmfGrup Saati : 13 Ocak Paz 2008, 23:13 »
mesaj ve profil alanları ayrı renkte



display.template.php de bulun

Kod: [Seç]
// Show the message anchor and a "new" anchor if this message is new.
if ($message['id'] != $context['first_message'])
echo '
<a name="msg', $message['id'], '"></a>', $message['first_new'] ? '<a name="new"></a>' : '';

echo '
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr><td class="', $message['alternate'] == 0 ? 'windowbg' : 'windowbg2', '">';

// Show information about the poster of this message.
      echo '
            <table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
               <tr>
                  <td valign="top" align="center" width="16%" rowspan="2" style="overflow: hidden;">
                     <b>', $message['member']['link'], '</b>
                     <div class="smalltext">';

değiştirin

Kod: [Seç]
// Show the message anchor and a "new" anchor if this message is new.
if ($message['id'] != $context['first_message'])
echo '
<a name="msg', $message['id'], '"></a>', $message['first_new'] ? '<a name="new"></a>' : '';

echo '
<table width="100%">
<tr><td class="', $message['alternate'] == 0 ? 'windowbg' : 'windowbg', '">';

// Show information about the poster of this message.
echo '
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;" class="windowbg2">
<tr>
      <td class="', $message['alternate'] == 0 ? 'windowbg' : 'windowbg', '" valign="top" width="16%" align="center" rowspan="2">
<b>', $message['member']['link'], '</b><br />
<span class="smalltext">';

-----------------------------------------------------------------------------------------
Düzelt - alıntı - Sil Yerine Sadece Buton Koyalım

http://www.smfgrup.com/forum/b11/t424/0/
« Son Düzenleme: SmfGrup Saati : 13 Ocak Paz 2008, 23:17 Gönderen: ZaTuRe »

Çevrimdışı SajT

  • Yeni Üye
  • *
  • İleti: 94
  • PR ( Rep ) : 4
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #12 : SmfGrup Saati : 14 Ocak Pzt 2008, 22:28 »
qüzeL payLaşımdı saoL
RaLLyproco

Çevrimdışı MuRaT_88

  • Yeni Üye
  • *
  • İleti: 63
  • PR ( Rep ) : 0
  • Cinsiyet: Bay
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #13 : SmfGrup Saati : 12 Şubat Sal 2008, 21:36 »
cok güzel anlatım olmus eline saglık

Çevrimdışı HeLL ToRMeNT

  • Yeni Üye
  • *
  • İleti: 33
  • PR ( Rep ) : 1
  • Cinsiyet: Bay
    • Turkishfrm.Org
Ynt: Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim
« Yanıtla #14 : SmfGrup Saati : 24 Şubat Paz 2008, 14:22 »
tema editlemeye ilk bu konuyu okuyarak başlamıştın teşekkürler Serseri teşekkürler Alee