32-Default TeMaya .Gif Koyma ...

Smf Destek/32-Default TeMaya .Gif Koyma ... => Eğer Defaulet Temanın Kodlardan Oluşan Butonlarından Sıkıldıysanız ve Butonların Yerine Gif Buton Koymak İstiyorsanız Aşağıda Vereceğim İşlemleri Yapın... Ben Çölateşi Temasının Butonlarını Kullandım Ama Siz İsterseniz Başka Butonlarda Uygulayabilirsiniz... Default Temanızın /

Gönderen Konu: 32-Default TeMaya .Gif Koyma ...  (Okunma sayısı 832 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı Casus

  • Grafiker
  • *
  • İleti: 168
  • Karma: 5
  • Cinsiyet: Bay
  • KGüneyli
  • Smf Sürümü: 1.0.2
32-Default TeMaya .Gif Koyma ...
« : 16 Mart 2009, 19:27:41 »
Eğer Defaulet Temanın Kodlardan Oluşan Butonlarından Sıkıldıysanız ve Butonların Yerine Gif Buton Koymak İstiyorsanız Aşağıda Vereceğim İşlemleri Yapın...

Ben Çölateşi Temasının Butonlarını Kullandım Ama Siz İsterseniz Başka Butonlarda Uygulayabilirsiniz...



Default Temanızın / index.template.php Dosyasını Açın Ve Aşağıdaki Kodu 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>';
Aşağıdaki Kodlarla Değiştirin

[/]
Kod: [Seç]
// Show the start of the tab section.
   echo '
         <center><br><div class="0" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
                     <tr>
               ';

   // Show the [home] button.
   echo '<a href="', $scripturl, '?action=home"><img src="', $settings['images_url'], '/buton/anasayfa.gif"></a>';

   // How about the [search] button?
   if ($context['allow_search'])
      echo '<a href="', $scripturl, '?action=search"><img src="', $settings['images_url'], '/buton/ara.gif"></a>';

   // Is the user allowed to administrate at all? ([admin])
   if ($context['allow_admin'])
      echo '<a href="', $scripturl, '?action=admin"><img src="', $settings['images_url'], '/buton/admin.gif"></a>';

   // Edit Profile... [profile]
   if ($context['allow_edit_profile'])
      echo '<a href="', $scripturl, '?action=profile"><img src="', $settings['images_url'], '/buton/profil.gif"></a>';

   // Go to PM center... [pm]
   if ($context['user']['is_logged'] && $context['allow_pm'])
      {
      echo '<a href="', $scripturl, '?action=pm">';
   
      if($context['user']['unread_messages'] <= 0)
{
echo '<img src="', $settings['images_url'], '/buton/mesaj.gif"></a>';
}
         elseif($context['user']['unread_messages'] <= 1)
{
echo '<img src="', $settings['images_url'], '/buton/mesaj1.gif"></a>';
}   
            elseif($context['user']['unread_messages'] <= 2)
{
echo '<img src="', $settings['images_url'], '/buton/mesaj2.gif"></a>';
}   
elseif($context['user']['unread_messages'] <= 3)
{
echo '<img src="', $settings['images_url'], '/buton/mesaj3.gif"></a>';
}   
elseif($context['user']['unread_messages'] <= 4)
{
echo '<img src="', $settings['images_url'], '/buton/mesaj4.gif"></a>';
}   
elseif($context['user']['unread_messages'] <= 5)
{
echo '<img src="', $settings['images_url'], '/buton/mesaj5.gif"></a>';
}   
elseif($context['user']['unread_messages'] <= 6)
{
echo '<img src="', $settings['images_url'], '/buton/mesaj6.gif"></a>';
}   
elseif($context['user']['unread_messages'] <= 7)
{
echo '<img src="', $settings['images_url'], '/buton/mesaj7.gif"></a>';
}   
elseif($context['user']['unread_messages'] <=
{
echo '<img src="', $settings['images_url'], '/buton/mesaj8.gif"></a>';
}   
elseif($context['user']['unread_messages'] <= 9)
{
echo '<img src="', $settings['images_url'], '/buton/mesaj9.gif"></a>';
}   
elseif($context['user']['unread_messages'] <= 10)
{
echo '<img src="', $settings['images_url'], '/buton/mesaj10.gif"></a>';
}   
elseif($context['user']['unread_messages'] >= 10)
{
echo '<img src="', $settings['images_url'], '/buton/mesajlar.gif"></a>';
}
}

   // The [calendar]!
   if ($context['allow_calendar'])
      echo '<a href="', $scripturl, '?action=calendar"><img src="', $settings['images_url'], '/buton/takvim.gif"></a>';

   // the [member] list button
   if ($context['allow_memberlist'])
      echo '<a href="', $scripturl, '?action=mlist"><img src="', $settings['images_url'], '/buton/uyeler.gif"></a>';


   // If the user is a guest, show [login] button.
   if ($context['user']['is_guest'])
      echo '<a href="', $scripturl, '?action=login"><img src="', $settings['images_url'], '/buton/giris.gif"></a>';


   // If the user is a guest, also show [register] button.
   if ($context['user']['is_guest'])
      echo '<a href="', $scripturl, '?action=register"><img src="', $settings['images_url'], '/buton/kayit.gif"></a>';


   // Otherwise, they might want to [logout]...
   if ($context['user']['is_logged'])
      echo '<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '"><img src="', $settings['images_url'], '/buton/cikis.gif"></a>';


   echo '
                     <td colspan="2" width="32%" align="center" class="catbg"><span class="middletext">';

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

Extra Buton Eklemek İçin Aşağıda Verdiğim Örneği Kullanabilirsiniz

Kod: [Seç]
// Show the [Yardim] button.
   echo'<a href="http://www.rengeyik.com/forum/index.php?action=help"><img src="', $settings['images_url'], '/buton/yardim.gif"></a>';

   echo '
                     <td colspan="2" width="32%" align="center" class="catbg"><span class="middletext">';


Ekte Verdiğim Gifleri Default Temanızın İmages Klasörüne Klasör Olarak Atın[/]
« Son Düzenleme: 20 Temmuz 2009, 22:43:55 Gönderen: ๓คгครlเ46™ »
Template Editlenir Veya Sıfırdan İstek Üzerine Hazırlanır..
Logo Banner İsteklerinizi Açarken Kurallara Uymanızı Riza Ederim..
Boş Yere Öm Atmayınız Cevap Verilmeyecekdir..

Çevrimdışı hhy89

  • Yönetici
  • *
  • İleti: 9511
  • Karma: 496
  • www.SmfMod.com
  • Smf Sürümü: 2.0 RC3
  • Web Siteniz: smfmod.com
Ynt: DefauL' TeMaya .Gif Koyma ...
« Yanıtla #1 : 16 Mart 2009, 20:34:30 »
resim eklemek isteyenler icin

mesela

   echo '<a href="link"><img src="resim linki"></a>';

olay bu kadar basit

bi de olayın su boyutu var
ifler ne ise yarıo

   if ($context['allow_admin'])
      echo '<a href="', $scripturl, '?action=admin"><img src="', $settings['images_url'], '/buton/admin.jpg"></a>';

mesela burdakinde
sadece adminler gorebilir

iflerin de anlamlarını yaziorum bi daha sorma artik sende kendini gelistir

if ($context['allow_admin']) >>> sadece admin paneline girebilenler
if ($context['user']['is_admin']) >>> sadece adminler
if ($context['user']['is_guest']) >>> sadece ziyaretci
if ($context['user']['is_logged']) >>> sadece uyelere

hadi kolay gelsin
Php-SEO-MySQL-Ajax-JavaScript-Css-HTML
Günlük Yaz
Yeni Modları Takip Etmek Için
*Amacımız balık vermek degil balık tutmayı ogretmek ;)
*Smfyi herkes sever ama siz abartın ;)
*“İnsanların en hayırlısı, insa

Çevrimdışı Casus

  • Grafiker
  • *
  • İleti: 168
  • Karma: 5
  • Cinsiyet: Bay
  • KGüneyli
  • Smf Sürümü: 1.0.2
Ynt: DefauL' TeMaya .Gif Koyma ...
« Yanıtla #2 : 16 Mart 2009, 20:36:37 »
Eyw, Usta :D
Template Editlenir Veya Sıfırdan İstek Üzerine Hazırlanır..
Logo Banner İsteklerinizi Açarken Kurallara Uymanızı Riza Ederim..
Boş Yere Öm Atmayınız Cevap Verilmeyecekdir..

Çevrimdışı yurtalan92

  • Yeni Üye
  • *
  • İleti: 11
  • Karma: 0
  • www.smfmod.com
    • iphone ile İlgili herşey
Ynt: Default TeMaya .Gif Koyma ...
« Yanıtla #3 : 31 Mart 2009, 20:49:58 »
Konuyla pek alakalı Değil ama Burada ilk mesajda Resimi Büyütmek için tıklayınız yazısı Nasıl yapılıyor !! Gerçekten Ayrıntılı anlatacak Birisi Yokmu http://destek.smfmod.com/buton/zoom-yapilabilir-resim-bbcode/ BUrdaki Olmuyor smf 1.1.8 için !
i p h o n e c l u p . c o m
http://www.iphoneclup.com

Çevrimdışı hhy89

  • Yönetici
  • *
  • İleti: 9511
  • Karma: 496
  • www.SmfMod.com
  • Smf Sürümü: 2.0 RC3
  • Web Siteniz: smfmod.com
Ynt: Default TeMaya .Gif Koyma ...
« Yanıtla #4 : 31 Mart 2009, 21:36:21 »
forumda var arama yapmadan gereksiz msjlar yazmayınız
Php-SEO-MySQL-Ajax-JavaScript-Css-HTML
Günlük Yaz
Yeni Modları Takip Etmek Için
*Amacımız balık vermek degil balık tutmayı ogretmek ;)
*Smfyi herkes sever ama siz abartın ;)
*“İnsanların en hayırlısı, insa

Çevrimdışı Cilekesh

  • Yeni Üye
  • *
  • İleti: 44
  • Karma: 0
  • Cinsiyet: Bay
  • www.cilekesforum.net
    • CilekesForum
Ynt: Default TeMaya .Gif Koyma ...
« Yanıtla #5 : 12 Nisan 2009, 09:59:56 »
güzel oldu eyv.. :)
www.cilekesforum.net

Default'u daha iyi yaparım diyen bir kişi çıksın..;)

Çevrimdışı ariza

  • Master Üye
  • *
  • İleti: 1031
  • Karma: 29
  • OsMaN
    • Arizayiz
  • Smf Sürümü: 2.0 RC1
  • Web Siteniz: www.arizayiz.net
Ynt: 32-Default TeMaya .Gif Koyma ...
« Yanıtla #6 : 10 Ağustos 2009, 16:26:03 »
ek ölmş yaa
« Son Düzenleme: 10 Ağustos 2009, 16:48:23 Gönderen: ariza »
Arizayiz


Eflatun Theme - 2.0 RC1-1

şafak atarsa 129 :D

Çevrimdışı DiziFilmKoliK.NeT

  • Acemi Üye
  • *
  • İleti: 63
  • Karma: 2
  • www.dizifilmkolik.net
    • DİZİFİLMKOLİK.NET | Dizi,Film,Online Dizi,Online Film,Dizi İndir,Film İndir,HD Smart Kalitesiyle
  • Smf Sürümü: 1.0.10
  • Web Siteniz: www.dizifilmkolik.net
Ynt: 32-Default TeMaya .Gif Koyma ...
« Yanıtla #7 : 12 Ağustos 2009, 13:39:46 »
kardeş ben default tema dakileri vbulletindekiler gibi yapmayı yaptım şimdi bunu direk yapabilir miyim ki?

Çevrimdışı Sunax

  • Yeni Üye
  • *
  • İleti: 2
  • Karma: 0
  • ,,
  • Smf Sürümü: 1.1.11
  • Web Siteniz: www.ozanworld.com/forum
Ynt: 32-Default TeMaya .Gif Koyma ...
« Yanıtla #8 : 25 Ocak 2010, 05:18:12 »
bende cok güzel bir eror veriyor  ??? dil dosyasıyla ne alakası var onu anlamadım



Template Parse Error!      There was a problem loading the /Themes/default/index.template.php template or language file.  Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\).  To see more specific error information from PHP, try accessing the file directly.

You may want to try to ref-resh this page or use the default theme.      

Çevrimdışı hhy89

  • Yönetici
  • *
  • İleti: 9511
  • Karma: 496
  • www.SmfMod.com
  • Smf Sürümü: 2.0 RC3
  • Web Siteniz: smfmod.com
Ynt: 32-Default TeMaya .Gif Koyma ...
« Yanıtla #9 : 25 Ocak 2010, 20:10:55 »
hangi satırda hata veriyor
Php-SEO-MySQL-Ajax-JavaScript-Css-HTML
Günlük Yaz
Yeni Modları Takip Etmek Için
*Amacımız balık vermek degil balık tutmayı ogretmek ;)
*Smfyi herkes sever ama siz abartın ;)
*“İnsanların en hayırlısı, insa


GoogleTagged - Etiketler

 



Benzer Konular

Konu Başlatan Yanıt Gösterim Son İleti
Kategori basına resim koyma smf 2
Kategori
hhy89 18 1517 Son İleti 24 Nisan 2010, 16:32:02
Gönderen: hhy89
Default Temaya böyle menü olur mu?
Çözülenler
Beqo 6 237 Son İleti 01 Temmuz 2009, 09:15:35
Gönderen: Tattoocu_CarteL
Hit Modu Ay Işığı ,Çöl Ateşi ,Vb Default ,Wchild ,eSSİZ ,Outline,Default..
TakvaEhli.NeT Mod Paylaşımları
amca 0 282 Son İleti 08 Ağustos 2009, 16:44:07
Gönderen: amca
sitenin en üstüne banner koyma
Çözülenler
infazcı 9 409 Son İleti 03 Aralık 2009, 22:05:20
Gönderen: infazcı
temadaki haber bölümüne geçişli film afişi koyma hk. yardım
Çözülenler
tebem25 3 183 Son İleti 13 Mart 2010, 20:12:15
Gönderen: tebem25