Forum Replies Created

Viewing 15 posts - 616 through 630 (of 2,518 total)
  • Author
    Posts
  • Vladimir
    Keymaster

    If you can extract needed post/page IDs for a team via PHP, you can add them automatically to the edit restrictions set for selected user or role using ure_edit_posts_access_id_list custom filter.

    in reply to: Problem with WP Multilang #6670
    Vladimir
    Keymaster

    Hi Martin,

    Send the link to WP Multilang plugin at wordpress.org/plugins/
    Show screenshot with “Show item only in” option in menu.
    Clarify, what do you mean under ‘other page where i don’t use “User role editor”’. How do you use URE for the page?

    in reply to: Editor Role adding access to Menu and Widgets #6668
    Vladimir
    Keymaster

    Hi Friedi,

    You can make a simple test – switch to a 2020 theme, login under user with modified editor role and look if you can work normally with widgets. If ‘Yes’, then permissions you gave to editor role is enough for this purpose. But Avada developer should check what is going wrong and find a real reason of JavaScript error.

    in reply to: Editor Role adding access to Menu and Widgets #6666
    Vladimir
    Keymaster

    Hi Daniel,

    Look at the browser JavaScript console (F12 for Google Chrome) if it shows any JavaScript errors.

    in reply to: Defining Posts View Access in php #6663
    Vladimir
    Keymaster

    Yes, I confirm this.

    in reply to: Defining Posts View Access in php #6661
    Vladimir
    Keymaster

    Hi,

    Currently there is not suitable hook for this purpose. I will add a couple for the next update – approximately the begin of March, 2020.

    Vladimir
    Keymaster

    Hi Luke,

    I confirm: v. 4.55 includes large changes in JavaScript part.

    Vladimir
    Keymaster

    Erik,

    I found the reason :). Login under the test user, go to “Appearance->Menus” and click on the “Screen Options” at the top right corner. Turn ON checkboxes which you wish to see at the page. Menu items realized as meta boxes, which you can hide/show and some of theme are hidden by default.

    Vladimir
    Keymaster

    Erik,

    Interesting thing I discovered. When I logged in under provided test user with the same admin privileges I see the limited list of options under “Appearance->Add menu”, exactly as you showed for the limited role.
    It seems the list of options does not depend from user permissions as users with the same ‘administrator’ role sees the different list of options (post types).

    I will make some tests with Events Calendar Pro at my own test site.

    Vladimir
    Keymaster

    Hi,

    I don’t have access to the Modern Tribe’s Event Calendar Pro for testing. I referenced WooCommerce “Products” as it’s a similar custom post type, which I took for a quick testing.
    You may share MTEC Pro plugin .zip with support [at-sign] role-editor.com via Google Drive or DropBox. I will repeat the test with MTEC instead of WooCommerce then.

    Vladimir
    Keymaster

    Hi Luke,

    Look at the browser JavaScript console (Ctrl+Shift+I for Google Chrome) if there any JavaScript error messages.

    in reply to: Settings to show WP admin Bar on Front End #6647
    Vladimir
    Keymaster

    You may redirect membership_manager users after login using another plugin, like this one.

    Vladimir
    Keymaster

    Hi,

    My test showed that the list of groups (post types) at the “Add menu items” section does not depend from the ability of user to edit those items. My test user does not have capabilities to edit Woocommerce products but he see “Products” group at the mentioned section.

    I may just suppose that another plugin may be involved. Did you try to deactivate all plugins and re-test? If that will change a picture, activating plugins back one by one you can isolate a reason.

    in reply to: Woocomerce product page redirects #6645
    Vladimir
    Keymaster

    Hi Jay,

    Thanks for the additional information. I made a quick test and was redirected as expected.
    So I can not repeat the issue with 2 plugins only URE Pro and WooCommerce and 2020 theme.

    Is it possible to get admin access to the test/stage copy where I can reproduce this? If Yes, send credentials to support [at-sign] role-editor.com

    in reply to: Settings to show WP admin Bar on Front End #6642
    Vladimir
    Keymaster

    Yes, I missed a closing bracket at the line 8. Valid code is:

    
    add_filter( 'woocommerce_disable_admin_bar', '_wc_disable_admin_bar', 10, 1 );
    function _wc_disable_admin_bar( $disable ) {
     
        $user = wp_get_current_user();
        if ( !is_a( $user, 'WP_User') || !is_array( $user->roles ) ) {
            return $disable;
        }
        if ( !in_array( 'membership_manager', $user->roles ) ) {
            return $disable;
        }
    
        return false;
    }
    

    If filter does not help I suppose that another plugin may have own setting for showing admin bar at the front-end.

    Try to add ‘manage_woocommerce’ to membership_manager role to exclude WooCommerce. Will it help? If it did not help, try to deactivate all plugins and re-test activating them back one by one, to isolate a source of the problem.

Viewing 15 posts - 616 through 630 (of 2,518 total)