Sabit ve Kapat i sadece yetkililer gorur !
showthread.php mizi aciyoruz gene hönk
alttaki kodlari bi guzel buluyoruz
ve bunun altina alttaki kodlari ekliyoruz
bu php le isimiz bitti ...
sonra
yeni bir template olusturcaz adida showthread_quickreply_manage olucak icinede alttaki kodlari yapiştircaz
simdi assagidaki kodlar gibi su templateyi editlicez
showthread_quickreply
altinada bunu eklicez ****> $threadmanagement
showthread.php mizi aciyoruz gene hönk
alttaki kodlari bi guzel buluyoruz
PHP:
(Around line 1542):
// set show signature hidden field
$showsig = iif($bbuserinfo['signature'], 1, 0);
PHP:
// ~~ Quick Reply Thread Management ~~ //
// can this user open / close this thread?
if (($threadinfo['postuserid'] AND $threadinfo['postuserid'] == $bbuserinfo['userid'] AND $forumperms & CANOPENCLOSE) OR can_moderate($threadinfo['forumid'], 'canopenclose'))
{
$show['openclose'] = true;
}
else
{
$show['openclose'] = false;
}
// can this user stick this thread?
if (can_moderate($threadinfo['forumid'], 'canmanagethreads'))
{
$show['stickunstick'] = true;
}
else
{
$show['stickunstick'] = false;
}
if ($show['openclose'] OR $show['stickunstick'])
{
$show['closethread'] = iif($threadinfo['open'], true, false);
$show['unstickthread'] = iif($threadinfo['sticky'], true, false);
eval('$threadmanagement = "' . fetch_template('showthread_quickreply_manage') . '";');
}
else
{
$threadmanagement = '';
}
// ~~ Quick Reply Thread Management ~~ //
sonra
yeni bir template olusturcaz adida showthread_quickreply_manage olucak icinede alttaki kodlari yapiştircaz
PHP:
<div>
<if condition="$show['stickunstick']">
<div style="float:$stylevar[right]">
<label for="cb_stickunstick"><input type="checkbox" name="stickunstick" value="1" id="cb_stickunstick" tabindex="6" $checked[stickunstick] /><if condition="$show['unstickthread']">$vbphrase[unstick_this_thread]<else />$vbphrase[stick_this_thread]</if></label>
</div>
</if>
<if condition="$show['openclose']">
<label for="cb_openclose"><input type="checkbox" name="openclose" value="1" id="cb_openclose" tabindex="7" $checked[openclose] /><if condition="$show['closethread']">$vbphrase[close_this_thread]<else />$vbphrase[reopen_this_thread]</if></label>
</if>
</div>
showthread_quickreply
PHP:
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="6" />$vbphrase[quote_message_in_reply]</label>
</div>