smf full top 5

Başlatan snrj, 21 May 2014 20:03

« önceki - sonraki »

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

snrj

21 May 2014 20:03 Son düzenlenme: 27 Ağu 2014 18:49 Smfci

xhtml hatası yoktur
css sprite kulanılmıştır
demo
mod olarak ekten indirebilirsiniz
manuel anlatım
BoardIndex.template.php bul
Kod [Seç]
// This is the "Recent Posts" bar.
 if (!empty($settings['number_recent_posts']) && (!empty($context['latest_posts']) || !empty($context['latest_post'])))
 {
 echo '
 <div class="title_barIC">
 <h4 class="titlebg">
 <span class="ie6_header floatleft">
 <a href="', $scripturl, '?action=recent"><img class="icon" src="', $settings['images_url'], '/post/xx.gif" alt="', $txt['recent_posts'], '" /></a>
 ', $txt['recent_posts'], '
 </span>
 </h4>
 </div>
 <div class="hslice" id="recent_posts_content">
 <div class="entry-title" style="display: none;">', $context['forum_name_html_safe'], ' - ', $txt['recent_posts'], '</div>
 <div class="entry-content" style="display: none;">
 <a rel="feedurl" href="', $scripturl, '?action=.xml;type=webslice">', $txt['subscribe_webslice'], '</a>
 </div>';

 // 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 '
 <strong><a href="', $scripturl, '?action=recent">', $txt['recent_posts'], '</a></strong>
 <p id="infocenter_onepost" class="middletext">
 ', $txt['recent_view'], ' &quot;', $context['latest_post']['link'], '&quot; ', $txt['recent_updated'], ' (', $context['latest_post']['time'], ')<br />
 </p>';
 }
 // Show lots of posts.
 elseif (!empty($context['latest_posts']))
 {
 echo '
 <dl id="ic_recentposts" class="middletext">';

 /* 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 '
 <dt><strong>', $post['link'], '</strong> ', $txt['by'], ' ', $post['poster']['link'], ' (', $post['board']['link'], ')</dt>
 <dd>', $post['time'], '</dd>';
 echo '
 </dl>';
 }
 echo '
 </div>';
 }

değiştir
Kod [Seç]
echo '
<table class="fulltop" border="0" width="100%" cellspacing="1" cellpadding="2">
<tr class="titlebg">
<td width="20%"><span class="smalltext">' . $txt['Full1'] . '</span></td>
<td width="18%"><span class="smalltext">' . $txt['Full2'] . '</span></td>
<td width="18%"><span class="smalltext">' . $txt['Full3'] . '</span></td>
<td width="30%"><span class="smalltext">' . $txt['Full4'] . '</span></td>
<td width="14%"><span class="smalltext">' . $txt['Full5'] . '</span></td></tr>

<tr>
<td width="20%" valign="top"><table width="100%"><tr>
<td width="75%"><span class="smalltext"><b>' . $txt['Full6'] . '</b></span></td>
<td width="25%" align="right"><span class="smalltext"><b>' . $txt['Full7'] . '</b></span></td></tr>';
foreach ($context['top_posters'] as $poster)
{echo '
<tr><td width="75%"><div style="background-position: 0px 0px;"></div><span class="smalltext">', $poster['link'], '</span></td>
<td width="25%" align="right"><p class="fmavi"><span class="fmavi1">', $poster['num_posts'], '</span></p></td></tr>';
}echo '</table></td>

<td width="18%" valign="top"><table width="100%"><tr>
<td width="75%"><span class="smalltext"><b>' . $txt['Full6'] . '</b></span></td>
<td width="25%" align="right"><span class="smalltext"><b>' . $txt['Full8'] . '</b></span></td></tr>';
foreach ($context['repkarma'] as $member)
{echo '
<tr><td width="75%" valign="top"><div style="background-position: 0px -22px;"></div><span class="smalltext">', $member['link'], '</span></td>
<td width="25%" align="right" valign="top"><p class="fmavi"><span class="fmavi1">', $member['karma'], '</span></p></td></tr>';
}echo '</table></td>

<td width="18%" valign="top"><table width="100%"><tr>
<td width="75%"><span class="smalltext"><b>' . $txt['Full6'] . '</b></span></td>
<td width="25%" align="right"><span class="smalltext"><b>' . $txt['Full9'] . '</b></span></td></tr>';
foreach ($context['top_starters'] as $poster)
{echo '
<tr><td width="75%" valign="top"><div style="background-position: 0px -44px;"></div><span class="smalltext">', $poster['link'], '</span></td>
<td width="25%" align="right" valign="top"><p class="fmavi"><span class="fmavi1">', $poster['num_topics'], '</span></p></td></tr>';
}echo '</table></td>

<td width="30%" valign="top"><table width="100%"><tr>
<td width="80%"><span class="smalltext"><b>' . $txt['Full9'] . '</b></span></td>
<td width="20%" align="right"><span class="smalltext"><b>' . $txt['Full10'] . '</b></span></td></tr>';
foreach ($context['top_topics_views'] as $topic)
{
echo '
<tr><td width="80%" valign="top"><div style="background-position: 0px -198px;"></div><span class="smalltext">', $topic['link'], '</span></td>
<td width="20%" align="right" valign="top"><p class="fmavi"><span class="fmavi1">', $topic['num_views'], '</span></p></td></tr>';
}
echo '</table></td>
<td width="14%" valign="top"><table width="100%"><tr>
<td width="100%"><span class="smalltext"><b>' . $txt['Full6'] . '</b></span></td></tr>';
foreach ($context['new_members'] as $poster)
{echo '
<tr><td width="100%" valign="top"><div style="background-position: 0px -88px;"></div><span class="smalltext">',$poster['link'], '</span></td></tr>';
}echo '</table></td></tr>
<tr>
<td width="100%" colspan="5" height="0"><table width="100%">
<tr class="titlebg">
<td width="30%"><span class="smalltext"><b>' . $txt['Full11'] . '</b></span></td>
<td width="30%"><span class="smalltext"><b>' . $txt['Full12'] . '</b></span></td>
<td width="17%"><span class="smalltext"><b>' . $txt['Full13'] . '</b></span></td>
<td width="23%"><span class="smalltext"><b>' . $txt['Full14'] . '</b></span>' . $txt['Full15'] . '</td></tr></table>
<table  cellspacing="1" width="100%" cellpadding="0"  border="0">';
if (!empty($context['latest_posts']))
foreach ($context['latest_posts'] as $post)
echo '
<tr><td valign="top" width="30%"><div style="background-position: 0px -110px;"></div><span class="smalltext">', $post['board']['link'],  '</span></td>
<td valign="top" width="30%"><div style="background-position: 0px -132px;"></div><span class="smalltext"><a href="',$post['href'],'">', $post['short_subject'], '</a></span></td>
<td valign="top" width="17%"><div style="background-position: 0px -154px;"></div><span class="smalltext">', $post['poster']['link'],'</span></td>
<td valign="top" width="23%"><div style="background-position: 0px -176px;"></div><span class="smalltext">', $post['time'], '</span></td></tr>';
echo '</table></td></tr></table>';

sources/BoardIndex.php bul
Kod [Seç]
$context['page_title'] = sprintf($txt['forum_index'], $context['forum_name']);değiştir
Kod [Seç]
$context['page_title'] = sprintf($txt['forum_index'], $context['forum_name']);
 global $context, $smcFunc, $txt, $db_prefix, $scripturl, $modSettings;
   $members_result =  $smcFunc['db_query']('', '  SELECT id_member, real_name, posts   FROM {db_prefix}members   ORDER BY id_member DESC   LIMIT 5',array());$context['new_members'] = array();
   while ($row_members = $smcFunc['db_fetch_assoc']($members_result)){$context['new_members'][] = array('name' => $row_members['real_name'],'id' => $row_members['id_member'],'href' => $scripturl . '?action=profile;u=' . $row_members['id_member'],'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['id_member'] . '">' . $row_members['real_name'] . '</a>' );} $smcFunc['db_free_result']($members_result);$members_result = $smcFunc['db_query']('', '  SELECT id_member, real_name, karma_good   FROM {db_prefix}members   ORDER BY karma_good DESC LIMIT 5');$context['repkarma'] = array();while ($row_members = $smcFunc['db_fetch_assoc']($members_result)){$context['repkarma'][] = array('name' => $row_members['real_name'],'id' => $row_members['id_member'], 'karma' => $row_members['karma_good'], 'href' => $scripturl . '?action=profile;u=' . $row_members['id_member'],'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['id_member'] . '">' . $row_members['real_name'] . '</a>' );} $smcFunc['db_free_result']($members_result);if (empty($context['repkarma']))return;$members_result = $smcFunc['db_query']('', ' SELECT id_member, real_name, posts FROM {db_prefix}members WHERE posts > {int:no_posts} ORDER BY posts DESC LIMIT 5',array('no_posts' => 0,));$context['top_posters'] = array();$max_num_posts = 1;$context['MemberColor_ID_MEMBER'] = array();
 while ($row_members = $smcFunc['db_fetch_assoc']($members_result)){$context['top_posters'][] = array('name' => $row_members['real_name'],'id' => $row_members['id_member'],'num_posts' => $row_members['posts'],'href' => $scripturl . '?action=profile;u=' . $row_members['id_member'],'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['id_member'] . '">' . $row_members['real_name'] . '</a>');if ($max_num_posts < $row_members['posts'])$max_num_posts = $row_members['posts'];if (!empty($modSettings['MemberColorStats']) && !empty($row_members['id_member']))$context['MemberColor_ID_MEMBER'][$row_members['id_member']] = $row_members['id_member'];}$smcFunc['db_free_result']($members_result);foreach ($context['top_posters'] as $i => $poster){$context['top_posters'][$i]['post_percent'] = round(($poster['num_posts'] * 100) / $max_num_posts);$context['top_posters'][$i]['num_posts'] = comma_format($context['top_posters'][$i]['num_posts']);}$boards_result = $smcFunc['db_query']('', ' SELECT id_board, name, num_posts FROM {db_prefix}boards AS b WHERE {query_see_board}' . (!empty($modSettings['recycle_enable']) && $modSettings['recycle_board'] > 0 ? ' AND b.id_board != {int:recycle_board}' : '') . ' AND b.redirect = {string:blank_redirect} ORDER BY num_posts DESC LIMIT 5',array('recycle_board' => $modSettings['recycle_board'],'blank_redirect' => '',));$context['top_boards'] = array();$max_num_posts = 1;
 while ($row_board = $smcFunc['db_fetch_assoc']($boards_result)){$context['top_boards'][] = array('id' => $row_board['id_board'],'name' => $row_board['name'],'num_posts' => $row_board['num_posts'],'href' => $scripturl . '?board=' . $row_board['id_board'] . '.0','link' => '<a href="' . $scripturl . '?board=' . $row_board['id_board'] . '.0">' . $row_board['name'] . '</a>');if ($max_num_posts < $row_board['num_posts'])$max_num_posts = $row_board['num_posts'];}
 $smcFunc['db_free_result']($boards_result);
 foreach ($context['top_boards'] as $i => $board){$context['top_boards'][$i]['post_percent'] = round(($board['num_posts'] * 100) / $max_num_posts);$context['top_boards'][$i]['num_posts'] = comma_format($context['top_boards'][$i]['num_posts']);}
 if ($modSettings['totalMessages'] > 100000){$request = $smcFunc['db_query']('', ' SELECT id_topic FROM {db_prefix}topics WHERE num_replies != {int:no_replies}' . ($modSettings['postmod_active'] ? ' AND approved = {int:is_approved}' : '') . ' ORDER BY num_replies DESC LIMIT 100',array('no_replies' => 0,'is_approved' => 1,));
 $topic_ids = array();while ($row = $smcFunc['db_fetch_assoc']($request))$topic_ids[] = $row['id_topic'];$smcFunc['db_free_result']($request);} else $topic_ids = array();
 $topic_view_result = $smcFunc['db_query']('', ' SELECT m.subject, t.num_views, t.id_board, t.id_topic, b.name FROM {db_prefix}topics AS t INNER JOIN {db_prefix}messages AS m ON (m.id_msg = t.id_first_msg) INNER JOIN {db_prefix}boards AS b ON (b.id_board = t.id_board' . (!empty($modSettings['recycle_enable']) && $modSettings['recycle_board'] > 0 ? ' AND b.id_board != {int:recycle_board}' : '') . ') WHERE {query_see_board}' . (!empty($topic_ids) ? ' AND t.id_topic IN ({array_int:topic_list})' : ($modSettings['postmod_active'] ? ' AND t.approved = {int:is_approved}' : '')) . ' ORDER BY t.num_views DESC LIMIT 5',array('topic_list' => $topic_ids,'recycle_board' => $modSettings['recycle_board'],'is_approved' => 1,));
 $context['top_topics_views'] = array();$max_num_views = 1;
 while ($row_topic_views = $smcFunc['db_fetch_assoc']($topic_view_result))
 {censorText($row_topic_views['subject']);
    $row_topic_views['subject'] = shorten_subject($row_topic_views['subject'], 20);$context['top_topics_views'][] = array('id' => $row_topic_views['id_topic'],'board' => array('id' => $row_topic_views['id_board'],'name' => $row_topic_views['name'],'href' => $scripturl . '?board=' . $row_topic_views['id_board'] . '.0','link' => '<a href="' . $scripturl . '?board=' . $row_topic_views['id_board'] . '.0">' . $row_topic_views['name'] . '</a>'),'subject' => $row_topic_views['subject'],'num_views' => $row_topic_views['num_views'],'href' => $scripturl . '?topic=' . $row_topic_views['id_topic'] . '.0','link' => '<a href="' . $scripturl . '?topic=' . $row_topic_views['id_topic'] . '.0">' . $row_topic_views['subject'] . '</a>');
 if ($max_num_views < $row_topic_views['num_views'])$max_num_views = $row_topic_views['num_views'];}
 $smcFunc['db_free_result']($topic_view_result);
 foreach ($context['top_topics_views'] as $i => $topic)
 {$context['top_topics_views'][$i]['post_percent'] = round(($topic['num_views'] * 100) / $max_num_views);$context['top_topics_views'][$i]['num_views'] = comma_format($context['top_topics_views'][$i]['num_views']);}
 if (($members = cache_get_data('stats_top_starters', 360)) == null)
 {$request = $smcFunc['db_query']('', 'SELECT id_member_started, COUNT(*) AS hits FROM {db_prefix}topics' . (!empty($modSettings['recycle_enable']) && $modSettings['recycle_board'] > 0 ? ' WHERE id_board != {int:recycle_board}' : '') . ' GROUP BY id_member_started ORDER BY hits DESC LIMIT 5', array('recycle_board' => $modSettings['recycle_board'],));$members = array();
 while ($row = $smcFunc['db_fetch_assoc']($request))$members[$row['id_member_started']] = $row['hits'];$smcFunc['db_free_result']($request);cache_put_data('stats_top_starters', $members, 360);}
 if (empty($members))$members = array(0 => 0);
 $members_result = $smcFunc['db_query']('', 'SELECT id_member, real_name FROM {db_prefix}members WHERE id_member IN ({array_int:member_list}) ORDER BY FIND_IN_SET(id_member,{string:top_topic_posters})LIMIT 5',array('member_list' => array_keys($members),'top_topic_posters' => implode(',', array_keys($members)),));
 $context['top_starters'] = array();
 $max_num_topics = 1;while ($row_members = $smcFunc['db_fetch_assoc']($members_result))
 {$context['top_starters'][] = array('name' => $row_members['real_name'],'id' => $row_members['id_member'],'num_topics' => $members[$row_members['id_member']],'href' => $scripturl . '?action=profile;u=' . $row_members['id_member'],'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['id_member'] . '">' . $row_members['real_name'] . '</a>');
 if ($max_num_topics < $members[$row_members['id_member']])$max_num_topics = $members[$row_members['id_member']];if (!empty($modSettings['MemberColorStats']))$context['MemberColor_ID_MEMBER'][$row_members['id_member']] = $row_members['id_member'];}
 $smcFunc['db_free_result']($members_result);
 foreach ($context['top_starters'] as $i => $topic){$context['top_starters'][$i]['post_percent'] = round(($topic['num_topics'] * 100) / $max_num_topics);$context['top_starters'][$i]['num_topics'] = comma_format($context['top_starters'][$i]['num_topics']);}
   if (!empty($modSettings['MemberColorLinkInstalled']) && !empty($context['MemberColor_ID_MEMBER'])) {$colorDatas = load_onlineColors($context['MemberColor_ID_MEMBER']);$cmemcolid = null;
      if (!empty($modSettings['MemberColorStats'])) {
         foreach($context['top_posters'] as $key => $value)
 {$cmemcolid = $context['top_posters'][$key]['id'];if(!empty($colorDatas[$cmemcolid]['colored_link']))$context['top_posters'][$key]['link'] = $colorDatas[$cmemcolid]['colored_link'];}
         foreach($context['top_starters'] as $key => $value) {$cmemcolid = $context['top_starters'][$key]['id'];if(!empty($colorDatas[$cmemcolid]['colored_link']))$context['top_starters'][$key]['link'] = $colorDatas[$cmemcolid]['colored_link'];}
         foreach($context['new_members'] as $key => $value) {$cmemcolid = $context['new_members'][$key]['id'];if(!empty($colorDatas[$cmemcolid]['colored_link']))$context['new_members'][$key]['link'] = $colorDatas[$cmemcolid]['colored_link'];}
         foreach($context['repkarma'] as $key => $value) {$cmemcolid = $context['repkarma'][$key]['id'];if(!empty($colorDatas[$cmemcolid]['colored_link']))$context['repkarma'][$key]['link'] = $colorDatas[$cmemcolid]['colored_link'];}}
      if (!empty($modSettings['latestMember']) && !empty($modSettings['MemberColorLatestMember'])) {if(!empty($colorDatas[$modSettings['latestMember']]['colored_link']))$context['latest_member']['link'] = $colorDatas[$modSettings['latestMember']]['colored_link'];}}

Modifications.turkish.php <?php sonrasına ekle

Kod [Seç]
$txt['Full'] = 'Full Top 5';
$txt['Full1'] = 'Top 5 Mesaj';
$txt['Full2'] = 'Top 5 Karma';
$txt['Full3'] = 'Top 5 Konu';
$txt['Full4'] = 'Top 5 Populer Konu';
$txt['Full5'] = 'Yeni Uyeler';
$txt['Full6'] = 'Uye';
$txt['Full7'] = 'Mesaj';
$txt['Full8'] = 'Karma';
$txt['Full9'] = 'Konu';
$txt['Full10'] = 'İlgi';
$txt['Full11'] = 'Yanıtlanan Kategori';
$txt['Full12'] = 'Yanıtlanan Konu';
$txt['Full13'] = 'Gönderen';
$txt['Full14'] = 'Tarih';
$txt['Full15'] = '<a style="float:right;" href="http://smf.konusal.com/" title="smf"><small>smf</small></a><div style="float:right;background-position: 0px -66px;"></div>';

index.css en alta ekle
Kod [Seç]
.fulltop div{background:url(../images/fulltop.png); width: 12px; height: 12px; float: left; margin-top: 2px;}
 .fmavi {position: relative;}
 .fmavi1 {
    position: absolute;
    right: 0px;
    top: 0px;
    max-width: 2.5em;
    min-width: 1.2em;
    height: 1.2em;
    line-height: 1.2em;
    text-align: center;
    font-family: Arial;
    font-weight: bold;
    color: #FFF;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.15);
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.35) inset, 0px 1px 1px rgba(0, 0, 0, 0.2);
    border-radius: 4em;
    transition: top 0.3s ease-in 0s, opacity 0.3s ease-in 0s;
    background-image: linear-gradient(#09F, #557EA0);
    border: 1px solid #557EA0;
}
son olarak paketin içindeki resimi images klasörüne atınız

snrj

Konu tekrarını kaldırmak için
öncesi

sonrası


Sources/Subs-Recent.php bul

Kod [Seç]

$request = $smcFunc['db_query']('substring', '
SELECT
m.poster_time, m.subject, m.id_topic, m.id_member, m.id_msg,
IFNULL(mem.real_name, m.poster_name) AS poster_name, t.id_board, b.name AS board_name,
SUBSTRING(m.body, 1, 385) AS body, m.smileys_enabled
FROM {db_prefix}messages AS m
INNER JOIN {db_prefix}topics AS t ON (t.id_topic = m.id_topic)
INNER JOIN {db_prefix}boards AS b ON (b.id_board = t.id_board)
LEFT JOIN {db_prefix}members AS mem ON (mem.id_member = m.id_member)
WHERE m.id_msg >= {int:likely_max_msg}' .
(!empty($modSettings['recycle_enable']) && $modSettings['recycle_board'] > 0 ? '
AND b.id_board != {int:recycle_board}' : '') . '
AND {query_wanna_see_board}' . ($modSettings['postmod_active'] ? '
AND t.approved = {int:is_approved}
AND m.approved = {int:is_approved}' : '') . '
ORDER BY m.id_msg DESC
LIMIT ' . $latestPostOptions['number_posts'],
array(
'likely_max_msg' => max(0, $modSettings['maxMsgID'] - 50 * $latestPostOptions['number_posts']),
'recycle_board' => $modSettings['recycle_board'],
'is_approved' => 1,
)
);

değiştir
Kod [Seç]

$request = $smcFunc['db_query']('', '
SELECT
m.poster_time, ms.subject, m.id_topic, m.id_member, m.id_msg, b.id_board, b.name AS board_name,
IFNULL(mem.real_name, m.poster_name) AS poster_name,
SUBSTRING(m.body, 1, 384) AS body, m.smileys_enabled
FROM {db_prefix}topics AS t
INNER JOIN {db_prefix}messages AS m ON (m.id_msg = t.id_last_msg)
INNER JOIN {db_prefix}boards AS b ON (b.id_board = t.id_board)
INNER JOIN {db_prefix}messages AS ms ON (ms.id_msg = t.id_first_msg)
LEFT JOIN {db_prefix}members AS mem ON (mem.id_member = m.id_member)' . (!$user_info['is_guest'] ? '
LEFT JOIN {db_prefix}log_topics AS lt ON (lt.id_topic = t.id_topic AND lt.id_member = {int:current_member})
LEFT JOIN {db_prefix}log_mark_read AS lmr ON (lmr.id_board = b.id_board AND lmr.id_member = {int:current_member})' : '') . '
WHERE t.id_last_msg >= {int:min_message_id}
AND ' . $user_info['query_wanna_see_board'] . ($modSettings['postmod_active'] ? '
AND t.approved = {int:is_approved}
AND m.approved = {int:is_approved}' : '') . '
ORDER BY t.id_last_msg DESC
LIMIT ' . $latestPostOptions['number_posts'],
array(
'current_member' => $user_info['id'],
'min_message_id' => $modSettings['maxMsgID'] - 35 * min($latestPostOptions['number_posts'], 5),
'is_approved' => 1,
)
);

Link

5 sayısını 10 olarak değiştirmek mümkünmü?

dokuzharf

Alıntı yapılan: Link - 06 Ağu 2014 18:15
5 sayısını 10 olarak değiştirmek mümkünmü?


Sources/BoardIndex.php dosyasına eklenen kodlar içerisinde LIMIT 5 olan yerleri 10 yapıp denemelisiniz.
hey gidi dünya..

snrj

Alıntı yapılan: Şizofren - 06 Ağu 2014 23:52
Alıntı yapılan: Link - 06 Ağu 2014 18:15
5 sayısını 10 olarak değiştirmek mümkünmü?


Sources/BoardIndex.php dosyasına eklenen kodlar içerisinde LIMIT 5 olan yerleri 10 yapıp denemelisiniz.


+++

ahbaay

Arşiv hasarlı diyor tekrar yükler misiniz ?

snrj


06ensar

bunu yukarı almak nasıldır..

dokuzharf

İlk mesajdaki BoardIndex.template.php bul dediği yeri sil.
Hemen altındaki değiştir dediği yeri de Boardindex.template.php'de istediğin yere ekleyebilirsin.
hey gidi dünya..

cedric2323

hocam yazı rengini değişebiliyor muyuz siyah olarak yazıyor kullandığım tema siyah ağırlıklı olduğu için güzel görünmüyor

snrj

Kullandığınız temada BoardIndex.template.php bul (yoksa default temada)
Kod [Seç]
echo '
<table class="fulltop" border="0" width="100%" cellspacing="1" cellpadding="2">
<tr class="titlebg">
<td width="20%"><span class="smalltext">' . $txt['Full1'] . '</span></td>
<td width="18%"><span class="smalltext">' . $txt['Full2'] . '</span></td>
<td width="18%"><span class="smalltext">' . $txt['Full3'] . '</span></td>
<td width="30%"><span class="smalltext">' . $txt['Full4'] . '</span></td>
<td width="14%"><span class="smalltext">' . $txt['Full5'] . '</span></td></tr>

değiştir (style="color:#fff;") ben beyaz yaptım siz kendi renginizi eklersiniz alttaki yerlere
Kod [Seç]
echo '
<table class="fulltop" border="0" width="100%" cellspacing="1" cellpadding="2">
<tr class="titlebg">
<td width="20%"><span class="smalltext" style="color:#fff;">' . $txt['Full1'] . '</span></td>
<td width="18%"><span class="smalltext" style="color:#fff;">' . $txt['Full2'] . '</span></td>
<td width="18%"><span class="smalltext" style="color:#fff;">' . $txt['Full3'] . '</span></td>
<td width="30%"><span class="smalltext" style="color:#fff;">' . $txt['Full4'] . '</span></td>
<td width="14%"><span class="smalltext" style="color:#fff;">' . $txt['Full5'] . '</span></td></tr>

cedric2323

çok sağolun hocam oldu teşekkür ederim

Suskun_66

Alıntı yapılan: snrj - 23 Şub 2015 00:46Kullandığınız temada BoardIndex.template.php bul (yoksa default temada)
Kod [Seç]
echo '
<table class="fulltop" border="0" width="100%" cellspacing="1" cellpadding="2">
<tr class="titlebg">
<td width="20%"><span class="smalltext">' . $txt['Full1'] . '</span></td>
<td width="18%"><span class="smalltext">' . $txt['Full2'] . '</span></td>
<td width="18%"><span class="smalltext">' . $txt['Full3'] . '</span></td>
<td width="30%"><span class="smalltext">' . $txt['Full4'] . '</span></td>
<td width="14%"><span class="smalltext">' . $txt['Full5'] . '</span></td></tr>

değiştir (style="color:#fff;") ben beyaz yaptım siz kendi renginizi eklersiniz alttaki yerlere
Kod [Seç]
echo '
<table class="fulltop" border="0" width="100%" cellspacing="1" cellpadding="2">
<tr class="titlebg">
<td width="20%"><span class="smalltext" style="color:#fff;">' . $txt['Full1'] . '</span></td>
<td width="18%"><span class="smalltext" style="color:#fff;">' . $txt['Full2'] . '</span></td>
<td width="18%"><span class="smalltext" style="color:#fff;">' . $txt['Full3'] . '</span></td>
<td width="30%"><span class="smalltext" style="color:#fff;">' . $txt['Full4'] . '</span></td>
<td width="14%"><span class="smalltext" style="color:#fff;">' . $txt['Full5'] . '</span></td></tr>


birde alt bölüm yazi rengi icinde verirmisiniz rica etsem


Yanıtlanan - Kategori - Yanıtlanan -Konu- Gönderen - Tarih

snrj

Modifications.turkish.php eklenen kodlardan bakınız örnek olarak

bul
$txt['Full11'] = 'Yanıtlanan Kategori';
bu şekilde yapabilirsin  (#ccc kendine göre renk belirle)
$txt['Full11'] = '<span style="color:#ccc;">Yanıtlanan Kategori</span>';

Suskun_66

tamam oldu tesekkür ederim