WEB HOSTING > Php Site Yardim Ve Script

smf 2.0 forum alt kategoriler bolumundeki virgul isaretini silme

(1/1)

admin:
Asagida soyledigim gibi yaparsaniz alt bolumlerdeki virgul isaretini silersiniz.
ilk once forum default tema dosyasi icerisinde bulunan BoardIndex.template dosyasindaki asagidaki kodlari bulunuz.
Dosyayi aciniz asagidaki kodlarin bolumunu bulunuz

--- Kod: ---// Show the "Child Boards: ". (there's a link_children but we're going to bold the new ones...)
if (!empty($board['children']))
{
// Sort the links into an array with new boards bold so it can be imploded.
$children = array();
/* Each child in each board's children has:
id, name, description, new (is it new?), topics (#), posts (#), href, link, and last_post. */
foreach ($board['children'] as $child)
{
if (!$child['is_redirect'])
$child['link'] = '<a href="' . $child['href'] . '" ' . ($child['new'] ? 'class="new_posts" ' : '') . 'title="' . ($child['new'] ? $txt['new_posts'] : $txt['old_posts']) . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')">' . $child['name'] . ($child['new'] ? '</a> <a href="' . $scripturl . '?action=unread;board=' . $child['id'] . '" title="' . $txt['new_posts'] . ' (' . $txt['board_topics'] . ': ' . comma_format($child['topics']) . ', ' . $txt['posts'] . ': ' . comma_format($child['posts']) . ')"><img src="' . $settings['lang_images_url'] . '/new.gif" class="new_posts" alt="" />' : '') . '</a>';
else
$child['link'] = '<a href="' . $child['href'] . '" title="' . comma_format($child['posts']) . ' ' . $txt['redirects'] . '">' . $child['name'] . '</a>';

// Has it posts awaiting approval?
if ($child['can_approve_posts'] && ($child['unapproved_posts'] || $child['unapproved_topics']))
$child['link'] .= ' <a href="' . $scripturl . '?action=moderate;area=postmod;sa=' . ($child['unapproved_topics'] > 0 ? 'topics' : 'posts') . ';brd=' . $child['id'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . sprintf($txt['unapproved_posts'], $child['unapproved_topics'], $child['unapproved_posts']) . '" class="moderation_link">(!)</a>';

$children[] = $child['new'] ? '<strong>' . $child['link'] . '</strong>' : $child['link'];
}
echo '
<tr id="board_', $board['id'], '_children">
<td colspan="3" class="children windowbg">
<strong>', $txt['parent_boards'], '</strong>: ', implode(', ', $children), '
</td>
</tr>';
}
}
echo '
</tbody>';
--- Kod sonu ---

Yukaridaki kodlarin son bolumune yakin olan asagidaki kodun oldugu yeri bulunuz

--- Kod: ---</strong>: ', implode(', ', $children), '

--- Kod sonu ---
Yukarida bulunan kodu asagidaki kodlarla degistirin

--- Kod: ---</strong>: ', implode( $children), '

--- Kod sonu ---
Yapmis oldugumuz degisiklik sadece kodlar icinde bulunan asagidaki noktali virgulu silmis olduk

--- Kod: ---', ',

--- Kod sonu ---
Yukaridakileri aynen uygularsaniz virgulleri silmis olursunuz umarim yaparsiniz kolay gelsin

Dünya:
Paylaşim icin cok Tesekkürler..

Navigasyon

[0] Mesajlar

Yukari git
Asagi git
Tam sürüme git
Seo4Smf 2.0 © SmfMod.Com | Smf Destek