Forum Replies Created

Viewing 15 posts - 2,101 through 2,115 (of 2,516 total)
  • Author
    Posts
  • Vladimir
    Keymaster

    Hi,

    I confirm the bug at version 4.23.2 ‘Admin Menu Access’ module. It removes blocked menu item with additional parameters, like ‘Events-Settings’

    
    edit.php?post_type=event&page=events-manager-options
    

    but allows access it via direct URL.
    This bug will be fixed by upcoming version 4.23.3 (this week).

    in reply to: Some blocked widgets are still displaying #2128
    Vladimir
    Keymaster

    Hi,

    ‘Apply to All sites’ option at the main site works for the currently selected role only. It’s not related to the additional modules (like ‘Widgets’) data.

    Widgets, admin menu items available at different single sites may be different as single sites may have different set of activated plugins and themes. So I did not include network update feature for the additional modules from very begin. I see with time that some clients (including you) need such feature. I will add it module by module.

    If you open ‘User Role Editor’ at the ‘Network Admin – Users’ you should see ‘Update Network’ button there. It opens dialog where you may add ‘Widgets’ restrictions data to the update process:
    Update Network - Widgets access module data

    Code was written this way:
    Widgets added by single site admin (superadmin) should be shown 1st. Widgets added by users should be shown below.

    Could you describe in details your scenario in order I may test it myself and develop a fix if needed? What widgets you added as superadmin, what widgets as a user? What role has your non-administrator user who adds widgets (screenshot)?

    I don’t have on hands a solution to block sidebars. I will check what we can do with it.

    in reply to: Meta boxes via ACF Pro #2127
    Vladimir
    Keymaster

    Hi,

    ACF Pro uses to add its meta boxes not ‘add_metaboxes’ action as WordPress recommends, but ‘admin_head’ action. This was a reason why URE Pro missed them.

    Thanks for your help in discovering this issue.
    I included the fix for it to the upcoming version 4.23.3. I plan to publish it this week.

    in reply to: Some blocked widgets are still displaying #2125
    Vladimir
    Keymaster

    Hi,

    If you blocked widgets at Network Admin this restrictions are applied for the main site. In order to restrict widgets for the 3rd site, you should open ‘User Role Editor’ at the 3rd site directly.

    Do you test your settings for the restricted site?

    in reply to: Multiple roles help #2124
    Vladimir
    Keymaster

    Hi,

    1st, correct the typo, you should have ‘Complete’ instead of ‘Complet’ in the 2nd login expression.

    2nd, role shown by WordPress as a ‘primary’ role should be the 1st in the roles array (have index 0). So remove all roles from the user, then add ‘instructor’ role. It will become a primary this way. Then add ‘participant’ role back as a secondary role.

    
    $user->set_role('instructor');
    $user->add_role('participant');
    
    in reply to: Hide "Other Roles" control #2122
    Vladimir
    Keymaster

    Hi,

    ‘Other Roles’ section is shown, if this boolean filter ‘ure_show_additional_capabilities_section’ returns true (by default). It’s hidden in case this filter returns false.

    in reply to: Login WordPress Dashboard #2119
    Vladimir
    Keymaster

    Jawad,

    Upcoming (in a couple of days I hope) 4.23.3 bug fix release will not contain this feature yet. I will include it the the 4.24.

    I will include these code snippets to the Pro version 4.24 as the options (inactive by default). So you will can safely install plugin update, remove your own copy of code from functions.php and then turn on the correspondent option at the User Role Editor Settings.

    in reply to: Login WordPress Dashboard #2117
    Vladimir
    Keymaster

    Hi Jawad,

    ‘shop_web_hook’ is a custom post type introduced by WooCommerce:
    https://docs.woothemes.com/document/webhooks/

    Please remind, for what question you did not get the answer.

    in reply to: User rights WP App (IOS and Android) #2116
    Vladimir
    Keymaster

    I think that Android and iOS applications both should work the same way in relation access to WordPress data.
    Try to clear all cached data at your iOS device.

    in reply to: User rights WP App (IOS and Android) #2113
    Vladimir
    Keymaster

    Herbert,

    Do you Сolleagues use this application to post to WordPress from mobile devices?

    in reply to: User rights WP App (IOS and Android) #2112
    Vladimir
    Keymaster

    Hi Herbert,

    Thanks for the feedback.

    I do not have a solution for the access restrictions problem with WP App right now. I will investigate it and try to offer the solution ASAP.

    in reply to: Some Buddypress menu item not detected #2111
    Vladimir
    Keymaster

    In relation to the screenshots with capabilities:
    – Is it possible that you have different set of plugins activated on these sites?

    in reply to: Some Buddypress menu item not detected #2110
    Vladimir
    Keymaster

    In order to remove ‘Emails->Customize’ menu item use this code:

    
    add_action('admin_menu', 'my_remove_buddypress', 20);
    
    function my_remove_buddypress() {
      
        if (current_user_can('your-own-role')) {     
            remove_submenu_page('edit.php?post_type=bp-email', 'bp-emails-customizer-redirect');
        }
      
    }
    
    in reply to: Some Buddypress menu item not detected #2109
    Vladimir
    Keymaster

    Hello,

    I confirm the bug with menu items similar to BuddyPress. It’s fixed at upcoming version 4.23.3. I plan to publish it in a couple of days.

    in reply to: Woocommerce restrict to view of orders #2102
    Vladimir
    Keymaster

    Orders menu is protected by ‘edit_shop_orders’ capability. It’s possible to prohibit new order creation if you activate ‘create’ capability at User Role Editor Settings.

    But ‘edit_shop_orders’ capability is enough to ‘process’ and ‘complete’ the order. The only way to allow a read-only access to the WooCommerce orders is to use this filter from WooCommerce code:

    
    $actions = apply_filters( 'woocommerce_admin_order_actions', $actions, $the_order );
    

    Your function for this filter should return empty $actions array for ‘editor’ role in order to make for them read-only access.

    Let me know if you need further help.

Viewing 15 posts - 2,101 through 2,115 (of 2,516 total)