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

Pageview content restriction

描述

This WordPress plugin restricts non-authenticated users to a number of pages to view. You can define how many pages an unauthenticated user may view. If the limit is reached, the user is redirected to the WordPress login page (default) or a page of your choice.

This plugin uses cookies, but not only. People can not just empty their cookies and start watching your page again. In this plugin i use a technique in which I combine a users’ IP address with the user agent of this particular user, and create a more or less unique hash out of these two informations. This hash is stored as a file in the wp-content/uploads directory.

A site administrator can choose to reinitialize all sessions and empty the hash files.

Furthermore, robots might be blocked. However, important bots like GoogleBot, BingBot and YahooBot are excluded from the restriction.

This technique might be problematic for users using Tor / TorBrowserBundle as lots of people share a same originating IP address and also the same user agent (check here https://panopticlick.eff.org/). I will certainly test this aspect a little better in a later version of this plugin.

安裝

  1. Upload very-basic-content-restriction to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Configure the plugin in Options => Pageview Content Restriction.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Pageview content restriction” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Pageview content restriction 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Initial release