พัฒนาโดย :: 5hocK
Version ::3.0.12
ดาวน์โหลดได้ที่ ::https://www.mindphp.com/download/files/54-53-recent-topics-1-0-6-zip.html
ไฟล์ที่ใช้ในการติดตั้ง ::
index.php,
adm/style/acp_forums.html,
includes/acp/acp_forums.php,
styles/prosilver/template/index_body.html
วิธีการติดตั้ง
เปิดไฟล์ =>index.php
ค้นหา ::
โค้ด: เลือกทั้งหมด
// Output page
โค้ด: เลือกทั้งหมด
if ($config['rt_index'])
{
if (!function_exists('display_recent_topics'))
{
include($phpbb_root_path . 'includes/functions_recenttopics.' . $phpEx);
}
display_recent_topics($config['rt_number'], $config['rt_page_number'], $config['rt_anti_topics'], 'recent_topics', request_var('f', 0), true, $config['rt_parents']);
}
ค้นหา ::
โค้ด: เลือกทั้งหมด
<dl>
<dt><label for="topics_per_page">{L_FORUM_TOPICS_PAGE}:</label><br /><span>{L_FORUM_TOPICS_PAGE_EXPLAIN}</span></dt>
<dd><input type="text" id="topics_per_page" name="topics_per_page" value="{TOPICS_PER_PAGE}" size="4" maxlength="4" /></dd>
</dl>
โค้ด: เลือกทั้งหมด
<dl>
<dt><label for="forum_recent_topics">{L_RECENT_TOPICS_LIST}:</label><br /><span>{L_RECENT_TOPICS_LIST_EXPLAIN}</span></dt>
<dd><label><input type="radio" class="radio" name="forum_recent_topics" value="1"<!-- IF RECENT_TOPICS --> id="forum_recent_topics" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
<label><input type="radio" class="radio" name="forum_recent_topics" value="0"<!-- IF not RECENT_TOPICS --> id="forum_recent_topics" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
</dl>
ค้นหา ::
โค้ด: เลือกทั้งหมด
$user->add_lang('acp/forums');
โค้ด: เลือกทั้งหมด
$user->add_lang('mods/info_acp_recenttopics');
โค้ด: เลือกทั้งหมด
'forum_topics_per_page' => request_var('topics_per_page', 0),
โค้ด: เลือกทั้งหมด
'forum_recent_topics' => request_var('forum_recent_topics', 1),
โค้ด: เลือกทั้งหมด
'forum_topics_per_page' => 0,
โค้ด: เลือกทั้งหมด
'forum_recent_topics' => 1,
โค้ด: เลือกทั้งหมด
'TOPICS_PER_PAGE' => $forum_data['forum_topics_per_page'],
โค้ด: เลือกทั้งหมด
'RECENT_TOPICS' => $forum_data['forum_recent_topics'],
ค้นหา ::
โค้ด: เลือกทั้งหมด
<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
โค้ด: เลือกทั้งหมด
<!-- IF RECENT_TOPICS_DISPLAY --><!-- INCLUDE recent_topics_body.html --><!-- ENDIF -->
การแสดงผลการติดตั้ง ในส่วนของ Admin