外掛作者:spyka
外掛描述:
- Adds a text hit counter to the footer of your forum. Formatted output, e.g.: 10,000. Hits stored in phpBB config table/增加一個文字計數器在您的論壇頁底。點擊數儲存在 phpbb_config 資料表中。
外掛下載:phpbb-text-hit-counter-1.0.1.zip
資料來源:http://www.phpbb.com/community/viewtopi ... &t=1136625
--
使用後心得:
1. 原安裝說明, 是將計數結果顯示在論壇頁底 (overall_footer.html);
有網友則是修改, 將它顯示在論壇首頁 (index_body.html) 的 '統計資料' 中. (如下)
代碼: 選擇全部
<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {L_VIEWS}:<strong>{HITS}</strong> • {NEWEST_USER}</p>
參考連結:
http://www.phpbb.com/community/viewtopi ... 5#p6704425
2. 若您要修改 (自訂) 計數器的 '啟始值', 則可以進資料庫操作.
phpMyAdmin > 論壇資料庫 > 資料表 phpbb_config >
找到欄位 config_name = pageviews > 修改欄位 config_value = 100000017 (啟始值)