Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterSorry for delay with response. I tried at May, 25th, but can not access your site with this error message: “www.birminghamal.gov’s server DNS address could not be found”.
I thought to try later and missed this question out somehow. So thank for the remind.Today I can not access this site too with the same error message though.
Vladimir
KeymasterHi,
Tristan from joomunited.com contacted me in February, 2018 with the information that they work on a new release with advanced user permissions features included. I confirmed in response that I agree to work on integration between 2 our plugins and ready to develop add-on for URE Pro to manage access to WP Media Folders items inside URE Pro and described what functionality, information I will need for that. I did not receive any update from that time though.
Do you have any new information about “WP Media Folder” plugin?
Vladimir
KeymasterThank you.
28/05/2018 at 14:35 in reply to: upgrading pro to pro 4.39.1 to latest verion wont trough wordpress dashboard #4889Vladimir
KeymasterWire transfer. Write to support [at-sign] role-editor.com and I will send you my bank account details.
28/05/2018 at 14:11 in reply to: upgrading pro to pro 4.39.1 to latest verion wont trough wordpress dashboard #4887Vladimir
KeymasterExcuse me for misunderstanding.
You can deactivate URE Pro. Remove old version folder wp-content/plugins-user-role-editor-pro and copy new version folder user-role-editor-pro from the .zip which you got from role-editor.com, and activate the latest version. You should not lose any bit of earlier made URE settings.
28/05/2018 at 13:58 in reply to: upgrading pro to pro 4.39.1 to latest verion wont trough wordpress dashboard #4885Vladimir
KeymasterThe latest Pro version is 4.47. What’s the purpose of upgrade to 4.39.1?
Vladimir
KeymasterIs it possible to look at your site with admin privileges? If ‘Yes’, send login credentials to support [at-sign] role-editor.com
URE Pro is built on the top of a free version (uses free version as the core) and includes full free version copy. So there is no need to activate free and Pro versions together. Every version has built-in control and checks if other copy of URE is running already before its activation.
Vladimir
Keymasters2member roles are usually used for membership and granted as the secondary roles. Right?
Restrict admin menu for the primary role of this user or grant ‘read’ capability to this s2member role.Vladimir
KeymasterThanks for the good feedback.
When you block admin menu item via “Admin menu access” add-on, URE blocks direct access to the URL linked to that menu item automatically. When user tries to type such URL in a browser URE redirects him to the 1st available admin menu item.
Vladimir
KeymasterHi,
You can block ‘Profile’ menu item for this role using “Admin menu access” add-on.
Vladimir
KeymasterHi,
Permissions assigned directly to users are not exported/imported by User Role Editor.
If it’s a single user it’s much simpler just grant capabilities shown at a production site page to at this user permissions page opened at the stage server.If you wish to make it semi-automatically, you will need some SQL tool. Look at this command:
SELECT * FROM wp_usermeta where user_id=NNN and meta_key='wp_capability';
It shows user permissions stored by WordPress for this user at the database.
NNN – is your user ID.
‘wp_’ is database prefix here. So you have to change it at ‘wp_usermeta’ table name and at ‘wp_capability’ value if you have another DB prefix defined at config.php.Then you can to copy/paste meta_value field value from the result to the previous command to a new command at the stage database connection:
update wp_usermeta set meta_value='copy/pasted value here' where user_id=NNN;
Vladimir
KeymasterI see your role has all capabilities from ‘posts’ and ‘pages’ groups. It’s enough to edit any post or page, in general. You need to check if your role or/and user does not have any additional restriction, may be set accidentally or by other plugin.
1) try to deactivate User Role Editor and re-test;
2) try to deactivate all plugins and re-test.
In case if restriction was added by some plugin, activate plugins back one by one and make another test in order to isolate a reason.Vladimir
KeymasterTry development version 4.47.b1. It’s available after login from the Download page. It includes the fix for this issue.
Vladimir
KeymasterRevoke ‘delete_posts’, ‘delete_publish_posts’ capabilities from this role.
Vladimir
KeymasterIt’s better to use current_user_can() for checking if capability was granted to a user or it was not. To check if user has role it’s more correct to use this code:
$user = wp_get_current_user(); if (in_array('some_role_id', $user->roles)) { // do something }
-
AuthorPosts