[WordPress] 外掛分享: Restrict User Access – Ultimate Membership & Content Protection

WordPress 外掛 Restrict User Access – Ultimate Membership & Content Protection 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Restrict User Access – Ultimate Membership & Content Protection」是 2015-03-15 上架。
  • 目前有 10000 個安裝啟用數。
  • 上一次更新是 2025-01-27,距離現在已有 96 天。
  • 外掛最低要求 WordPress 5.5 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.1 以上。
  • 有 94 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

keraweb | freemius | intoxstudio | devinstitute |

外掛標籤

member | membership | permissions | access-control | content restriction |

內容簡介

Restrict User Access 是一款 WordPress 快速且簡單的會員外掛。幾分鐘內,即可限制您的內容,而非需要幾個小時。

快速建立有付費等級(如白金、黃金或免費)的會員網站,用戶購買 WooCommerce 中的產品時頒發等級。

👥 無限等級設置

用戶可以擁有多個等級,您可以控制會員資格應該持續多久。當未經授權的使用者嘗試訪問限制內容時,您可以將他們重定向到另一個 URL 或顯示提示簡介。

⚡等級會員自動化

根據 Triggers(觸發器)或 Traits(特徵),自動為用戶添加等級:

產品購買(WooCommerce、Easy Digital Downloads)
使用者角色
已登入或訪客
BuddyPress 成員類型

🔒 上下文內容保護

限制對您的文章、頁面或分類的訪問。您甚至可以結合條件:保護所有由選定作者撰寫、標記為「Premium」的文章。

以下訪問條件均可使用:

文章、頁面和自訂文章類型
標籤、分類或自訂分類法的內容
由選定作者撰寫的內容
頁面範本
博客頁面和文章類型存檔
作者存檔
分類法存檔
首頁、搜尋結果、404 頁面找不到
bbPress 檔案、版面和主題
BuddyPress 資料夾
語言(Polylang、qTranslate X、TranslatePress、Transposh、Weglot、WPML)
Pods 頁面

✅ 授權和拒絕能力

易於使用的 WordPress 使用者管理器讓您完全控制會員應該或不應該擁有的權限。存取級別功能將覆蓋角色或其他外掛設置的權限。

⚙️ 隱藏小工具區和導航菜單

從未選擇等級的用戶完全隱藏導航菜單項目或使用 Content Aware Sidebars 創建的小工具區。

🤖 從其他外掛限制內容

Restrict User Access 自動偵測任何外掛或佈景主題所創建的自訂文章類型和分類法。對於一些最受歡迎的 WordPress 外掛內置支持,這意味著您可以限制對 bbPress 論壇或多語言內容的存取等。

bbPress
BuddyPress
Easy Digital Downloads
qTranslate X
Pods
Polylang
TranslatePress
Transposh Translation Filter
WooCommerce
Weglot
WPML

📑 使用短代码限制內容

通過添加簡單短代碼,微調您的文章或頁面內容的可見度:

[restrict level="platinum"]
此內容只能被白金等級或以上用戶看到。
[/restrict]

[restrict level="!platinum"]
此內容只能被沒有白金等級或以上用戶看到。
[/restrict]

[restrict role="editor,contributor" page="1"]
此內容只能被編輯者和貢獻者看到。
其他用戶將看到 ID 為 1 的分頁內容。
[/restrict]

[login-form]

👋 開發人員友好的 API

Restrict User Access 使開發人員可以輕鬆地通過將幾行代碼添加到佈景主題模板來以編程方式自定義 WordPress 存取控制。

示例 – 為當前用戶添加等級

原文外掛簡介

Restrict User Access is a fast and simple Membership Plugin for WordPress. Restrict your content in minutes, NOT hours.
Quickly set up a paid membership site where your users can get different levels such as Platinum, Gold, or Free. Then, grant those levels when a user purchases a product in WooCommerce.
👥 Unlimited Access Levels
Users can have multiple levels, and you control how long memberships should last. When unauthorized users try to access restricted content, you can redirect them to another URL or display a teaser.
⚡ Level Membership Automations
Automatically add levels to your users based on something they do (Triggers) or something they are (Traits):

User Roles
Logged-in or Guests
WooCommerce Purchases
Easy Digital Downloads Purchases
BuddyPress Member Types
GiveWP Donations

🔒 Contextual Content Protection
Prevent unauthorized users from visiting your posts, pages, or categories. You can even combine the conditions: protect all posts tagged “Premium” written by a select author.
The following Access Conditions are available out of the box:

Posts, Pages & Custom Post Types
Content with Tags, Categories, or Custom Taxonomies
Content written by select Authors
Page Templates
Blog Page & Post Type Archives
Author Archives
Taxonomy Archives
Front Page, Search Results, 404 Not Found Page
bbPress Profiles, Forums & Topics
BuddyPress Profile Sections
Languages (Polylang, qTranslate X, TranslatePress, Transposh, Weglot, WPML)
Pods Pages

Note that Access Conditions do not apply to content displayed in lists.
✅ Grant & Deny Capabilities
The easy-to-use WordPress User Manager gives you full control over the capabilities the members should or shouldn’t have. Access Level Capabilities will override the permissions set by roles or other plugins.
👁️ Hide Admin Bar & Nav Menu Visibility
Disable the admin bar for select levels and control what menu items members can see. You can even hide any widget area created with Content Aware Sidebars
🤖 Restrict Content from Other Plugins
Restrict User Access autodetects Custom Post Types and Taxonomies created by any plugin or theme. Built-in support for some of the most popular WordPress plugins means that you e.g. can restrict access to bbPress forums or multilingual content.

bbPress
BuddyPress
Easy Digital Downloads
Pods
Polylang
TranslatePress
WooCommerce
Weglot
WPML
and more …

🛡️ WordPress Security Enhancements

WP REST API Content Protection
Enforces PoLA to minimize attack surfaces and stop threat actors from harvesting your data
How to display content in lists
Display excerpts only or hide content when post types are displayed in blog, archives, search results, lists, etc.

📑 Restrict Content with Shortcodes
Fine-tune content visibility in your posts or pages by adding simple shortcodes:
[restrict level="platinum"]
This content can only be seen by users with Platinum level or above.
[/restrict]

[restrict level="!platinum"]
This content can only be seen by users without Platinum level or above.
[/restrict]

[restrict role="editor,contributor" page="1"]
This content can only be seen by editors and contributors.
Other users will see content from page with ID 1.
[/restrict]

[login-form]

👋 Developer-friendly API
Restrict User Access makes it super easy for developers to programmatically customize WordPress access control by adding a few lines of code to theme templates.
Example – Add level to current user
rua_get_user()->add_level($level_id);

Example – Check if current user has an active level membership
if(rua_get_user()->has_level($level_id)) {
//show restricted content
} else {
//show content if unauthorized
}

View full RUA PHP API documentation here.
🎛️ Premium Add-ons for Restrict User Access
Complete your WordPress membership site with these powerful extensions

ACF Restriction
Restrict content that contain data from Advanced Custom Fields plugin
Date Restriction
Restrict content based on the time it was published
Meta Box Restriction
Restrict content that contain data from Meta Box plugin
Timelock
Determine when to enable or disable select Access Conditions
URL Restriction
Restrict content based on the WordPress URL, with wildcard support
Visibility Control
Hide content from blog, search results, archives, custom lists, WP REST API, and more

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Restrict User Access – Ultimate Membership & Content Protection」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.3 | 2.0 | 2.4 | 2.5 | 2.6 | 2.7 | 2.1.3 | 2.2.3 | 2.3.2 | 2.4.1 | 2.4.2 | 2.4.3 | 2.6.1 | 2.7.1 | trunk |

延伸相關外掛(你可能也想知道)

  • Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin 》4>最佳的WordPress用戶個人資料和會員外掛, Ultimate Member是WordPress上的#1用戶個人資料和會員外掛。此外掛讓使用者輕鬆註冊成為您網站的會員。這個外掛讓...。
  • Paid Memberships Pro – Content Restriction, User Registration, & Paid Subscriptions 》aid products., Content Dripping: drip content to members over time., Member Directory and Content Search Filtering by Level, Menu Item Visibility b...。
  • Simple Membership 》一個靈活、有完善支援、易於使用的 WordPress 會員專用外掛,可提供從你的 WordPress 網站提供免費和付費內容。, 這個簡單的會員專用外掛可讓你保護你的文章...。
  • User Access Manager 》這款 WordPress 的「使用者存取管理員外掛(User Access Manager)」可讓您管理內容的存取權限。這在需要會員區、部落格上的私人區域,或希望其他人在您的網誌...。
  • Ultimate Member – reCAPTCHA 》這個 Ultimate Member 外掛可在註冊和登入表單上使用 Google reCAPTCHA,以防止機器人。, 主要功能:, , 與註冊或登入表單無縫整合, 易於設置, 完全阻止垃圾...。
  • Simple Membership After Login Redirection 》這個外掛讓你能夠針對每個在你的 simple membership plugin 創建的會員訪問等級,設定一個登入後要前往的頁面。, 當會員登入你的網站時,這個外掛將自動將他...。
  • Groups 》d plugins easily, Groups is fully object-oriented and implements the standard WordPress coding practices., It adheres to the WordPress Coding Stand...。
  • ARMember – Membership Plugin, Content Restriction, Member Levels, User Profile & User signup 》ARMember – WordPress 最佳評價會員外掛, , 想像一下,有一個免費的 WordPress 會員外掛,使用起來非常簡單,功能也非常齊全,性能也非常不錯,而且擁有出色...。
  • WP Login Form 》WordPress 登入表單:能幫您在 WordPress 網站的前端建立一個簡單的登入表單,您可以使用短碼將其加入文章、頁面或側邊列等位置。, 如何為 WordPress 建立自...。
  • Ultimate Member – Terms & Conditions 》這個 Ultimate Member 擴充套件會在您的註冊表單中新增一個「條款和條件」的核取方塊,並要求使用者在註冊網站之前同意您的條款和條件。, 主要功能:, , 要求...。
  • Verified Member for BuddyPress 》此外掛允許您逐個或根據 WP 角色驗證您的 BuddyPress 成員。 您還可以允許成員直接從其成員檔案請求驗證。, 驗證通過的成員將在前端上顯示類似 Twitter 的「...。
  • Ultimate Member – Online Users 》這個 Ultimate Member 外掛將讓你可以透過短代碼 (shortcode) 或側邊欄小工具 (sidebar widget) 在任何地方顯示線上用戶,同時也會讓你在使用者的個人檔案中...。
  • Simple Membership WP user Import 》這個外掛可以讓你將現有的 WordPress 使用者匯入至 Simple Membership 外掛作為會員。, 在匯入使用者時,你可以選擇將其歸入哪一種會員權限等級。, 這個外掛...。
  • Smart Passworded Pages 》The Smart Passworded Pages 外掛增強了 WordPress,並允許創建中央登錄頁面,以授予訪問任意數量的已設定密碼的子頁面的權限。這樣,你可以為每個客戶/成員/...。
  • Simple Membership Form Shortcode 》這個外掛可以讓你在任何文章或頁面上建立特定會員等級的註冊表單。, 你可以使用它來免費提供不同的會員等級。, 你可以從下拉式選單中選擇會員等級,它會產生...。

文章
Filter
Apply Filters
Mastodon