เมื่อมีคนตอบกระทู้แล้วขึ้นมาอยู่บนสุด (วิธีแก้ไข)
code]file name=Sources/MessageIndex.php
ค้นหา -->> // They didn't pick one, default to by last post descending.
if (!isset($_REQUEST['sort']) || !isset($sort_methods[$_REQUEST['sort']]))
{
$context['sort_by'] = 'last_post';
$_REQUEST['sort'] = 'ID_LAST_MSG';
$ascending = isset($_REQUEST['asc']);
}
//อันนี้จัดเรียงตามลำดับ
-----------------------------------------------------------------------------------------------
// They didn't pick one, default to by last post descending.
if (!isset($_REQUEST['sort']) || !isset($sort_methods[$_REQUEST['sort']]))
{
$context['sort_by'] = 'last_post';
$_REQUEST['sort'] = 'ID_TOPIC';
$ascending = isset($_REQUEST['asc']);
}
//อันนี้จัดเรียงตามเวลา
วางทับของเดิม -->>
credit : Single