[WordPress] 外掛分享: Pageview content restriction

首頁外掛目錄 › Pageview content restriction
10+
安裝啟用
尚無評分
3875 天前
最後更新
問題解決
WordPress 3.8+ v1.0 上架:2014-04-17

內容簡介

這個 WordPress 外掛可限制未經驗證的使用者訪問頁面的數量,您可以設定未驗證使用者可瀏覽的頁面數量。當限制數量達到後,使用者會被重定向至 WordPress 登入頁面(預設)或您選擇的頁面。

此外,此外掛使用種cookie存取技術,但不僅限於此。使用者不能只清空他們的cookie再繼續訪問您的頁面。此外掛使用一種技術,將使用者的IP位址及使用者代理,組合成一個獨特的雜湊值,並將其存儲在 wp-content/uploads 目錄下的一個檔案中。

網站管理員可以選擇重新初始化所有會話,並清空雜湊檔案。

此外,機器人可能會被封鎖,但像 GoogleBot、BingBot 和YahooBot 等重要的機器人不會受到限制。

然而,使用Tor/TorBrowserBundle 的使用者可能會遇到問題,因為很多人會分享相同的原始IP位址和使用者代理(請在此查看 https://panopticlick.eff.org/)。將來的版本中,我會更好地測試這個方面的問題。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon