Gönderen Konu: Şunları Nasıl Değiştirebilirim?  (Okunma sayısı 1794 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

Çevrimdışı pckoliq

  • Yeni Üye
  • *
  • İleti: 7
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
Şunları Nasıl Değiştirebilirim?
« : SmfGrup Saati : 15 Ağustos Cts 2009, 22:44 »
Merhaba
Default temadaki menüyü nasıl vbulletin stili gibi değiştirebilirim.
İşte resimlerdeki gibi
(menüler ve giriş bölümü vs)

Benimki ==> 1.Resim
Yapmak istediğim ==> 2.Resim

Çevrimdışı sasuke

  • Koşmuyoruz hayatta hiç geri, ileride basıyoruz her topa sizin gibi...
  • Emekli Smf Ustası
  • *****
  • İleti: 10897
  • PR ( Rep ) : 195
  • Cinsiyet: Bay
    • SMFGRUP.COM
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #1 : SmfGrup Saati : 15 Ağustos Cts 2009, 22:46 »
Forum sürümün ne?
« Son Düzenleme: SmfGrup Saati : 15 Ağustos Cts 2009, 22:46 Gönderen: sasuke »

Çevrimdışı pckoliq

  • Yeni Üye
  • *
  • İleti: 7
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #2 : SmfGrup Saati : 15 Ağustos Cts 2009, 22:47 »
SMF 1.1.10

Çevrimdışı sasuke

  • Koşmuyoruz hayatta hiç geri, ileride basıyoruz her topa sizin gibi...
  • Emekli Smf Ustası
  • *****
  • İleti: 10897
  • PR ( Rep ) : 195
  • Cinsiyet: Bay
    • SMFGRUP.COM
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #3 : SmfGrup Saati : 15 Ağustos Cts 2009, 22:53 »
index.template.php koy

Çevrimdışı pckoliq

  • Yeni Üye
  • *
  • İleti: 7
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #4 : SmfGrup Saati : 15 Ağustos Cts 2009, 22:57 »
Hocam buyrun ekledim.
Ama benim amacım bunu öğrenmek. Naptığınızı banada sölerseniz sevinirim. Çünkü tema yapmayı öğreniyorum bu sitede de birçok makale var sizin sayenizde geliştim ama bunu hiçbiyerde bulamadım.
« Son Düzenleme: SmfGrup Saati : 15 Ağustos Cts 2009, 22:58 Gönderen: pckoliq »

Çevrimdışı sasuke

  • Koşmuyoruz hayatta hiç geri, ileride basıyoruz her topa sizin gibi...
  • Emekli Smf Ustası
  • *****
  • İleti: 10897
  • PR ( Rep ) : 195
  • Cinsiyet: Bay
    • SMFGRUP.COM
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #5 : SmfGrup Saati : 15 Ağustos Cts 2009, 23:42 »
index.template.php bul

Kod: [Seç]
</div>';


// Show the menu here, according to the menu sub template.
template_menu();

değiştir

Kod: [Seç]
echo '
<table id="upshrinkHeader2"', empty($options['collapse_header']) ? '' : ' style="display: none;"', ' width="100%" cellpadding="4" cellspacing="0" border="0">
<tr>';


echo '
<td  height="10" width="100%" class="titlebg">
', template_menu(), '
</td>';

echo '
</tr>
</table> </div>';

bul

Kod: [Seç]
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;

// Work out where we currently are.
$current_action = 'home';
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

// Are we using right-to-left orientation?
if ($context['right_to_left'])
{
$first = 'last';
$last = 'first';
}
else
{
$first = 'first';
$last = 'last';
}

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

Kod: [Seç]
// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{

global $context, $settings, $options, $scripturl, $txt;

// Work out where we currently are.
$current_action = 'home';
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
$current_action = 'admin';
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';


// Show the start of the tab section.
echo '
<table width="95%" cellpadding="0" cellspacing="0" border="0">
<tr>';

// Show the [home] button.
echo '
<td  align="center"><a href="', $scripturl, '">' , $txt[103] , '</a></td>';

// Show the [help] button.
echo '
<td  align="center"><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></td>';


// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '
<td align="center"><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></td>';



// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '
<td  align="center"><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></td>';


// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo '
<td  align="center"><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></td>';


// The [calendar]!
if ($context['allow_calendar'])
echo '
<td  align="center" ><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></td>';

// the [member] list button
if ($context['allow_memberlist'])
echo '
<td  valign="top" align="center"><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>';
// How about the [search] button?
if ($context['allow_search'])
echo '
<td align="center">
<a href="' . $scripturl . '?action=search>Arama</a></td>';



// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo '
<td  align="center"><a href="', $scripturl, '?action=login">' , $txt[34] , '</a></td>';


// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo '
<td  align="center"><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></td>';


// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo '
<td  align="center"><a onclick="return log_out()" href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></td>';

// The end of tab section.
echo '
</tr>
</table>
';



}

Bu sadece menüyü yapar, verdiğin 2. resimde sağdaki yer ve soldaki link ağacı olmaz

Çevrimdışı pckoliq

  • Yeni Üye
  • *
  • İleti: 7
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #6 : SmfGrup Saati : 18 Ağustos Sal 2009, 12:53 »
öbürlerini nasıl değiştircem peki

Çevrimdışı pckoliq

  • Yeni Üye
  • *
  • İleti: 7
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #7 : SmfGrup Saati : 18 Ağustos Sal 2009, 14:40 »
Hatta ben resmi eksikte verdim.
Üstteki bölüm çıkmamış bunun gibi olcak;

Çevrimdışı pckoliq

  • Yeni Üye
  • *
  • İleti: 7
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #8 : SmfGrup Saati : 19 Ağustos Çrş 2009, 16:17 »
yardımlarınızı bekliyorum

Çevrimdışı pckoliq

  • Yeni Üye
  • *
  • İleti: 7
  • PR ( Rep ) : 0
  • Kendinize İmza Seciniz
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #9 : SmfGrup Saati : 27 Ağustos Prş 2009, 14:15 »
güncel

Çevrimdışı Gökay

  • Yeni Üye
  • *
  • İleti: 105
  • PR ( Rep ) : 0
  • Cinsiyet: Bay
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #10 : SmfGrup Saati : 13 Kasım Cum 2009, 17:06 »
evet nasıl yapılır anlatabilirseniz bende kullanmak istiyorum inşallah çabuk cevap gelir sağol pckoliq konuyu sen açmasaydın ben açacaktım

Çevrimdışı кнη

  • khaan
  • SMF-Modifikasyon
  • *
  • İleti: 3214
  • PR ( Rep ) : 61
  • Cinsiyet: Bay
    • Smf Grup
  • SMF Sürümü: 1.1.x
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #11 : SmfGrup Saati : 13 Kasım Cum 2009, 17:52 »
http://www.smfgrup.com/forum/index.php/topic,16621.0.html

bu konuda ekte verilen dosyayı yedek alarak deneyin.
Yapamam duramam buralarda..
Bu şehir bana dar geliyor..

Unutup
Seni kalbime gömmek..
Ölümden daha zor geliyor..

Çevrimdışı ultraslan-yakup

  • Yeni Üye
  • *
  • İleti: 73
  • PR ( Rep ) : 0
  • http://www.forum-merkezi.com
    • Forum-Merkezi
Ynt: Şunları Nasıl Değiştirebilirim?
« Yanıtla #12 : SmfGrup Saati : 01 Aralık Sal 2009, 12:39 »
bunun rc 2 için olanını ricaetsem alabilirmiyim zahmet olmazsa
Full Top10 Paket Kurulum 1.x ve2.X Serisi İçin

Link Günceldir


http://www.forum-merkezi.com 2.0RC2
üyeadı : deneme
şifre : 1111