Forum Replies Created

Viewing 15 posts - 421 through 435 (of 2,506 total)
  • Author
    Posts
  • in reply to: Restrict access + elementor template #7214
    Vladimir
    Keymaster

    I will prepare a piece of code to redirect not logged-in visitor from the custom URL (1-2 days).

    in reply to: Enable Access to Amelia Plugin #7212
    Vladimir
    Keymaster

    Did you try to use existing role from Amelia plugin as a starting point? You can add new role as a copy of selected role, then modify it.

    To say more I need access to Amelia plugin. You can share its zip with support[at-sign]role-editor.com via DropBox or similar service.

    in reply to: Restrict access + elementor template #7208
    Vladimir
    Keymaster

    Thank you for clarification.
    Somehow I missed taxonomy listing pages, like /category/some_cat, or similar. It’s not possible currently to manage view access to such pages itself, only to their content, via view access settings for the posts and/or categories.

    It’s a subject for further development/enhancement.

    in reply to: Flatsome Compatibility #7207
    Vladimir
    Keymaster

    Is it possible to get administrator access to your site? If Yes, send credentials to support [at-sign] role-editor.com
    We will can proceed then checking part by part if it’s possible to make it work.

    in reply to: Restrict access + elementor template #7204
    Vladimir
    Keymaster

    Thanks. I logged-in successfully. Send the link of the page which we test.

    in reply to: Restrict access + elementor template #7201
    Vladimir
    Keymaster

    Hi,

    Is it possible to look at your site with administrator privileges? If Yes, send credentials and noted page link to support [at-sign] role-editor.com

    in reply to: Edit certain Divi elements on a page #7200
    Vladimir
    Keymaster

    It’s not possible with User Role Editor Pro.

    in reply to: Gravity Forms Event Tracking not showing for Role #7196
    Vladimir
    Keymaster

    Hi,

    Resolved.
    Both addons use custom user capabilities, which all were granted to administrator by Gravity Forms plugin automatically, but not exist/created by default.
    I added to new capabilities:
    – gravityforms_mailchimp;
    – gravityforms_event_tracking.
    I granted them to the sdol-admin role. This role sees now both links “Mailchimp” and “Submission Tracking”.

    in reply to: Grant separate permissions additionally to a role #7192
    Vladimir
    Keymaster

    If you setup the code for custom filter ure_restrict_edit_post_type (I gave the link above) to exclude events from the edit restrictions, user will have access to all events without restrictions. It does not depend from post ID list in the edit restrictions form.
    You just need:
    1) replace ‘editor’ with your own role ID, let it be ‘role_a’;
    2) replace ‘post’ with valid custom post type for events, let it be for this example: ‘event’.
    So instead of

    
      if ( in_array( 'editor', $user->roles ) ) {
          if ( $post_type==='post' ) {
    	   $restrict_it = false;
          }
      }
    

    your code will have

    
      if ( in_array( 'role_a', $user->roles ) ) {
          if ( $post_type==='event' ) {
    	   $restrict_it = false;
          }
      }
    

    In assumption that you made all correctly, you can input post ID list after that and check that all events are still available for the role.

    in reply to: Grant separate permissions additionally to a role #7190
    Vladimir
    Keymaster

    You don’t need a code for this. Open ‘Users->User Role Editor’, select role, click ‘Posts Edit’ insert the list of posts ID into the ‘with post ID (comma separated)’ field.
    Or, you can make it individually for selected users via user profile.

    in reply to: Grant separate permissions additionally to a role #7186
    Vladimir
    Keymaster

    Right, “Edit access” add-on restrict all post types at once, if find at least one restriction criteria. If you need to exclude events from edit restrictions you can use custom filter ure_restrict_edit_post_type.

    Vladimir
    Keymaster

    Hi Jon,

    Global search through the GML plugin source code showed that it does not check any WordPress permissions at all. It did not call neither current_users_can() nor has_cap().

    I don’t have the special recommendation in this case.

    But as GML plugin uses/modifies AJAX requests for Media Library attachments which WordPress itself does, user should can at least ‘upload_files’ and ‘edit_post’ for the attachment itself and often for the post to which this image is attached. These permissions are checked by WordPress before work with Media Library items very often.
    Thus user should can edit and delete published posts/pages and others posts/pages, etc.
    So as you discovered to be at least an editor at the Media Library site.

    in reply to: LearnDash options only #7180
    Vladimir
    Keymaster

    Hi,

    1st of all, any role with access to the wp-admin (Dashboard) should have a ‘read’ capability.

    Some plugins, like WooCommerce restrict by default access to the WordPress back-end. Do you have active WooCommerce?
    Look if you have some other plugin with similar option, for example Ultimate Membership. It requires apparently allow access to dashboard for selected role(s). You can try to deactivate all plugins except LearnDash and try. The activate plugins one by one to isolate which plugin prevents access to the WP backend.

    in reply to: Sub menus #7174
    Vladimir
    Keymaster

    Hi,

    Use “Admin menu access” add-on. For “Block Selected” model select “WooCommerce” menu item and “WooCommerce” submenu item and leave all others unselected for your role.

    Vladimir
    Keymaster

    Hi,

    Did you restrict this user (his role) using “Admin menu access” add-on?
    If Yes, read carefully a last “Technical details” part of the documentation article.

Viewing 15 posts - 421 through 435 (of 2,506 total)