MyBB Depo Forum
Forumun alt bölümünü ortalama - Baskı Önizleme

+- MyBB Depo Forum (https://mybbdepo.com)
+-- Forum: MyBB 1.6 Depo (https://mybbdepo.com/mybb-1-6-depo-forumu)
+--- Forum: MyBB 1.6 Soru ve Sorunlarınız (https://mybbdepo.com/mybb-1-6-soru-ve-sorunlariniz-forumu)
+--- Konu Başlığı: Forumun alt bölümünü ortalama (/forumun-alt-bolumunu-ortalama-27420-konusu.html)



Forumun alt bölümünü ortalama - sahin54 - 14-03-2019

Web site  Site Adresi : localhost
Versiyon MyBB Sürümü :1,6
Eklenti-Plugin Kurulu Eklentiler :pro portal
Hata-Sorun Sorun açıklaması : Forumun alt bölümünü ortalama
Resim-Grafik Hata Ekran Görüntüsü :
resim


Cvp: Forumun alt bölümünü ortalama - novruz - 16-03-2019

Şablon Setleri » Temanız » Anasayfa şablonları » index
Aşağıdaki gibi bir kod göreceksiniz;
PHP Kod:
<dl class="forum_legend smalltext">
    <
dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
    <
dd>{$lang->new_posts}</dd>

    <
dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
    <
dd>{$lang->no_new_posts}</dd>

    <
dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
    <
dd>{$lang->forum_locked}</dd>

    <
dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
    <
dd>{$lang->forum_redirect}</dd>
</
dl

Kodun başına <center> sonuna </center> kodlarını ekleyin;
PHP Kod:
<center> <dl class="forum_legend smalltext">
    <
dt><span class="forum_status forum_on" title="{$lang->new_posts}"></span></dt>
    <
dd>{$lang->new_posts}</dd>

    <
dt><span class="forum_status forum_off" title="{$lang->no_new_posts}"></span></dt>
    <
dd>{$lang->no_new_posts}</dd>

    <
dt><span class="forum_status forum_offlock" title="{$lang->forum_locked}"></span></dt>
    <
dd>{$lang->forum_locked}</dd>

    <
dt><span class="forum_status forum_offlink" title="{$lang->forum_redirect}"></span></dt>
    <
dd>{$lang->forum_redirect}</dd>
</
dl></center



Cvp: Forumun alt bölümünü ortalama - sahin54 - 16-03-2019

Yaptım ama bişey değişmedi


Cvp: Forumun alt bölümünü ortalama - sahin54 - 16-03-2019

İndex şablonu aşağıdaki gibidir. center kodunu ekledim ama bir türlü olmadı

Kod:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}




{$forums}
{$boardstats}



<dl class="forum_legend smalltext "">

    <dt><img src="{$theme['imgdir']}/on.gif"  alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>


    <dd>{$lang->new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
    <dd>{$lang->forum_locked}</dd>

</dl>





<br style="clear: both" />
{$footer}
</body>
</html>



Cvp: Forumun alt bölümünü ortalama - novruz - 16-03-2019

Aşağıdaki kodlar ile değiştirin;
PHP Kod:
<html>
<
head>
<
title>{$mybb->settings['bbname']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
    
lang.no_new_posts "{$lang->no_new_posts}";
    
lang.click_mark_read "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}




{$forums}
{$boardstats}


<div style="display: flex;justify-content: center;">
<dl class="forum_legend smalltext "">
    <dt><img src="{$theme['imgdir']}/on.gif"  alt="{$lang->new_posts}" title="{$lang->new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>


    <dd>{$lang->new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/off.gif" alt="{$lang->no_new_posts}" title="{$lang->no_new_posts}" style="vertical-align: middle; padding-bottom: 4px;" /></dt>
    <dd>{$lang->no_new_posts}</dd>

    <dt><img src="{$theme['imgdir']}/offlock.gif" alt="{$lang->forum_locked}" title="{$lang->forum_locked}" style="vertical-align: middle;" /></dt>
    <dd>{$lang->forum_locked}</dd>

</dl></div>





<br style="clear: both" />
{$footer}
</body>
</html> 



Cvp: Forumun alt bölümünü ortalama - sahin54 - 16-03-2019

Çok teşekkürler oldu