พัฒนาโดย : nanothree
Version : 1.0.0RC1
phpBB Version(s) : phpBB 3.0.5 ขึ้นไป
ดาวน์โหลดได้ที่ : https://www.phpbb.com/community/viewtop ... &t=2185141 ขั้นตอนติดตั้ง
เปิดไฟล์ viewtopic.php
ค้นหา
โค้ด: เลือกทั้งหมด
page_header($user->lang['VIEW_TOPIC'] . ' - ' . $topic_data['topic_title'], true, $forum_id);
โค้ด: เลือกทั้งหมด
/* nanothree - users viewing topic mod */
page_header($user->lang['VIEW_TOPIC'] . ' - ' . $topic_data['topic_title'], true, $topic_id, 'topic');
/* nanothree - end users viewing topic mod */
ค้นหา
โค้ด: เลือกทั้งหมด
'forum' => (isset($_REQUEST['f']) && $_REQUEST['f'] > 0) ? (int) $_REQUEST['f'] : 0,
โค้ด: เลือกทั้งหมด
/* nanothree - users viewing topic mod */
'topic' => (isset($_REQUEST['t']) && $_REQUEST['t'] > 0) ? (int) $_REQUEST['t'] : 0,
/* nanothree - end users viewing topic mod */
โค้ด: เลือกทั้งหมด
$sql_ary['session_forum_id'] = $this->page['forum'];
โค้ด: เลือกทั้งหมด
/* nanothree - users viewing topic mod */
$sql_ary['session_topic_id'] = $this->page['topic'];
/* nanothree - end users viewing topic mod */
โค้ด: เลือกทั้งหมด
unset($sql_ary['session_forum_id']);
โค้ด: เลือกทั้งหมด
/* nanothree - users viewing topic mod */
unset($sql_ary['session_topic_id']);
/* nanothree - end users viewing topic mod */
โค้ด: เลือกทั้งหมด
$sql_ary['session_forum_id'] = $this->page['forum'];
โค้ด: เลือกทั้งหมด
/* nanothree - users viewing topic mod */
$sql_ary['session_topic_id'] = $this->page['topic'];
/* nanothree - end users viewing topic mod */
โค้ด: เลือกทั้งหมด
$sql_ary['session_forum_id'] = $this->page['forum'];
โค้ด: เลือกทั้งหมด
/* nanothree - users viewing topic mod */
$sql_ary['session_topic_id'] = $this->page['topic'];
/* nanothree - end users viewing topic mod */
โค้ด: เลือกทั้งหมด
$sql_ary['session_forum_id'] = $this->page['forum'];
โค้ด: เลือกทั้งหมด
/* nanothree - users viewing topic mod */
$sql_ary['session_topic_id'] = $this->page['topic'];
/* nanothree - end users viewing topic mod */
ค้นหา
โค้ด: เลือกทั้งหมด
$last_post_url = append_sid(
โค้ด: เลือกทั้งหมด
$last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&t=' . $row['topic_id'] . '&p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id'];
ค้นหา
โค้ด: เลือกทั้งหมด
'BROWSING_FORUM_GUESTS' => 'Users browsing this forum: %1$s and %2$d guests',
โค้ด: เลือกทั้งหมด
/* nanothree - users viewing topic mod */
'BROWSING_TOPIC' => 'Users viewing this topic: %1$s',
'BROWSING_TOPIC_GUEST' => 'Users viewing this topic: %1$s and %2$d guest',
'BROWSING_TOPIC_GUESTS' => 'Users viewing this topic: %1$s and %2$d guests',
/* nanothree - end users viewing topic mod */