Forum Replies Created

Viewing 15 posts - 2,101 through 2,115 (of 2,506 total)
  • Author
    Posts
  • 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.

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

    Hi,

    I have to postpone this issue investigation for 1-2 days.

    in reply to: Use the Bulk Access Edit for Custom Post Types #2097
    Vladimir
    Keymaster

    I will extend ‘Bulk Access Edit’ to the custom post type with a next update (approximately this week).

    Category/taxonomy id filter should work already for custom post types and pages (if you linked categories to them).

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

    Hi,

    Could you provide ACF Pro copy for testing? Send zip to the support email. I guarantee that it will be installed it only locally and for testing purpose.

    in reply to: Login WordPress Dashboard #2092
    Vladimir
    Keymaster

    Jawad,

    I found and fix the reported issue with PHP notice from admin-menu-access.php. I will publish it with the next update in 1-2 weeks.

    in reply to: Login WordPress Dashboard #2091
    Vladimir
    Keymaster

    Hi Jawad,

    Thanks for the feedback. I very appreciate your help in making URE Pro better.

    I can repeat the PHP notice from the admin-menu-access.php using your recent information.
    I will develop a fix.

    in reply to: Login WordPress Dashboard #2089
    Vladimir
    Keymaster

    Hi Jawad,

    This post describes how to use woocommerce_duplicate_product_capability filter.

    What settings did you make in “Admin Menu” for the “Vendor” role, for which PHP notices are generated? Please show a screenshot.

    in reply to: Login WordPress Dashboard #2087
    Vladimir
    Keymaster

    Hi Jawad,

    Metaboxes:

    1) I found a bug in URE Pro with WC Vendors activated. Quick fix:
    open user-role-editor-pro/includes/pro/classes/meta-boxes.php
    and replace update_meta_boxes_list_copy() function at line #33 with this version

    
        public function update_meta_boxes_list_copy() {
            global $wp_meta_boxes;
            
            if (empty($wp_meta_boxes) || self::$meta_boxes_list!=null) { 
                return;
            }
             
            self::$meta_boxes_list = get_option(self::META_BOXES_LIST_COPY_KEY, array());
            foreach($wp_meta_boxes as $screen=>$contexts) {            
                foreach($contexts as $context=>$priorities) {
                    foreach($priorities as $priority=>$meta_boxes) {
                        foreach($meta_boxes as $meta_box) {
                            if (empty($meta_box) || !isset($meta_box['id'])) {
                                continue;
                            }
                            $mb = new StdClass();
                            $mb->id = $meta_box['id'];
                            $mb->title = $meta_box['title'];
                            $mb->screen = $screen;
                            $mb->context = $context;
                            $mb->priority = $priority;
                            $mb_hash = md5($mb->id . $mb->screen . $mb->context);
                            self::$meta_boxes_list[$mb_hash] = $mb;
                        }
                    }
                }                        
            }
            
            update_option(self::META_BOXES_LIST_COPY_KEY, self::$meta_boxes_list);                
            
        }
        // end of update_meta_boxes_list_copy()
    

    where this condition was added:

    
    if (empty($meta_box) || !isset($meta_box['id'])) {
        continue;
    }
    

    After this reopen Coupon editor page and you will find at User Role Editor -> Meta Boxes needed metaboxes from Coupon editor page.

    Revolution Slider adds its options meta box for the posts only by default. So I can not test it myself for coupons. I suppose that some plugin or theme makes that at your installation. But URE processes a ‘Revolution Slider Options’ meta box from post editor normally, so you should see it for coupons too.

    Let me know the result. Thanks.

    in reply to: Activation URE Pro behind proxy #2084
    Vladimir
    Keymaster

    Hi,

    Plugin is fully functional and don’t need additional activation. Valid license key allows to get automatic updates from role-editor.com. Without Internet connection you have to update it manually.

    in reply to: Too many redirects #2082
    Vladimir
    Keymaster

    Thanks for letting me know.

    in reply to: Login WordPress Dashboard #2079
    Vladimir
    Keymaster

    Hi Jawad,

    1) By default WooCommerce allows to duplicate products to the user with ‘manage_woocommerce’ capability. User without this capability does not see the ‘Duplicate’ link. I think that if user should have read-only access to the Products, then ‘manage_woocommerce’ is not required for him. So remove it from his role.
    If you need to change this capability to the custom one, you may use 'woocommerce_duplicate_product_capability' filter for that.

    2) I do not have any meta boxes except ‘Coupon Data’ with WooCommerce and Rev. Slider only installed. I suppose you have some other active plugin, which adds sections from the screenshot to the Coupon editor page. I need to know what plugin does that.

    3) Try to deactivate/activate back user role editor plugin. Open User Role Editor – ‘Admin Menu’ for that role and re-save it.

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