Forum Replies Created
-
AuthorPosts
-
September 17, 2015 at 9:18 pm in reply to: User capabilities not working on multi-site install #16214Syam MohanKeymaster
Hi Nick,
Here are my findings. Your role is able to do the following.
1. Add New User – Is allowed once you enable the network setting.
2. Edit User – Only Super Admins are allowed to edit users in a network.
3. Delete User – User cannot be deleted from a single site. User must be deleted from the network dashboard. You will be able to “Remove User” from your single site.
4. Assign Roles – You can change the roles as long as you have the capabilities.Let me know if you have any questions.
Thanks
Syam
September 17, 2015 at 7:09 am in reply to: User capabilities not working on multi-site install #16191Syam MohanKeymasterPhone call will be difficult.
Give me an export of your role, I’ll try to test it in my dev site.
Thanks
September 17, 2015 at 7:03 am in reply to: User capabilities not working on multi-site install #16189Syam MohanKeymasterCan you give me access to your site?
Thanks
Syam
September 17, 2015 at 6:25 am in reply to: User capabilities not working on multi-site install #16186Syam MohanKeymasterFor individual site admins to create users in multisite, you need to enable it in Network Settings.
That setting has the following description.
“Allow site administrators to add new users to their site via the “Users → Add New” page.”
Can you try after enabling this setting?
Thanks
Syam
Syam MohanKeymasterHi Nick,
Sorry about that, topics get closed after one week of inactivity. I have reopened it.
Have you tried with changing your theme too?
Can you trying loging in using wp-login.php after deactivating wp-members to see if the login redirect works?
If you can give me access to your site, I’ll take a look.
Thanks
Syam
Syam MohanKeymasterDear Syam,
Thanks for your reply.
unfortunately the toipic was closed, so i am contcting you via email directly.
the hints you gave to solve the problem do not work for my website.
I deactivated all plugins, but the extra fields in the menu design do not show.
Also, it seems that my theme is using wp members for the login procedure and wp members seems to use the wp-login.php.
So this should be ok, but the forwarding does not work…What can be done?
Regards
Nick
September 16, 2015 at 6:05 pm in reply to: User capabilities not working on multi-site install #16165Syam MohanKeymasterHi,
What exactly does it mean by “does not work on multi-site”? You don’t see anything related to users for this role?
Thanks
Syam
Syam MohanKeymasterHi Kenedo,
Take a look into User Level Permissions.
https://wpfront.com/user-role-editor-pro/user-level-permissions/
It has a few capabilities related to promoting users. You might be able to take advantage of it.
Thanks
Syam
Syam MohanKeymasterHi Kenedo,
It doesn’t work the way you think it works. I’m going to answer your questions one by one.
Login redirect doesn’t automatically add roles to it. If you have records exists in that screen, then someone must have added it.
Usually when you don’t want a user to have access to wp-admin, you don’t want them to see the toolbar. So when the user tries to access wp-admin, you want them to redirected to a different URL. Hence this functionality is part of that.
When you don’t have a role configured within login redirect, the role should work as normal. The toolbar or the wp-admin won’t be disabled. If you see them as disabled, make sure its not coming from a secondary role.
If you want to use this functionality in future for one role and you don’t want to add other roles, other roles will work fine. The toolbar or the wp-admin won’t be disabled for those roles just because you didn’t add those roles in login redirect. If that was the case, then every role should have toolbar and wp-admin disabled when nothing is configured.
Thanks
Syam
Syam MohanKeymasterHi Kenedo,
The only place where it removes toolbar is in login redirect. Do you have login redirect configured?
https://wpfront.com/user-role-editor-pro/login-redirect/
Thanks
Syam MohanKeymasterHi Kuhnle,
This usually happens because of plugin/theme conflicts.
1. Login redirect not working.
How does the users login to your site? Do you have a separate login screen or do they use wp-login.php? Can you try the login through wp-login.php and see if the redirect works.2. Navigation menu fields missing with warning.
If you click more information within the warning, it will take you to the documentation which explains how to work around it.https://wpfront.com/user-role-editor-pro/navigation-menu-permissions/
Take a look into the last section within the documentation.
You basically need to identify from where the conflict is coming. It could be a plugin or your theme. Disable all plugins except the User Role Editor Pro. Check if the warning still exists. If it is, then it is coming from your theme. Change the theme to a different theme and make sure you don’t see the warning. If you don’t see the warning, then you should see the fields in navigation menu. Set your permissions the way you want, after that you can change your theme back to the original and activate all plugins. You won’t see the fields after that, but your permissions will still work.
Thanks
Syam
Syam MohanKeymasterHi Nicholas,
Media permissions works along with Posts permissions. Can you enable edit and delete capabilities under Posts and see if it fixes your issue with the media library?
It is a to do item in my list to customize the admin bar. If you have override type “Hard” set within the menu editor, then the user won’t be able to access the page even if they click on the New item.
Thanks
Syam
August 24, 2015 at 5:13 pm in reply to: Role needs to permit View and Use of Library Media – But NOT Add New Media #15035Syam MohanKeymasterHi Steve,
To remove the ‘Add New’ button, you will have to remove the ‘upload_files’ capability. But that will disable the whole media library functionality, so you don’t want to do that.
The code I sent you will not remove this button. But it will still block users from uploading files, they will see an error message when they try to upload.
When you say its not working, what does exactly it mean? If you meant its not removing the button, that is the right behavior. It will not remove the button.
Thanks
Syam
Syam MohanKeymasterGlad to help.
Thanks
Syam MohanKeymasterHi Bratt,
The reason you are getting that error is, that code specifies the home page(‘/’) as the default redirect location if no login redirects found for that user. But your home page also uses this template. So it goes into a redirect loop. You will have the same error, if the URL configured within the login redirect uses the same template/code.
To fix the error, change the default location to a URL which do not use this template/code. For example, change it to ‘/abc/’ and make sure page ABC do not use this template/code.
So your code will change like this.
wp_redirect(apply_filters('login_redirect', '/abc/'));
Let me know if it doesn’t work.
Thanks
Syam
-
AuthorPosts