{"id":171,"date":"2014-01-29T22:09:06","date_gmt":"2014-01-29T22:09:06","guid":{"rendered":"http:\/\/justinandco.com\/plugins\/?page_id=171"},"modified":"2021-10-04T09:22:28","modified_gmt":"2021-10-04T09:22:28","slug":"user-upgrade-capabilities-1","status":"publish","type":"post","link":"https:\/\/justinandco.com\/plugins\/user-upgrade-capabilities-1\/","title":{"rendered":"User Upgrade Capability"},"content":{"rendered":"<div class='content-column one_half'><p><a href=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/files\/2014\/01\/key.png?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-711\" src=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/files\/2014\/01\/key.png?resize=1879%2C907&#038;ssl=1\" alt=\"key\" width=\"1879\" height=\"907\" srcset=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2014\/01\/key.png?w=1879&amp;ssl=1 1879w, https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2014\/01\/key.png?resize=300%2C144&amp;ssl=1 300w, https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2014\/01\/key.png?resize=1024%2C494&amp;ssl=1 1024w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p><\/div>\n<div class='content-column one_half last_column'><ul>\n<li>Number of Downloads 0.<\/li>\n<li>5 Star Rating.<\/li>\n<li>5.4.6 Tested upto, and rated Unknown compatible.<\/li>\n<li>Last updated 1 year ago.<\/li>\n<\/ul>\n<a href=\"https:\/\/wordpress.org\/plugins\/user-upgrade-capability\/\">WordPress plugin repository<\/a><\/div><div class='clear_column'><\/div>\n<p>&#8216;User Upgrade Capabilities&#8217; 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 multisite wordpress installation you soon realise the power of having a separate site for a different function (e.g. main site, separate blog, separate calendar &#8230;etc).<\/p>\n<p><!--more--><\/p>\n<p>However &nbsp;for sites with many users&nbsp;there is a negative side, as each site\/blog stands on its own, you need to manage the users and their access\/capabilities within each site and that can be a lot of work! &nbsp;This is why I created the &#8216;User Upgrade Capability&#8217; plugin for the occasion where &nbsp;a few sites\/blogs relate to the same group of users it allows one site to be used as a reference site for users and their roles\/capabilities, therefore stopping the need to maintain each site with roles &amp;&nbsp;capabilities. &nbsp;Once active for a site the&nbsp;&nbsp;&#8216;User Upgrade Capability&#8217; plugin will take over the site roles &amp; users capabilities and you will only be able to control who has access to the site through the reference site. &nbsp;You can simply think of the site as an extension of the reference site.<\/p>\n<p>The primary site is where all user permissions\/capabilities are maintained. &nbsp;When a&nbsp;user has a key capability granted on the primary reference site &nbsp;they will be granted access to the second&nbsp;site&nbsp;with a&nbsp;default WordPress role and additional capabilities.<\/p>\n<p>You might think that this is not required often, however, one example comes from use of plugins that you wish run a second time on your site. &nbsp;A common example is calendar plugins which use a fixed database table name, this means that you can&#8217;t install two calendars for different purposes on the same site. &nbsp;Without &#8216;User Upgrade Capabilities&#8217; or other methods this is a problem, &nbsp;but with the plugin you can create a new site and point back to the first re-using its user listing. &nbsp;If one of the auto en-role extension plugins, available in the WordPress plugin repository is used then the user doesn&#8217;t even know that the second calendar is a different site.<\/p>\n<p><strong>WARNING &#8211;<\/strong> <em>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. &nbsp;If in doubt take a Database Backup!<\/em><\/p>\n<p style=\"text-align: center;\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\" wp-image-182 aligncenter\" src=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/files\/2014\/01\/User-Upgrade-Capabilities-Flow.png?resize=1138%2C625&#038;ssl=1\" alt=\"User Upgrade Capabilities - Flow\" width=\"1138\" height=\"625\" srcset=\"https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2014\/01\/User-Upgrade-Capabilities-Flow.png?w=1138&amp;ssl=1 1138w, https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2014\/01\/User-Upgrade-Capabilities-Flow.png?resize=300%2C164&amp;ssl=1 300w, https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2014\/01\/User-Upgrade-Capabilities-Flow.png?resize=1024%2C562&amp;ssl=1 1024w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/p>\n<p>I have generally used a few plugins together to get the full functionality required and they are made easily available through the &#8216;Plugin Extensions&#8217; settings tab.<\/p>\n<ul>\n<li><a href=\"http:\/\/wordpress.org\/extend\/plugins\/user-role-editor\/\">User Role Editor<\/a>&nbsp;by&nbsp;<a href=\"http:\/\/profiles.wordpress.org\/shinephp\/\">Vladimir Garagulya<\/a>&nbsp;to allocate users to multiple roles on the Main site. &nbsp;I would normally create a new role and allocate one new capability to this for the key to the second site.<\/li>\n<li><a href=\"http:\/\/wordpress.org\/plugins\/join-my-multisite\/\">Join My Multisite<\/a> by <a href=\"http:\/\/profiles.wordpress.org\/ipstenu\/\">Ipstenu<\/a>&nbsp; to auto en-role users to a default role on the second site this will be the only capability that they have on the second site until the &nbsp;&#8216;User Upgrade Capabilities&#8217; &nbsp; plugin adds the additional capabilities as configured in the settings page. &nbsp;If the &#8220;key&#8221; reference capability is removed from the user on the main site then all capabilities will be removed from the second site and the user will need to re-enrol which is only possible when the&nbsp;&#8220;key&#8221; reference capability has been re-given.<\/li>\n<\/ul>\n<p>Languages Available.<\/p>\n<ul>\n<li>Serbo-Croatian ( by Borisa Djuraskovic <a href=\"http:\/\/www.webhostinghub.com\/\">@webhostinghub.com<\/a>&nbsp;)<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>&#8216;User Upgrade Capabilities&#8217; 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 multisite wordpress installation you soon realise the power of having a separate site for a different function (e.g.&#46;&#46;&#46;<\/p>\n","protected":false},"author":4,"featured_media":711,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[8],"tags":[16,17,13,14,10,18,11,19,15,12],"class_list":["post-171","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","tag-access","tag-capability","tag-cms","tag-groups","tag-multisite","tag-permission","tag-role","tag-security","tag-teams","tag-user"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/justinandco.com\/plugins\/wp-content\/uploads\/sites\/7\/2014\/01\/key.png?fit=1879%2C907&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":7,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":2521,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/posts\/171\/revisions\/2521"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/media\/711"}],"wp:attachment":[{"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/justinandco.com\/plugins\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}