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

User Upgrade Capability

描述

‘User Upgrade Capability’ is a plugin to help with a multi-site network and helps with the administration of users and their roles. When you start using a multi-site WordPress installation you soon realise the power of having the ability to use a separate site for different functions (e.g. main site, separate blog, separate calendar …etc) each can then be handled separately and even with different themes.

However, without ‘User Upgrade Capabilities’ you would need to maintain the user access on each site, this is an overhead for administrators since for each site Admins will need to grant access and add/remove capabilties & roles as required, which all takes time. ‘User Upgrade Capability’ helps with this admin task and allows you to create a new site and point back to a master reference site re-using its user listing and capabilties/roles to define access permissions for the new linked site.

One example of where this approach is helpful is for the case where you want multiple calendars for different purposes on the same WordPress site. Calendar plugins generally use a fixed database table name, this means that you can’t install two calendars on the same site. With ‘User Upgrade Capability’ you can create a new site for each calendar and point back to the reference site re-using its user base and capabilties. The end user doesn’t even know that the calendars are on a different site.

Plugin site

read more on the plugin site

GitHub

https://github.com/justinticktock/user-upgrade-capability

WARNING

Activating this plugin on a site will replace the available user roles/capabilities with a copy from the reference site you will not be able to undo.

Translation:

Extensions:

If you select the options for extending functionality through other plugins the following are available for ease of installing..

螢幕截圖

  • General Settings Screen (Reference Site).
  • Define Key Roles
  • Users with the sp_staff role on the primary reference site will have the administrator & author roles on the local site
  • Define Key Capabilities
  • Users with the view_sportspress_reports capability on the primary reference site will have the more capabilities added to this local site.
  • Plugin Suggestions

安裝

You can install it through the WordPress plugin repository “add plugins” automatic installer. So follow these steps..

  1. remove/delete the plugin folder you created manually (e.g. ../wp-content/plugins/user-upgrade-capability/
  2. Go to site dashboard ‘My Sites’ > ‘Network Admin’ > ‘Plugins’
  3. Click on the ‘Add New’ button
  4. search for ‘User upgrade capability’ and install
  5. Network Activate the plugin

To Manually install follow these steps..

  1. Download the plugin.zip file
  2. Go to site dashboard ‘My Sites’ > ‘Network Admin’ > ‘Plugins’
  3. Click on the ‘Add New’ button
  4. Click on the ‘Upload Plugin’ button
  5. follow instructions to upload the zip file and install
  6. Network Activate the plugin

Once activated follow these steps on the site you which to use the plugin..

  1. Goto the “Users” Menu and “Reference Site” sub menu.
  2. Defined the “Reference Site” to point back to the site that you will be using to define your user capabilities
  3. Once the Ref Site is defined you will see two new sub-menus under the “Users” Menu. (1) “Upgrade Roles” (2) “Upgrade Caps”. Under these two menus you will be able to set keys (role or capabilities).
  4. Each Key that you define will provide a new settings tab where you can select new access to the local site where the users have the key role/cap on the reference site.

For example if you simply want to add and new site and grant every subscriber on the primary reference site the same access to your new site.

Then under the “Upgrade Roles” settings pages and the “Key Roles:” tab tick the “Subscriber” option save changes.

Select the new “subscriber” tab settings page.

Tick the “Subscriber” option and save changes.

Now all subscribers on the primary reference site will automatically be given subscriber access to the local site.

評價

2021年10月2日
We've been using this plugin from the start of our website, and it's made it much easier to organize our member list, add roles to clarify, keep track of existing membership and those who have expired, and generally make sure everyone is cared for. Thank you so much for creating this very useful and easy to use plugin that fills a real need in the structure of WP.
2017年1月1日 1 reply
So far no issues
閱讀全部7個評價

貢獻者及開發者

“User Upgrade Capability” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

User Upgrade Capability 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 User Upgrade Capability 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

Change log is maintained on the plugin website