這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

bbPress Simple View Counts

外掛說明

This plugin will add a count of page views to your bbPress 2 forum. The plugin inserts the count into two places,
once on the forum listing page and once at the top of each post.

You can select whether you want a simple hit count, or a unique count of member views. Or both.

  • The hit count literally counts every time the page is displayed.
  • The member count increases each time a member views the page for the first time. It is a unique count. This tracks users using their WordPress user ID so if you mess with the user table the tracking will likely break.

Note that this is a new plugin and has not been tested on high volume sites so please perform your own tests
before implementing. Feedback on performance greatly appreciated. Please post in the plugin’s WP forum area or
mention @jezza101 in a tweet. This plugin is maintained, I use it on my own forums, but unless I have a request or it
breaks I will not be adding new features as it works how I want it to work.

螢幕擷圖

安裝方式

Upload and install the plugin as normal.

The options link is under the main Forum menu. Use this to select if you want to track hit count, member count or both.

常見問題集

Will this plugin slow down my site?

It works fine on low volume sites, however it does generate an additional db write on every page load so this will
cause additional db load. This could have an impact on a high volume site, the truth is I don’t know what the affect
might be.

Tracking member views is likely to be more resource intensive, but only if you have a lot of members.

The plugin doesn’t work quite how I’d like it, can I make a suggestion?

Sure, get in touch. The plugin works as I want it to so it is unlikely I will change it unless it breaks. But sure, feel free to make a
request, the member tracking was added by request!

It’s hardcoded in English, can you make it language friendly?

Yes, this will be added in a future version. Please do let me know if this is important to you and I will prioritise this.

Can you add a unique count?

After careful consideration I have decided not to do this. Tracking unique views is a whole different ball game and is not easy to do. Even forum software
such as vBulletin shows a hit count. I want this plugin to stay simple. If you need to track unique views you are better off using Googe Analytics or
WordPress Stats.

I may add session tracking, so the count won’t go up if you just sit an hit F5. But it will if you come back at a later date.

Does it work with caching plugins?

I have no idea, I don’t use any. But let me know. I suspect the only way to make this work would be to regnerate the page on each load but that would defeat
the point of the page cache.

I don’t like where the counts show, can you change it?

Sure, where would you like it to show? I might replace the voice count as suggested by a user. But other opinions welcome!

使用者評論

2016 年 9 月 3 日
thanks for creating this! i am using KLEO theme and i love how it looks on my forum. please don't ever stop supporting this!
2016 年 9 月 3 日 2 則留言
this plugin is the best. it answers my need. specially in a part that the view count will not increase if the same user already viewed it. 🙂 thank you so much.
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈bbPress Simple View Counts〉的開發相關工作。

參與者

將〈bbPress Simple View Counts〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.2.1

Rename class to avoid clash in rare instance

0.2

Added member tracking. The plugin can now give a unique count of member views.

0.1

  • Initial release