Derbeder |
29-06-2019 10:46 |
VBCODE | Sabit ve Konuyu Kapatma
Evet arkadaşlar güzel bir eklentidir...
yoruma cevap yazarak mesajı görebilirsiniz....
Sabit ve Kapat i sadece yetkililer gorur !
showthread.php mizi aciyoruz gene :eek:
alttaki kodlari bi guzel buluyoruz
PHP- Kodu:
(Around line 1542): // set show signature hidden field $showsig = iif($bbuserinfo['signature'] 1 0);
ve bunun altina alttaki kodlari ekliyoruz
PHP- Kodu:
// ~~ 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 ~~ //
bu php le isimiz bitti ...
simdiii
yeni bir template olusturcaz adida showthread_quickreply_manage olucak icinede alttaki kodlari yapiştircaz
PHP- Kodu:
<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>
simdi assagidaki kodlar gibi su templateyi editlicez
showthread_quickreply
PHP- Kodu:
<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>
altinada bunu eklicez >>> $threadmanagement​
|