Forum Replies Created
-
AuthorPosts
-
Vladimir
KeymasterHi,
I don’t have other idea that try to test this with PHP debugger. If you can provide admin access (dev. copy without critical data is preferred) send credentials to support [at-sign] role-editor.com
07/11/2023 at 10:00 in reply to: Possible conflict with GeneratePress and The Event Calendar (TEC) plugins #8551Vladimir
KeymasterHi,
Let’s return to the testing using the fresh copy with the latest versions of software. Send credentials of dev.copy to support[at-sign]role-editor.com in order I can take a copy of the database and plugins/theme files. I will try to repeat the issue according to your testing scenarios and catch the bug(s).
Vladimir
KeymasterIs user granted the single role only? May be the 2nd role has menu access restrictions?
Vladimir
KeymasterHi,
Do you use Admin menu access add-on? If Yes, and access model is “Not Selected” re-read carefully the “Block not selected” part of this article.
Vladimir
KeymasterHi,
You can grant ‘manage_options’ to the selected role. Then using “Admin menu blocking” add-on block admin menu items, to which you don’t wish to give access for this role.
Vladimir
KeymasterThanks for the help and feedback.
Vladimir
KeymasterYou should see the similar result:
option_name field contains URE internals ID used by add-ons to save its data.
Roles ID would be found inside the option_value field for every record. It’s a string where a serialized PHP array data are stored.
Vladimir
KeymasterLook at wp_options db table (wp_ is db prefix):
SELECT * FROM wp_options WHERE option_name like 'ure%';
All data are serialized arrays.Vladimir
KeymasterUnderstand.
There is no UI in plugin to automatically move add-ons data linked to the older role to a new one.
Vladimir
KeymasterHi WUCW,
You can not do it directly. Workaround, create a new role name2 as a copy of nor name1. Then revoke role name1 from all users, whom it’s granted and grant them new role name2.
Vladimir
KeymasterHi Sachin,
Unfortunately, developer of UCI plugin hardcoded that its admin menu is shown for the user with administrator role only:
public static function show_admin_menus(){
$ucisettings = get_option('sm_uci_pro_settings');
if( is_user_logged_in() ) {
$user = wp_get_current_user();
$role = ( array ) $user->roles;
}if(!empty($role) && in_array( 'administrator' , $role)){
if ( is_user_logged_in() && current_user_can('manage_options') ) {
add_action('admin_menu',array(__CLASS__,'testing_function'));
}
}$first_activate = get_option("WP_ULTIMATE_CSV_FIRST_ACTIVATE");
if($first_activate == 'On'){
delete_option("WP_ULTIMATE_CSV_FIRST_ACTIVATE");
exit(wp_redirect(admin_url().'admin.php?page=wp-addons-page'));
}
}
This part is interesting for you from the code above:
if(!empty($role) && in_array( 'administrator' , $role)){
if ( is_user_logged_in() && current_user_can('manage_options') ) {
add_action('admin_menu',array(__CLASS__,'testing_function'));
}
}
Vladimir
KeymasterHi Levent,
WPML provides own permissions system to the translated content. It supports the list of translators and allows to define for every translator the list of allowed languages. It should be enough to solve your task.
Vladimir
KeymasterYes, of course – this week, to be more exact.
Vladimir
KeymasterHi,
Yes, short video will be helpful as scenario to repeat the issue.
15/10/2023 at 04:55 in reply to: Trying to hide custom post type from archive doesn’t work for me #8513Vladimir
KeymasterHello,
Is it possible to look on site with admin privileges? If Yes, send credentials to support [at-sign] role-editor.com
-
AuthorPosts