'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
http://justinandco.com/plugins/user-upgrade-capabilities/
GitHub
https://github.com/justinticktock/user-upgrade-capability
= 警告 = 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..
You can install it through the WordPress plugin repository “add plugins” automatic installer. So follow these steps..
- remove/delete the plugin folder you created manually (e.g. ../wp-content/plugins/user-upgrade-capability/
- Go to site dashboard ‘My Sites’ > ‘Network Admin’ > ‘Plugins’
- Click on the ‘Add New’ button
- search for ‘User upgrade capability’ and install
- Network Activate the plugin
To Manually install follow these steps..
- Download the plugin.zip file
- Go to site dashboard ‘My Sites’ > ‘Network Admin’ > ‘Plugins’
- Click on the ‘Add New’ button
- Click on the ‘Upload Plugin’ button
- follow instructions to upload the zip file and install
- Network Activate the plugin
Once activated follow these steps on the site you which to use the plugin..
- Goto the "Users" Menu and "Reference Site" sub menu.
- Defined the "Reference Site" to point back to the site that you will be using to define your user capabilities
- 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).
- 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.
Change log is maintained on
the plugin website