Changing standard user role after having activated WP MultiSite
-
How can I change the standard user role (or delete the concept of standard user rule as such) after having activated WordPress MultiSite?
With WordPress SingleSite I can change the standard user role at setting/general within the admin panel.
But there I can’t do it after activating MutliSite – neither on the network level nor on the root blog level.
Background information:
With ‘Capability Manager Enhanced’-plugin I created two new user roles: ‘Team’ and ‘Fan’; besides I have administrators.
Though both – teams and fans – are more frequent than administrators, it would not make sense for me to say that team OR fan should be the standard user role.
Cfr. for more details:
https://buddypress.org/support/topic/different-profile-types-and-different-user-roles-part-ii/My minmum objective is, that there ‘subscribers’ disappear.
-
Hey there,
It sounds like you are wanting to set a different role for your subsites in the Network. If this is the case, take a look at this plugin:
https://www.ads-software.com/plugins/multisite-user-management/
This does exactly that. Hope it helps.
Thank you very much, but unfortunately it does not work as I need:
1st:
I installed and activated the plugin.
2nd:
I choose as standard user role ‘none’:
https://1a-spielwiese.de/wp-content/uploads/2014/09/Standard_none.jpg
3rd:
a) Nevertheless, on the registration page is still displayed ‘subscriber’ as well (and not only – as I want – ‘Team’ and ‘Fan’):
https://1a-spielwiese.de/wp-content/uploads/2014/09/reg_page_team_fan_subscriber_Sa.jpg
b) That is not so much suprising, because there I still can’t deactivte the check box for ‘subscriber’:
https://1a-spielwiese.de/wp-content/uploads/2014/09/Settings_for_reg_page.jpg
4th:
When I change the standard user role with ‘Multisite User Management’-plugin from ‘none’ into ‘Fan’, nothing changes.
5th:
When I try to delete there:
the entire user role ‘subscriber’, I get still the error message: ‘Standardrolle (default) konnte nicht gel?scht werden. Zuerst ?ndern.’ (Standard user role [default] couln’t deleted. Change it at first.)
From ‘?ndern’ (change) goes a link to: https://1a-spielwiese.de/wp-admin/options-general.php
But there is (on the root-blog level!) no opportunity to change the standard user role. And on the network level I have already changed the standard user role for all blogs from ‘subscriber’ into ‘fan’ (cfr. section 4th).
6th:
However, there:
https://1a-spielwiese.de/wp-admin/network/settings.php
is written: ‘Note: only public, non-mature and non-dashboard sites appear here. Set the default role for the dashboard site above under Dashboard Settings.’
But for ‘Dashboard Settings’ there isn’t set any link.
Questions:
- Where can I finde presicely that ‘Dashboard Settings’?
- What is presicely meant with ‘dashboard site above’?
Sorry, I should have mentioned that the plugin will not change current users on the blog It will only work for the creation of NEW users after you have installed and activated the plugin. If you are trying to change roles for currently registered users, I am not sure how to do this without manually changing the role of each one on each subsite.
If you are trying to change roles for currently registered users, I am not sure how to do this without manually changing the role of each one on each subsite.
That’s not the point. I did this alreday manually.
The point is, that I want to deactivate there:
https://1a-spielwiese.de/wp-content/uploads/2014/09/Settings_for_reg_page.jpg
the check box for ‘subscribers’, so that ‘subscriber’ disappears there:
https://1a-spielwiese.de/wp-content/uploads/2014/09/reg_page_team_fan_subscriber_Sa.jpg
from the registration page.
Got it. Thank you clarifying. I don’t know what you are using exactly to display those user roles on the registration form. Is that a plugin or custom coding? If it is a plugin, I recommend that you reach out to the plugin developer and ask them what code you can change within the plugin to hide that role from the registration page.
The new user roles ‘team’ and ‘fan’ I created with ‘Capability Manager Enhanced’-plugin; and the new form field on the registration page I created with ‘WP Roles at Registration’-plugin.
But that ‘subscriber’ is the standard user role relies not on that plugins. Rather it is already the default-setting of WordPress SingleSite (Settings/General) – and my problem is: Who can I change this setting (or decide that there isn’t any standard user role), since after activating WordPress MultiSite the option for defining the standard user role disappears from the ‘Settings/General’-page of the admin panel?
Hey there
Apparently, that plugin allows you to deselect the “Subscriber” role from being selected on the registration form
https://www.ads-software.com/plugins/wp-roles-at-registration/faq/
Screenshot here:
https://www.ads-software.com/plugins/wp-roles-at-registration/screenshots/
But not sure if this works right because this plugin hasn’t been updated in over 2 years. Good luck!
No, the screenshot shows, that ‘subscriber’ is displayed on the registration page, only because it is the standard user role (‘default’). (*)
And it is said on the screenshot, that I have do go to settings/general for changing the standard user role. But that is only true for WordPress SingleSite, not for WordPress MultiSite.
(*) And that I can’t change it, as long as ‘subscriber’ is the standard user role, shows there:
https://1a-spielwiese.de/wp-content/uploads/2014/09/Settings_for_reg_page.jpg
the grey background of the check box for ‘subscriber’.
OK good luck! I am out of ideas
Thank you! –
Anyone else has ideas on that issue?
Roles are PER SITE, so there’s no way to set it network wide. On each site, you can go in and change the default role, but it will always be a per-site base on the roles you have available per site.
If you use https://www.ads-software.com/plugins/multisite-user-management/ then you can auto add users to each site, and you SHOULD be able to pick a role like Fan or Team or what have you. But if you pick ‘none’ then it defaults to whatever the site has picked (in your case subscriber).
Roles are PER SITE, so there’s no way to set it network wide. On each site, you can go in and change the default role
Where I should can (not changing the user role of certain users [that I can deed!], rather of the standard user role itself!)? It seems to me, that I can’t – neither on the network level nor on the blog level.
If you use https://www.ads-software.com/plugins/multisite-user-management/
No, I do not use ‘Multisite User Management’ – it does not resolve my problem:
The problem is, what ‘WP role at registration’-plugin takes from the WordPress-Settings and that I can’t change these settings, since installting MultiSite.
Note:
1. Each of my existing and furthercoming subdomain blogs has and should have one user, and that user is in some cases a fan and in the other case a team. New users should decide for one these roles, when doing registration (and not for subscriber!).
2. New users of my blog-network should register for the root-blog, and then I create a subdomain blog for them – with a subdomain-URL corresponding to there individual user name.
So … I was thinking of something I’d done with a plugin, it’s not default. Sorry.
. Each of my existing and furthercoming subdomain blogs has and should have one user
Okay… this is where you’re doing something abnormal.
New users of my blog-network should register for the root-blog, and then I create a subdomain blog for them – with a subdomain-URL corresponding to there individual user name.
That’s the problem. That’s not how it works. Users register for the NETWORK.
You may want to try https://www.ads-software.com/plugins/join-my-multisite/ to add them to one site on the network, and have the network setup to only allow user registrations, NOT site creation.
Then when you make the subdomain blog, you’ll manually set their role at that time.
The reason this is weird? Well, WP assumes if someone’s making a blog, they’re the admin of the blog!
1st:
‘New users of my blog-network should register for the root-blog, and then I create a subdomain blog for them – with a subdomain-URL corresponding to there individual user name.’
That’s the problem. That’s not how it works. Users register for the NETWORK.
Okay, you are right. I expressed me not precisely. Correct is: They do the registration on the root-blog and for the entire network (not for any individual blog; even not the root-blog) – and then they get from me their individual blogs.
2nd:
Then when you make the subdomain blog, you’ll manually set their role at that time.
The reason this is weird? Well, WP assumes if someone’s making a blog, they’re the admin of the blog!On this level I haven’t any problem. E.g.:
- NEW_USER makes his/her registration.
- I create NEW_USER.1a-spielwiese.de.
- I make NEW_USER a user of NEW_USER.1a-spielwiese.de
- I delete bei superadmin-profile from the user list of NEW_USER.1a-spielwiese.de.
All that works without any problems.
3rd:
Why is the registration page important for me? It’s “only” because I have some profile fields, which are asigned to users with the user role ‘team’, and other, which are asigned to users with the user role ‘fan’. As well users with the user role ‘fan’ get one static WordPress page less (fans do not get a page ‘tickets’).
Therefore it is important for me, that new users decide during registration for the one (team) or the other (fan) user role, but not for the user role ‘subscriber’.
4th:
I guess: That entire problem appears only, because I activated WordPress MultiSite directly after installting WordPress SingleSite.
Assume, I would have
- installed WordPress SingleSite
- then created the new users roles ‘team’ and ‘fan’ (*) – and made one of them, being the standard user (**)
- and then activated WordPress MultiSite,
everything would be for me: Then I would not get the user role ‘subscriber’ displayed on the registration page (***), isn’t it?
(*) I do this with ‘Capability Manager Enhanced’-plugin.
(**) Within WordPress SingleSite the standard user role can be change on the page settings/general; within WordPress MultiSite it can be changed there.
(***) The field for choosing on the registration page a user role I create with ‘WP Roles at Registration’-plugin.
Your point is #2 is exactly what I was saying ?? We’re saying the same thing in different ways, it’s okay.
For point #3, I’m not saying it’s not important, I’m trying to point out exactly how different it is from what WordPress wants to do.
And point #4 is why I was stressing that roles are per site. Everything you set up on Single Site was for Site #1 and ONLY that site. Multisite lets you make more sites, but they all start from that same basic level.
I did find this plugin which may help: https://www.ads-software.com/plugins/bulk-user-management/
Mind… WHY do these people need non-admin access to sites?
- The topic ‘Changing standard user role after having activated WP MultiSite’ is closed to new replies.