Forum Replies Created

Viewing 15 posts - 106 through 120 (of 2,514 total)
  • Author
    Posts
  • in reply to: Admin lost access to Plugin User Role Editor #8228
    Vladimir
    Keymaster

    Hi,

    Try deactivate URE plugin and activate it back. It automatically grants all own permissions to administrator role on activation.

    Vladimir
    Keymaster

    Thank you for this bug report.
    Quick fix: open user-role-editor-pro/pro/includes/classes/content-view-restrictions.php file, go to line #89 and insert this code:

    if ( !current_user_can( self::VIEW_POSTS_ACCESS_CAP ) ) {
    return false;
    }

    The resulting version should be:

    public function do_on_init() {

    $this->plugins_compatibility();

    if ( !current_user_can( self::VIEW_POSTS_ACCESS_CAP ) ) {
    return false;
    }

    // Do not move to action executed earlier!
    // WooCommerce registers its taxonomies using 'init' action. So we should execute code only after it
    $taxonomies = get_taxonomies(
    array('public'=>true,
    'show_ui'=>true),
    'names');
    foreach( $taxonomies as $taxonomy ) {
    add_action( "{$taxonomy}_edit_form", array('URE_Content_View_Restrictions_Editor', 'render_term_box') );
    add_action( "edited_{$taxonomy}", array('URE_Content_View_Restrictions_Editor', 'save_term_meta_data') );
    }

    }
    // end of add_init_hooks()

    I included this fix to the coming version update.

    Vladimir
    Keymaster

    Hi,

    For example you have CPT ‘staff’. With the “Force custom post types to use their own capabilities” option turned ON, it’s custom term related permissions are changed to
    ‘assign_staff_terms’ – allow to select category checkboxes at the CPT edit page
    and
    ‘edit_staff_terms’ – allow to use ‘Add new category’ link at the custom categories meta box.
    Try to find these capabilities between ‘Custom capabilities’ group and grant to a selected role.

    in reply to: Hide `+ Add new category` #8224
    Vladimir
    Keymaster

    Hi,

    Revoke from a role ‘edit_product_terms’ capability.

    in reply to: License Key Field is missing #8222
    Vladimir
    Keymaster
    in reply to: License Key Field is missing #8219
    Vladimir
    Keymaster

    Hi,

    Screenshot was made from a free version of URE. You may see this at the “About” tab. Look at the plugins list what version of URE is active. Deactivate free version and activate Pro one instead.

    Vladimir
    Keymaster

    Btw., there is no item with ‘xls’ key in the list of allowed mime types. You should use this one instead:

    unset( $mime_types['xla|xls|xlt|xlw'']

    Full list of mime types allowed at WP by default is available here.

    Vladimir
    Keymaster

    Hi,

    Is it a single or multisite WordPress installation?

    in reply to: Content restriction redirect to 404 not working #8212
    Vladimir
    Keymaster

    URE does not make any redirection itself in this case. It should exclude link from any WP listings and searches. So visitor trying to open the link should get “not found” message or 404 page provided by active theme settings. Does it work this way in your case?

    in reply to: Restricting Learndash content types #8209
    Vladimir
    Keymaster

    According to the LD source code, Group Leader role has these capabilities by default:
    ‘read’,
    ‘group_leader’,
    ‘wpProQuiz_show_statistics’.
    If show the Group Leader user in the Authors selector shown on the post editor, add
    ‘level_1’,
    ‘level_0’
    else
    ‘level_0’ only.

    in reply to: Restricting Learndash content types #8206
    Vladimir
    Keymaster

    With role restricted by “Admin menu” access I received required access for a user
    I tested with older LearnDash version 3.3.0.3 though. If you have newer one, you may share it via Google Drive or DropBox with support [at] role-editor.com, in order I can make more exact test.

    in reply to: Restricting Learndash content types #8203
    Vladimir
    Keymaster

    Try, Admin menu access add-on and block unneeded menu items for selected role.

    in reply to: Restricting Learndash content types #8198
    Vladimir
    Keymaster

    Does ‘prevent from seeing’ mean, when editing, or viewing at front-end?

    in reply to: Edit administrator capabilites return 404 #8194
    Vladimir
    Keymaster

    Hi,

    This behavior is not wanted. It’s related to something special in your production environment. There is no difference for URE which role capabilities to request from server.

    Would it by some security plugin, etc. Try deactivate all plugins temporally except URE, if possible. Will it resolve the issue?
    If you can repeat this at a stage copy of the production setup, I may try to help investigate this.

    in reply to: Profile Page not accessible for Author Group #8191
    Vladimir
    Keymaster

    Hi Tobias,

    Profile menu item is available even to a user with ‘subscriber’ role, which has only ‘read’ capability. If this menu item is not available for your users, some plugin blocks it.
    You may try deactivate them all, test, then activate plugins back one by one with new testing to isolate a reason.

Viewing 15 posts - 106 through 120 (of 2,514 total)