Kod: Tümünü seç
################################
## MOD İSMİ: Moderators drop-down
## MOD YAZARI: deny
## MOD AÇIKLAMASI:Moderators drop-down like vbulletin forum
##
## MOD VERSİYONU: 0.1.0
##
## KURULUM SEVİYESİ : ÇOK KOLAY
## KURULUM SÜRESİ 5 DK
## NEFRİT TARAFINDAN TÜRKÇE KURULUMU YAZILMIŞTIR
## EDİTLENECEK DOSYALAR (2) ADET :
## index.php
## templates/*/index_body.tpl
#
#-----[ AÇ ]------------------------------------------
#
index.php:
#
#-----[ BUL ]------------------------------------------
#
$forum_moderators[$row['forum_id']][] = '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '">' . $row['username'] . '</a>';
#
#-----[ DEĞİŞTİR]------------------------------------------
#
$forum_moderators[$row['forum_id']][] = '<option value="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '">' . $row['username'] . '</option>';
#
#-----[ BUL ]------------------------------------------
#
$forum_moderators[$row['forum_id']][] = '<a href="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=" . $row['group_id']) . '">' . $row['group_name'] . '</a>';
#
#-----[ DEĞİŞTİR ]------------------------------------------
#
$forum_moderators[$row['forum_id']][] = '<option value="' . append_sid("groupcp.$phpEx?" . POST_GROUPS_URL . "=" . $row['group_id']) . '">' . $row['group_name'] . '</option>';
#
#-----[ BUL ]------------------------------------------
#
$l_moderators = ( count($forum_moderators[$forum_id]) == 1 ) ? $lang['Moderator'] : $lang['Moderators'];
$moderator_list = implode(', ', $forum_moderators[$forum_id]);
#
#-----[ DEĞİŞTİR ]------------------------------------------
#
$l_moderators = '';
$moderator_list = '<form name="mods_' . $forum_id . '" style="display: inline;"><select name="url" onchange="window.location=document.mods_' . $forum_id . '.url.options[document.mods_' . $forum_id . '.url.selectedIndex].value;"><option value="#">' . $lang['Moderators'] . ':</option><option value="#">--------</option>' . implode('', $forum_moderators[$forum_id]) . '</select></form>';
#
#-----[ AÇ ]------------------------------------------
#
index_body.tpl
this depend on your template
#
#-----[ BUL VE SİL]------------------------------------------
#
<span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span><br />
#
#-----[ BUL ]------------------------------------------
#
<td class="catLeft" colspan="2" height="28">
#
#-----[ DEĞİŞTİR ]------------------------------------------
#
<td class="catLeft" colspan="4" height="28">
#
#
#-----[ BUL ]------------------------------------------
#
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
#
#-----[ ARDINA EKLE ]------------------------------------------
#
<th class="thCornerR" nowrap="nowrap"> Moderator </th>
(NOT : SİZİN TEMANIZ SUBSİLVER DEĞİLSE BU KODLAR FARKLI OLABİLR ):
#
#-----[ BUL ]------------------------------------------
#
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}<br>{catrow.forumrow.NUM_NEW_TOPICS}<br>{catrow.forumrow.NUM_NEW_POSTS}</span></td>
#
#-----[ ARDINA EKLE ]------------------------------------------
#
<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
#
#-----[ KAPAT - KAYDET ]------------------------------------------
#
#