05 Haz 2023 09:07 Yeni Konu Oluştur

Haberler:

Üye kayıt esnasında E-posta adresinizin doğru olduğuna ve Aktivasyon Mailinize bakmayı unutmayın.


Moderasyon Panel Blok Ekleme

Başlatan BySaBo, 03 Haz 2017 18:24

« önceki - sonraki »

0 Üyeler ve 1 Ziyaretçi konuyu incelemekte.

***

  1. 120

  2. 30

  3. 5

Merhaba,

Forumdaki moderasyon paneline kendim yeni bloklar eklemek istiyorum

bunu nasıl yapabilirim ?

Örneğin şu anda moderasyon panelde 4 adet blok var sağda 2 solda 2

ben bunların altına 2 adet daha blok ekleyip içine istediğim bazı içerikleri koymak istiyorum.

**

  1. 51

  2. 20

  3. 24
Forumda paylaşılan ultima menü sistemi var bu sistem ile buton ekleyip içerik ayarliyabilirsin .

***

  1. 120

  2. 30

  3. 5
Hocam ben buton ve içerik eklemek değil de moderasyon panelindeki bloklara yeni bloklar eklemek istiyorum

*

  1. 3,263

  2. 596

  3. 1077

ModerationCenter.template.php de bul
Bul
$alternate = true;
// Show all the blocks they want to see.
foreach ($context['mod_blocks'] as $block)
{
$block_function = 'template_' . $block;

echo '
<div class="modblock_', $alternate ? 'left' : 'right', '">', function_exists($block_function) ? $block_function() : '', '</div>';

if (!$alternate)
echo '
<br class="clear" />';

$alternate = !$alternate;
}

echo '
</div>
<br class="clear" />';
Değiştir
$alternate = true;
// Show all the blocks they want to see.
foreach ($context['mod_blocks'] as $block)
{
$block_function = 'template_' . $block;

echo '
<div class="modblock_', $alternate ? 'left' : 'right', '">', function_exists($block_function) ? $block_function() : '', '</div>';

if (!$alternate)
echo '
<br class="clear" />';

$alternate = !$alternate;
}
echo '
<div class="modblock_left">';
template_snrj();
echo '</div>
<div class="modblock_right">';
template_abc();
echo '</div>';
echo '
</div>
<br class="clear" />';

bul
?>öncesine ekle
function template_snrj()
{
global $settings, $options, $context, $txt, $scripturl;

echo '
<div class="cat_bar">
<h3 class="catbg">
<a href="http://smf.konusal.com/index.php">Smf Destek</a>
</h3>
</div>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content modbox">
<a href="http://smf.konusal.com/index.php">Smf Destek</a>
</div>
<span class="botslice"><span></span></span>
</div>';
}
function template_abc()
{
global $settings, $options, $context, $txt, $scripturl;

echo '
<div class="cat_bar">
<h3 class="catbg">
<a href="http://smf.konusal.com/index.php">Smf Destek b</a>
</h3>
</div>
<div class="windowbg">
<span class="topslice"><span></span></span>
<div class="content modbox">
<a href="http://smf.konusal.com/index.php">Smf Destek</a>
</div>
<span class="botslice"><span></span></span>
</div>';
}

***

  1. 120

  2. 30

  3. 5
Çok çok çok teşekkür ediyorum. Harikasın


Benzer Konular (5)


MENU ×