Tema Edit Yardım

Started by ßozkurt, February 27, 2010, 04:35:01 PM

Previous topic - Next topic

ßozkurt

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 ! =)
" Ölür olsa öğüt almaz kız anadan görmeyince "
   nerden geldi şimdi bu aklıma :)

Genel Kültür

(Yedek alarak) Boardindex.template.php;

Bul:
/* 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:

/* 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:

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:

// 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 : )

Advertisement: