Forum Replies Created

Viewing 15 posts - 46 through 60 (of 2,511 total)
  • Author
    Posts
  • in reply to: How can I rename the whole role? #8524
    Vladimir
    Keymaster

    Hi 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.

    in reply to: Access to CSV Importer plugin #8523
    Vladimir
    Keymaster

    Hi 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'));
    }
    }

    in reply to: Prevent secondary language editing under WPML #8520
    Vladimir
    Keymaster

    Hi 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.

    in reply to: php8.2 deprecation notices #8517
    Vladimir
    Keymaster

    Yes, of course – this week, to be more exact.

    in reply to: Updating meta boxes erases capabilities #8514
    Vladimir
    Keymaster

    Hi,

    Yes, short video will be helpful as scenario to repeat the issue.

    Vladimir
    Keymaster

    Hello,

    Is it possible to look on site with admin privileges? If Yes, send credentials to support [at-sign] role-editor.com

    Vladimir
    Keymaster

    Try this:
    1) grant ‘manage_options’ to editor role via URE.
    2) login under user with editor role, test if he sees ‘Import’ menu item.
    3) User “Admin menu” to block for editor role menu items, which are not needed for this role, like ‘Settings’, etc.

    Vladimir
    Keymaster

    I confirm, you can not revoke any capability from administrator role. This role is for the site superadmin. If you need a role with permissions little bit lower than default admin, create a new role as a copy of administrator role and then revoke from it the capabilities which you don’t wish to leave there.

    P.S. A lot of plugins check if user has ‘administrator’ role, not capabilities. While it’s not much correct, we always should check capability, not role, but it’s the fact. That’s why event if you revoke some capabilities from administrator role, such plugin still will provide full access for user with this role.

    in reply to: Hide "Other Roles" control #8504
    Vladimir
    Keymaster

    OK. Thanks for sharing this.

    in reply to: Hide "Other Roles" control #8502
    Vladimir
    Keymaster

    Hi @TWarrior,

    Good suggestion. I will group similar recipes and add them as a separate settings section to the plugin options with one of the next update.

    Vladimir
    Keymaster

    Try to deactivate URE plugin and activate it back. For some reason your administrator role did not receive URE’s superadmin permissions, like ‘ure_manage_options’, etc. URE tries to grant them to ‘administrator’ role on its activation.

    in reply to: php8.2 deprecation notices #8496
    Vladimir
    Keymaster

    Hi,

    Thanks for the notification. I will publish the fix with the next update after October 10th, 2023.

    Vladimir
    Keymaster

    Hi Stephen,

    Thanks for the good feedback. URE will not help with this task.

    It requires custom programming or select and tune a specific plugin, like this on:

    User Registration – Custom Registration Form, Login Form And User Profile For WordPress


    or similar.

    in reply to: MySQL #8488
    Vladimir
    Keymaster

    Hi,

    While your WordPress works fine with with installed MySQL version, URE will work too. It does not use any features special for MySQL version.

    Update to PHP 8.2 should be transparent for URE. If you meet some PHP notice, just share it. I will prepare quick update.

    in reply to: How to add a role to a user by importing #8486
    Vladimir
    Keymaster

    Hi John,

    Look at this plugin:

    Import and export users and customers

Viewing 15 posts - 46 through 60 (of 2,511 total)