[WordPress] 外掛分享: Domain Based Role Assignment

首頁外掛目錄 › Domain Based Role Assignment
20+
安裝啟用
尚無評分
508 天前
最後更新
問題解決
WordPress 6.7+ PHP 8.1+ v1.0.0 上架:2024-12-08

內容簡介

總結: Domain Based Role Assignment 可以根據用戶在註冊時輸入的電子郵件域名自動分配使用者角色,並提供簡單的管理介面來管理域名與角色的映射,有效地簡化使用者角色管理。

1. 什麼是 Domain Based Role Assignment?
- Domain Based Role Assignment 在使用者註冊時根據其電子郵件域名自動分配角色。

2. Domain Based Role Assignment 的主要功能有哪些?
- 自動分配角色:在註冊時根據用戶的電子郵件域名自動分配角色。
- 域名管理:易於使用的管理介面來管理域名和角色的映射。
- 與角色編輯器兼容:與所有 WordPress 角色兼容,包括自定義角色。
- 簡單管理:通過乾淨的管理介面添加、查看和刪除域名規則。
- 大量用戶管理:刪除域名規則時,保留用戶帳戶並管理角色分配。
- 安全性:實施 WordPress 安全最佳實踐和 nonce 驗證。

3. 如何添加域名規則?
- 進入 WordPress 管理面板中的「設置 > Domain Role Assignment」
- 在「新增域名規則」部分中進行操作:
* 輸入一個域名(例如「example.com」)
* 選擇要分配的角色
* 點擊「新增域名規則」

4. 如何管理現有規則?
- 在「當前域名規則」表中查看所有當前的域名規則
- 每個規則顯示:
- 域名
- 分配的角色
- 刪除規則的選項

5. Domain Based Role Assignment 需要什麼技術要求?
- 要求 WordPress 版本為 5.0 或更高和 PHP 版本為 7.2 或更高。

6. 如何獲得支持?
- 檢查配置
- 驗證 WordPress 版本相容性
- 檢查錯誤日誌
- 確保合適的權限。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Domain Based Role Assignment」→ 直接安裝(推薦)

原文外掛簡介

Domain Based Role Assignment automatically assigns user roles based on their email domains during registration. It provides a simple admin interface to manage domain-to-role mappings and streamlines user role management.
Key Features

Automatic Role Assignment: Automatically assigns roles to users based on their email domain during registration
Domain Management: Easy-to-use admin interface to manage domain-role mappings
Works with Role Editor: Compatible with all WordPress roles, including custom roles
Simple Administration: Add, view, and delete domain rules through a clean admin interface
Bulk User Management: When removing a domain rule, preserves user accounts while managing role assignments
Security: Implements WordPress security best practices and nonce verification

Configuration
= Adding Domain Rules =
1. Go to ‘Settings > Domain Role Assignment’ in your WordPress admin panel
2. In the “Add New Domain Rule” section:
* Enter a domain (e.g., “example.com”)
* Select the role to assign
* Click “Add Domain Rule”
Managing Existing Rules

View all current domain rules in the “Current Domain Rules” table
Each rule shows:

The domain
The assigned role
Option to delete the rule

Technical Details
Requires WordPress 5.0 or higher and PHP 7.2 or higher.
Support
For support:
1. Check configuration
2. Verify WordPress version compatibility
3. Check error logs
4. Ensure proper permissions

文章
Filter
Mastodon