Mod StickI,II,III For Discuz6.0.0
รายละเอียด : เป็นการแบ่งหมวดหมู่ของการปักหมุดใหม่นะครับระยะเวลาทำ : 5 นาที
ไฟลล์ที่ต้องแก้ไขทั้งหมด : 1 ไฟลล์ forumdisplay.htm (templates/default/forumdisplay.htm)
ขอบคุณที่อุดหนุนครับ :lol
ตัวอย่าง :
วิธีติดตั้ง
1. Backup ไฟลล์ forumdisplay.htm ของเดิมเอาไว้ก่อน (กันเจ๊ง)
2. เปิดไฟลล์ forumdisplay.htm
ค้นหา :
<!--{if $separatepos == $key + 1}-->
</table>
<table summary="forum_$fid" id="forum_$fid" cellspacing="0" cellpadding="0">
<thead class="separation">
<tr><td> </td><td> </td><td colspan="4">{lang forum_normal_threads}</td></tr>
</thead>
<!--{/if}-->แทนที่ด้วย<!-- Start Mod StickI,II,III For Discuz6.0.0 -->
<!--{if $tr != $thread['displayorder']}-->
<tr class="category"><td> </td><td colspan="6">
<!--{if $thread['displayorder'] == 1}-->
<thead class="separation">
<tr><td> </td><td> </td><td colspan="4"><font color=Green><b>ปักหมุด I</b></font>
</thead>
<!--{elseif $thread['displayorder'] == 2}-->
<thead class="separation">
<tr><td> </td><td> </td><td colspan="4"><font color=Brown><b>ปักหมุด II</b></font>
</thead>
<!--{elseif $thread['displayorder'] == 3}-->
<thead class="separation">
<tr><td> </td><td> </td><td colspan="4"><font color=red><b>ปักหมุด III</b></font>
</thead>
</b><!--{else}-->
<thead class="separation">
<tr><td> </td><td> </td><td colspan="4"><font color=#000000><b>{lang forum_normal_threads}</b></font>
</thead>
<!--{/if}-->
</td></tr>
<!--{eval $tr = $thread['displayorder'];}-->
<!--{/if}-->
<!-- End Mod StickI,II,III For Discuz6.0.0 -->จากนั้นทำการเซพแล้วไปที่
admincp > tools > Update Caches
เรียบร้อยครับ กะทู้นี้เสียเงิน เข้ามาดูด้วยแหะ ~:9:~ อิอิ หมดตัวก็ยอม :victory: มี Mod ไม่ยอมจ่ายตังค์ ~:9:~ ขอบคุณมากครับ :lolขอบคุณครับ ขอดูหน่อยนะ ผมจะหมดตังแล้ว
:L