KiNGW@LF ÜN EKLENTİSİDİR !
MODERATÖR BLOĞU
Ekran Görüntüsü:
inc/functions_forumlist.php sitenizdenn ftp yolu ile çekip açın...
şu kodu bulun :
Kod:
$moderators .= "$comma<a href=\"member.php?action=profile&uid=$moderator[uid]\">".$moderator['username']."</a>";
$comma = ", ";
Şununla değiştirin :
Kod:
$moderators .= "$comma<a href=\"member.php?action=profile&uid=$moderator[uid]\">".$moderator['username']."</a>";
$comma = "<br />";
Eğer hata alırsanız Hiç bütün kodları değiştirmeden sadece
$comma = ", "; yazan kısmı
$comma = "<br />"; yapın !
Kaydedip Upload Edin burdaki değişikliğimiz bu kadar !
AdminCp => Şablonlar => Forum Tablo Şablonlar
- forumbit_depth1_cat
Açın ve Tümünü Şu Kodlarla Değiş !
Kod:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="7">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" /></div>
<div><strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" width="35"> </td>
<td class="tcat" width="59%"><strong>{$lang->forumbit_forum}</strong></td>
<td class="tcat" width="65" align="center" style="white-space: nowrap"><strong>Konular</strong></td>
<td class="tcat" width="65" align="center" style="white-space: nowrap"><strong>Mesajlar</strong></td>
<td class="tcat" width="200" align="center"><strong>{$lang->forumbit_lastpost}</strong></td>
<td class="tcat" width="20" align="center"><b> Moderatör </b></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />
Bölelikle İe deki O son Mesajlar kısmındaki Aşağıya Doğru kaymada Düzelicektir !
- forumbit_depth2_forum
Açın ve Tümünü Şu Kodlarla Değiş !
Kod:
<tr>
<td class="{$bgcolor}" align="center" valign="top"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong><div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="left" style="white-space: nowrap"><table width="230"> $lastpost</table></td>
<td class="$bgcolor" valign="top" align="center" nowrap="nowrap">
<table width="100">$moderators</table>
</tr></td>
</tr>
- forumbit_moderators
Açın ve Tümünü Silin !
1.2.x Mod Bloğunu renklendirme
------------------------------
inc/functions_forumlist.php
------------------------------
Bul:
Kod:
$moderators .= "$comma<a href=\"member.php?action=profile&uid=$moderator[uid]\">".$moderator['username']."</a>";
$comma = ", ";
Değiştir:
Kod:
$moderators .= "{$comma}<a href=\"member.php?action=profile&uid={$moderator['uid']}\"> ".format_name($moderator['username'], $moderator['usergroup'], $moderator['displaygroup'])."</a>";
$comma = "<br> ";
------------------------------
index.php
------------------------------
Bu Kodu Bul:
Kod:
// Get the forum moderators if the setting is enabled.
if($mybb->settings['modlist'] != "off")
{
$query = $db->query("
SELECT m.uid, m.fid, u.username
FROM ".TABLE_PREFIX."moderators m
LEFT JOIN ".TABLE_PREFIX."users u ON (m.uid=u.uid)
ORDER BY u.username
");
Bunla Değiştir:
Kod:
// Get the forum moderators if the setting is enabled.
if($mybb->settings['modlist'] != "off")
{
$query = $db->query("
SELECT m.uid, m.fid, u.username, u.usergroup, u.displaygroup
FROM ".TABLE_PREFIX."moderators m
LEFT JOIN ".TABLE_PREFIX."users u ON (m.uid=u.uid)
ORDER BY u.username
");
Yapım: KiNGW@LF