Tema Nasıl Editlenir - Ufak Taktikler - Defaultu Editleyelim

Started by #Serseri, February 26, 2007, 02:20:28 AM

Previous topic - Next topic

#Serseri

Edit: Arkadaşlar ba sıkıcı siz taktikler bölmünden başlayın :D zaten anlatımımda kötü orası işinizi görebilir ben zaman zaman güncellemede yaparım bu arada resimler küçük çıktığı için sağ tıkla özelliklerden Url Sine girip büyük olarak görebilirsiniz

Önemli Not: Hepsi tarafımdan "Sıfır" Bir Forum Localhostta denenmiştir ;)

Yapılan Bi Kaç Alıntıda Gerekli İzinler Alınmıştır :)

Ufak Taktikler buradan


Arkadaşlar Size Tam Olarak Anlatamasamda Tema Editlemenin Mantığını Kavramak İçin Ufak Bi Çalışma Hazırladım

Şimdi Arkadaşlar SMF'ye Her Yeni Başlayanlar Bu Süreden Geçmiştir. Sadece Resimleri Değişir Ve Tema Editledim Diye Atlar Ortaya :) Bende Zamanında Çok Atladım ;D Her Neyse Şimdi Bu Olayı Anlatalım ;)

Nasıl Değişir Bu Resimler :)



Resmi büyük görmek için

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

Style.css İle İlgili Detaylı Bilgi Burada

Style.css den kendimce en önemli yerler

/* 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

/* 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

/* 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

#Serseri

Ş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 Tıklayın

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

#Serseri

#2
En Basitinden Destekleyenler Kodlarını İnceleyelim



Resmi büyük görmek için

Destekleyenler Kodları Aşağıdaki Gibidir

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




<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

<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

<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  :-[

#Serseri

#3
Ufak taktiklerr

Arkadaşlar Smf'ye Yeni Başlayanların Sürekli Sorduğu Mrak Ettiği Bi Soruya Burda Ufakta Olsa Bi Yanıt Vereyim Dedim.Şimdi Hep Birlikte Default Temayı Editleyelim Birazcık :) En Azından Mantıgını Kavrayalım ;)

Forumun En Üst Tarafından Başlıyoruz ;)




Birinci Ders

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



Resmi büyük görmek için

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

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



Resmi büyük görmek için



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





Resmi büyük görmek için

Üstteki Resimdeki Gibi En Üste İstatistikler

İndex.template.phpyi açın

Alttaki Kodu Bulun

Code (bul) Select
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ştir

Code (değiştir) Select
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>]

#Serseri

#4
Simplemachines forum logosunu silip forum ismini ortalamak

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



Resmi büyük görmek için

İndex.template.php yi açın

Alttaki Kodu Bulun

Code (bul) Select
<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

Code (değiştir) Select
<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>';

#Serseri

Şimdide Karşılama Mesajını Değişelim



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

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

Code (bul) Select
<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>

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

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

Bu Sekilde Kendinize Göre Yapabilirsiniz ;)

#Serseri

#6
Menülerin Uzunluğuyla Oynayalım :)

İndex.template.php dosyasında

Alttaki Kodu Bulun

Code (Bul) Select
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">

Alttaki İle Değiştirin

Code (değiştir) Select
<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



Resmi büyük görmek için

Alttaki Kodu Bulun

Code (Bulun) Select
// 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>';

}


Alttaki İle Değiştirin

Code (değiştir) Select
// 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>';

}

#Serseri

#7
Duyurular Kısmı



Resmi büyük görmek için

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

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

Alttaki Kodu Bulun

Code (bul) Select
<td class="catbg"> &nbsp;', $txt[102], '</td>


Alttaki İle Değiştirin

Code (değiştir) Select
<td align="center" class="catbg"> &nbsp;', $txt[102], '</td>




Duyurular Yerine İstediğinizi Yazmak İçin

Alttakini Bul

Code (bul) Select
<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

Code (sil) Select
<tr>
<td align="center" class="catbg"> &nbsp;', $txt[102], '</td>
</tr>


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



Resmi büyük görmek için

#Serseri

Alt Blümleri Düzenleyelim

Boardindex.template.php yi açın

Alttaki Kodu Bulun

Code (bul) Select
/* 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', '">';


Alttaki İle Değiştirin

Code (değiştir) Select
/* 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 ;)


#Serseri

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

Code (bul) Select
<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ı

<table border="0" width="100%" cellspacing="0" cellpadding="5">

Alttaki gibi değiştirin

Code (değiştir) Select
<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 ;)

#Serseri

#10
Son Mesajlar Bölümüne Biraz Şekil  Verelim :D



Resmi büyük görmek için

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

boardindex.teplate.php yi açın

Alttaki Kodları Bulun

Code (bul) Select
// 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 İle Değiştir

Code (değiştir) Select
// 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 fln yapabilirsiniz ;)

Veya


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

#Serseri

#11
Forum İstatistiklerinede El Atalım Ama Değilmi ? ;D



Resmi büyük görmek için

Yukardaki gibi bi istatistik isterseniz

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

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

Code (bul) Select
<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>


Alttaki İle Değiştirin

Code (değiştir) Select
<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

<td class="titlebg" colspan="2">', $txt[645], '</td>

alttaki ile değiştirin

<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 ;)

#Serseri

#12
Sıra Online Üyelerde



Resmi büyük görmek için

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

Alttakini Bulun

Code (bul) Select
// "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

Code (değiş) Select
// "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

Code (bul) Select
<td class="titlebg" colspan="2">', $txt[158], '</td>

alttaki ile değiştir

Code (değiştir) Select
<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

#Serseri

#13
Arkadaşlar Bu Sihirli Kodlar Slickprodaki gibi Online Üye Gruplarını Belirtir

Şekil 1-A



Canlı Örnek: www.forumklas.org

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

Bu Kodu Bunun

// "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 İle Değiştirin

// "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ı



Resmi büyük görmek için

böyle bişi yapmak için

index.template.php yi açın

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

alttaki kodu bulun

Code (bul) Select
<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ştir

Code (değiştir) Select
<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 ;)






Resmi büyük görmek için

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

Eklediğiniz Kodda

alttakini bul

Code (bul) Select
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">

alttaki ile değiş

Code (değiş) Select
<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 ;)

#Serseri

Biraz Mesajlara Dalalım



Profildeki avatar ve bilgileri ortalamak ortalama

display.template.php yi aç


// 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">';


Alttaki ile değiştir

// 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 ;)

#Serseri

Mesaj Simgelerini açık gösterelim



Post.template.php yi aç bul

<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ştir

';

// 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>';

#Serseri

mesaj ve profil alanları ayrı renkte

Burda İvanın anlatımından farkı arkadaşlar cerceveyi kaldırdık sadece renkleri ayrı yaptık Gerçi biraz grilik kaldı ama :)



display.template.php.de bul

// 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ştir

// 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">';

#Serseri

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

Normalde aşağıdaki resmi



Alttaki hale getirmek için



display.template.php  aç

Alttaki Kodu Bul

// These are some cache image buttons we may want.
$reply_button = create_button('quote.gif', 145, 'smf240', 'align="middle"');
$modify_button = create_button('modify.gif', 66, 17, 'align="middle"');
$remove_button = create_button('delete.gif', 121, 31, 'align="middle"');
$split_button = create_button('split.gif', 'smf251', 'smf251', 'align="middle"');


değiştir

// These are some cache image buttons we may want.
$reply_button = create_button('quote.gif', 145);
$modify_button = create_button('modify.gif', 66);
$remove_button = create_button('delete.gif', 121);
$split_button = create_button('split.gif', 'smf251');


# kudret


тяƒσяυм¢α.¢σм

cidden güzel bir paylaşim olmuş ellerin dert görmesin dostum :)

Advertisement: