Forum Replies Created
-
AuthorPosts
-
Syam MohanKeymaster
Hi Samantha,
What about the FTP access?
Thanks
Syam
Syam MohanKeymasterHi Samantha,
That is fine.
FTP allows me to access the files, so that I can replace them. I’ll be only replacing my plugin files for debugging purposes. I’ll not break your site.
Thanks
Syam
Syam MohanKeymasterHi Samantha,
Can you give me access to your site? And is it OK if I deactivate the plugins, I won’t change the theme.
If you can give me FTP access I will write some debugging code.
Thanks
Syam
Syam MohanKeymasterHi Samantha,
I don’t think I quite understand you reply.
How does your redirect work for the “Administrator” role? Since User Role Editor Pro doesn’t allow to set a redirect for “Administrator” role? When you say the “same exact thing”, what is that “exact thing”? Does it always redirect to a specific page?
One of your plugins/theme may be overriding the login redirect settings. It works using a filter. So the last code executed will control the redirect. Can you test with disabling all other plugins and changing the theme?
Thanks
Syam
Syam MohanKeymasterHi Samantha,
How are you logging in to your site? Can you try the default WordPress login method (wp-login.php) if you are not already and see if it works.
Thanks
Syam
Syam MohanKeymasterHi David,
What is the version of the plugin you are having?
Try updating the plugin from the “Dashboard > Updates” page. That page will display errors if there is any. Please paste the error message back here, if you see one.
Also do a “Recheck” within the “Go Pro” page (available from v2.10.1.3), that will force an update check again. Then try to update it.
Thanks
Syam
Syam MohanKeymasterHi Daniel,
I don’t think I quite understand what your scenario is.
Here is how Login Redirect works. It internally uses a WordPress filter called ‘login_redirect’. This filter will be called from wp-login.php after a user has been logged into your system to find the redirect location. Usually it doesn’t matter how the login form is created (by a plugin/theme), it always posts the data to wp-login.php so this filter will be executed.
‘redirect_to’ is a WordPress recognizable parameter, which will be extracted in wp-login.php and passed as an argument to this filter. User Role Editor tries to find the redirect URL based on the configurations and if it finds one, returns that URL from the filter else returns the passed ‘redirect_to’.
Calling this filter and setting its value as ‘redirect_to’ within the login URL will not work, since the filter requires a logged in user to find the URL.
Thanks
Syam
Syam MohanKeymasterHi Paul,
I don’t think I’m understanding your point.
Here is my understanding of WordPress and it’s roles and capabilities ecosystem. All roles are equal, WordPress doesn’t give any weight to a role based on it’s name. It’s weight is calculated by the capabilities a role has. It doesn’t matter whether a role is a default WordPress role or one created by a plugin. There is no such thing as primary and secondary roles (I named them like that for easy UI management). A WordPress user object has a roles array. This plugin considers a role as a primary role if it sits in the beginning of that array and all roles following that index is considered secondary (just by this plugin, not by WordPress). WordPress treats all roles equal no matter on which index a roles sits in that array. For example, you can have “Subscriber” at the beginning index and “Administrator” at the second index and you will be treated as Administrator. You won’t be treated as “Subscriber” just because it sits in the beginning.
Roles are WordPress objects. There is no such thing as WordPress role and plugin role. For example you can create a role through this plugin, that role will still exist within your site even after you deactivate this plugin.
I want my plugin to be inline with WordPress basics and it’s concepts especially when I’m working with WordPress objects. I won’t try to reinvent the wheel or workaround it. I will only implement a functionality if WordPress allows it through its filters and actions or is inline with the WordPress concepts.
Thanks
Syam
Syam MohanKeymasterHi Paul,
I think I don’t understand your question. promote_users will lock down all the roles. Just locking the primary role doesn’t make sense to me, because you could still assign Administrator as secondary role and the user will have all the permissions.
And why did you send your email to me?
Thanks
Syam
Syam MohanKeymasterHi Paul,
Right now there is no way to limit a user from changing just the primary role. From a WordPress point of view, this doesn’t limit that user from receiving capabilities, because a user can get any capability through secondary roles.
Do you mind explaining your use case? May be there is a different way.
Thanks
Syam
Syam MohanKeymasterHi Christian,
The license needs to be verified with wpfront.com server. Do you think you will able to give your server temporary outgoing connection?
Thanks
Syam
Syam MohanKeymasterGlad to hear that your issue has been fixed.
Thanks
Syam MohanKeymasterHi Bryan,
Can you give me access to your site?
Thanks
Syam MohanKeymasterHi Bryan,
How do you login to your site? Are you using a form created by a plugin/theme? Try loging in using wp-login and see if it works. If that works then its most probably because the plugin/theme you are using for the login form do not use the settings or overrides the settings provided by the user role editor pro plugin.
Thanks
Syam
Syam MohanKeymasterHi Colin,
At this point the only way to remove items from admin bar is by removing the capability from the role. If that item points to an admin menu, you can remove the access to that page using menu editor. That item will still appear within the admin bar, but the user won’t have access to the page.
I have an item within my to do list which allows you to customize admin bar against role, which will address this issue.
Thanks
Syam
-
AuthorPosts