Haqan bu dosyayı indirdiğine eminmisin?
http://www.smfturk.net/forum/index.php?action=dlattach;topic=270.0;attach=242Kayan_Cevaplar_2c_1.1.zip yazanı indirmelisin SMF 1.1 ve SMF 1.1.1 sürümleri için. Yine olmazsa alttaki manuel kurulumu yap
$themedir/BoardIndex.template.php
// Here's where the "Info Center" starts...
// Son mesajlar basladi. sorun yasarsaniz sitemizi ziyaret edin. www.smfturk.net
if (!empty($settings['number_recent_posts']))
{
echo '
<div class="tborder" style="margin-bottom: 2ex;">
<table border="0" width="100%" cellspacing="1" cellpadding="4">
<tr>
<td class="catbg" colspan="2">', $txt[214], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=recent">
<img src="', $settings['images_url'], '/post/xx.gif" alt="', $txt[214], '" border="0" /></a>
</td>
<td class="windowbg2">';
// Gönderilen
if ($settings['number_recent_posts'] == 1)
{
// latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.)
echo '
<b><a href="', $scripturl, '?action=recent">', $txt[214], '</a></b>
<div class="smalltext">
', $txt[234], ' "', $context['latest_post']['link'], '" ', $txt[235], ' (', $context['latest_post']['time'], ')<br />
</div>';
}
// Aç?klama
elseif (!empty($context['latest_posts']))
{
echo '
<table cellspacing="1" width="100%" cellpadding="0" border="0">
<tr>
<th align="left" width="23%">Bölüm</th>
<th align="left" width="52%">Konu</th>
<th align="right" width="10%">Gönderen</th>
</tr>
</table>';
echo'
<marquee behavior="scroll" direction="up" scrollamount="2" height="100" onMouseOver="this.stop()" onMouseOut="this.start()">
<table cellspacing="1" width="100%" cellpadding="0" 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 valign="middle" width="23%">', $post['board']['link'], '</td>
<td valign="middle" width="52%">', $post['link'], '</td>
<td align="center" valign="middle" width="10%">', $post['poster']['link'], '</td>
</tr>';
echo '
</table></marque>';
}
echo '
</td>
</tr>
</table>
</div>';
}
// Son mesajlar bitti. sorun yasarsaniz sitemizi ziyaret edin. www.smfturk.net
// This is the "Recent Posts" bar.
if (!empty($settings['number_recent_posts']))
{
echo '
<tr>
<td class="titlebg" colspan="2">', $txt[214], '</td>
</tr>
<tr>
<td class="windowbg" width="20" valign="middle" align="center">
<a href="', $scripturl, '?action=recent"><img src="', $settings['images_url'], '/post/xx.gif" alt="', $txt[214], '" /></a>
</td>
<td class="windowbg2">';
// Only show one post.
if ($settings['number_recent_posts'] == 1)
{
// latest_post has link, href, time, subject, short_subject (shortened with...), and topic. (its id.)
echo '
<b><a href="', $scripturl, '?action=recent">', $txt[214], '</a></b>
<div class="smalltext">
', $txt[234], ' "', $context['latest_post']['link'], '" ', $txt[235], ' (', $context['latest_post']['time'], ')<br />
</div>';
}
// 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>';
}
// Son mesajlar kodu buradan kaldırıldı ve kayan mesajlar modifikasyonu eklendi.