
Temmuz 2nd, 2008
Konuyu Açan 
admin
->
Önce avatarsız üyelere atamak istediğiniz resimi avatarauto.jpg olarak adlandırırp ".images" klasörünüze upload edin sonra;
Display.template.php Dosyasını Açın;
Bulun;
Kod:
if (!empty($settings[’show_user_images’]) && empty($options[’show_no_avatars’]) && !empty($message[’member’][’avatar’][’image’]))
echo ‘
<div style="overflow: auto; width: 100%;">’, $message[’member’][’avatar’][’image’], ‘</div><br />’;
Değiştirin;
Kod:
if (!empty($settings[’show_user_images’]) && empty($options[’show_no_avatars’]))
if (empty($message[’member’][’avatar’][’image’]))
echo ‘<div style="overflow: auto; width: 100%;"><img src="’ . $settings[’images_url’] . ‘/avatarauto.jpg" alt="Avatar Yok" title="Avatar Yok" border="0" /></div><br />’;
else
echo ‘<div style="overflow: auto; width: 100%;">’, $message[’member’][’avatar’][’image’],’</div><br />’;
Katagori
Smf |
Hic Yorum Yok »

Temmuz 2nd, 2008
Konuyu Açan 
admin
BoardIndex.template.php aç;
Bulun;
Kod:
// Show YaBB SP1 style information…
if ($settings[’show_sp1_info’])
{
echo ‘
<tr>
<td class="titlebg" colspan="2">’, $txt[645], ‘</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="’, $scripturl, ‘?action=stats"><img src="’, $settings[’images_url’], ‘/icons/info.gif" alt="’, $txt[645], ‘" /></a>
</td>
<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>"’ . $context[’latest_post’][’link’] . ‘"</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>
</tr>’;
}
Değiştir;
Kod:
// Show YaBB SP1 style information…
if ($settings[’show_sp1_info’])
{
echo ‘
<tr>
<td class="titlebg" colspan="2">’, $txt[645], ‘</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="’, $scripturl, ‘?action=stats">
<img src="’, $settings[’images_url’], ‘/icons/info.gif" alt="’, $txt[645], ‘" border="0" /></a>
</td>
<td class="windowbg2" width="100%">
<table border="0" width="90%"><tr>
<td class="smalltext">
<div style="float: ‘, !$context[’right_to_left’] ? ‘left’ : ‘right’, ‘; width: 50%;">’, $txt[490], ‘: <b>’, $context[’common_stats’][’total_topics’], ‘</b></div>’, $txt[489], ‘: <b>’, $context[’common_stats’][’total_posts’], ‘</b><br />’, !empty($context[’latest_post’]) ? ‘
‘ . $txt[659] . ‘: "’ . $context[’latest_post’][’link’] . ‘" (’ . $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>’ : ”, ‘
</td>
<td width="32%" class="smalltext" valign="top">
‘, $txt[488], ‘: <b><a href="’, $scripturl, ‘?action=mlist">’, $context[’common_stats’][’total_members’], ‘</a></b><br />
‘, $txt[656], ‘: <b>’, $context[’common_stats’][’latest_member’][’link’], ‘</b><br />’;
// If they are logged in, show their unread message count, etc..
if ($context[’user’][’is_logged’])
echo ‘
‘, $txt[’smf199′], ‘: <b><a href="’, $scripturl, ‘?action=pm">’, $context[’user’][’messages’], ‘</a></b> ‘, $txt[’newmessages3′], ‘: <b><a href="’, $scripturl, ‘?action=pm">’, $context[’user’][’unread_messages’], ‘</a></b>’;
echo ‘
</td>
</tr></table>
</td>
</tr>’;
}
Not: İşlemi Yapmadan Önce Gerekli Dosyaları Yedek Almanızı Tavsiye Ederiz..
Katagori
Smf |
Hic Yorum Yok »

Temmuz 2nd, 2008
Konuyu Açan 
admin
BoardIndex.template.php Açın;
Bu Kodu Bulun;
Kod:
<a href="’, $scripturl, ‘?action=profile;u=’, $member[’id’], ‘">’, (!empty($member[’color’]) ? ‘<font color="’.$member[’color’].’">’ : ”), $member[’name’], isset($member[’age’]) ? ‘ (’ . $member[’age’] . ‘)’ : ”, (!empty($member[’color’]) ? ‘</font>’ : ”), ‘</a>’, $member[’is_last’] ? ” : ‘, ‘;
}
Değiştirin;
Kod:
<a href="’, $scripturl, ‘?action=profile;u=’, $member[’id’], ‘">’, $member[’is_today’] ? ‘<font color=#0066ff><b> ‘ : ”, $member[’name’], $member[’is_today’] ? ‘</b></font>’ : ”, isset($member[’age’]) ? ‘ (’ . $member[’age’] . ‘)’ : ”, ‘</a>’, $member[’is_last’] ? ‘<br />’ : ‘, ‘;
}
Değişikliği o gün doğum günü olan kişinin rengine göre ayarlandı.
Buradaki renk hem koyu hemde mavi. Renk kodunu siz istediğiniz gibi değiştirirsiniz.
Not: İşlemi Yapmadan Önce Gerekli Dosyaları Yedek Almanızı Tavsiye Ederiz..
Katagori
Smf |
Hic Yorum Yok »

Temmuz 2nd, 2008
Konuyu Açan 
admin
Avatarın Altındaki Duyuru Yazısını Ortalama:
index.template.php ‘ de Bunu Bulun;
Kod:
// Show a random news item? (or you could pick one from news_lines…)
if (!empty($settings[’enable_news’]))
echo ‘
<td width="90%" class="titlebg2">
<span class="smalltext"><b>’, $txt[102], ‘</b>: ‘, $context[’random_news_line’], ‘</span>
</td>’;
echo ‘
Değiştirin;
Kod:
// Show a random news item? (or you could pick one from news_lines…)
if (!empty($settings[’enable_news’]))
echo ‘
<td width="90%" class="titlebg2">
<span class="smalltext"><center><b>’, $txt[102], ‘</b>:</center> ‘, $context[’random_news_line’], ‘</span>
</td>’;
echo ‘
Kategorilerin Üstündeki Tablo Olan Duyurulardaki Yazıyı Ortalamak Için:
Boardİndex.template.php ‘ de Bunu Bulun;
Kod:
// Show the news fader? (assuming there are things to show…)
if ($settings[’show_newsfader’] && !empty($context[’fader_news_lines’]))
{
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"> ’, $txt[102], ‘</td>
</tr>
Değiştirin;
Kod:
// Show the news fader? (assuming there are things to show…)
if ($settings[’show_newsfader’] && !empty($context[’fader_news_lines’]))
{
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"><center> ’, $txt[102], ‘</center></td>
</tr>
Not: İşlemi Yapmadan Önce Gerekli Dosyaları Yedek Almanızı Tavsiye Ederiz..
Katagori
Smf |
Hic Yorum Yok »

Temmuz 2nd, 2008
Konuyu Açan 
admin
Display.template.php yi açın;
Bul;
Kod:
// Show how many posts they have made.
echo ‘
‘, $txt[26], ‘: ‘, $message[’member’][’posts’], ‘<br />
<br />’;
Üye ID kodunu sonrasına ekle;
Kod:
// Show the member’s ID
echo ‘
Üye ID: ‘, $message[’member’][’id’], ‘<br />
<br />’;
Üye nin nerden olduğunu gösteren kodu sonrasına ekle;
Kod:
// Show the member’s location
echo ‘
Nerden: ‘, $message[’member’][’location’], ‘<br />
<br />’;
Not: İşlemi Yapmadan Önce Gerekli Dosyaları Yedek Almanızı Tavsiye Ederiz..
Katagori
Smf |
Hic Yorum Yok »