Advertisement:

Author Topic: Tema Edit Yardım  (Read 1396 times)

Offline ßozkurt

  • Semi-Newbie
  • *
  • Posts: 90
  • Gender: Male
  • ßozkurt
    • | GalataSarayKolik.Com |
Tema Edit Yardım
« on: February 27, 2010, 04:35:01 PM »
Selamınaleyküm !
Arkadaşlar bir tema editliyorumda sağdaki moderatör kısmını kaldıramadım nasıl kaldırabilirm ?
Şimdiden TEŞEKKÜRLER ! =)
« Last Edit: February 28, 2010, 04:24:14 PM by ßozkurt »
" Ölür olsa öğüt almaz kız anadan görmeyince "
   nerden geldi şimdi bu aklıma :)

Offline Genel Kültür

  • Semi-Newbie
  • *
  • Posts: 13
  • Gender: Male
  • Ne var ?
    • Genel Kültür
Re: Tema Edit Yardım
« Reply #1 on: March 05, 2010, 10:47:38 AM »
(Yedek alarak) Boardindex.template.php;

Bul:
Code: [Select]
/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))
echo '
<b>', $txt[22], '</b>  ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
', $txt['smf88'], ' ', $board['last_post']['link'], '<br />
', $txt[30], ' ', $board['last_post']['time'];
echo '
</span></td>
<td class="windowbg" align="center" valign="middle" width="10%">
        <span class="smalltext">';
// Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.)
if (!empty($board['moderators']))
echo '
<b>', count($board['moderators']) == 1 ? $txt[298] : $txt[299], ':</b> ', implode(', ', $board['link_moderators']);

Değiştir:

Code: [Select]
/* The board's and children's 'last_post's have:
time, timestamp (a number that represents the time.), id (of the post), topic (topic id.),
link, href, subject, start (where they should go for the first unread post.),
and member. (which has id, name, link, href, username in it.) */
if (!empty($board['last_post']['id']))
echo '
<b>', $txt[22], '</b>  ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br />
<img src="', $settings['images_url'], '/post/', $board['last_post']['icon'], '.gif" alt="Message Icon" align="absmiddle" />
', $txt['smf88'], ' ', $board['last_post']['link'], '<br />
', $txt[30], ' ', $board['last_post']['time'];
echo '
</span>
</td>
</tr>';

Bul:

Code: [Select]
echo '</a>
</td>
<td class="windowbg2">
<b><a href="', $board['href'], '" name="b', $board['id'], '">', $board['name'], '</a></b>&nbsp;<a href="' . $scripturl . '?action=.xml;board=' . $board['id'] . ';type=rss"><img src="' . $settings['images_url'] . '/rss.png" alt="rss" /></a><br />
', $board['description'];

Sonrasına ekle:

Code: [Select]
// Show the "Moderators: ". Each has name, href, link, and id. (but we're gonna use link_moderators.)
if (!empty($board['moderators']))
echo '
<div style="padding-top: 1px;" class="smalltext"><i>', count($board['moderators']) == 1 ? $txt[298] : $txt[299], ': ', implode(', ', $board['link_moderators']), '</i></div>';
İmza : )