Forum Replies Created

Viewing 15 posts - 2,446 through 2,460 (of 2,517 total)
  • Author
    Posts
  • in reply to: Manual Update for version 4.14.4 on Multisite #1069
    Vladimir
    Keymaster

    I deleted that test message. Those answers were sent before I fixed the problem with email notification.
    So we both get forum activity notification emails now. That’s good.

    in reply to: privileges incorrect on multisite #1065
    Vladimir
    Keymaster

    Thanks for the information. Let’s proceed in this thread.

    in reply to: Manual Update for version 4.14.4 on Multisite #1064
    Vladimir
    Keymaster

    Thanks for the information. I wonder of the possible problem as I do not see such issues on the ten of my installations.
    Yes, if you have no license code in the URE option then you may get ‘automatic updates unavailable’ message, but ‘new version available’ notification should work always.

    I will inform you when I publish the next update to make checking together. Interesting, if you will get the notification at admin, and what will be if you click ‘Check for updates’ link under plugin row at “Plugins” page manually?

    P.S. There is a problem with email notifications from this (bbPress) forum after I moved site to the Google App Engine. I investigate it.

    Vladimir
    Keymaster

    Good! Thanks.

    in reply to: Restrict editing pages by user role? #958
    Vladimir
    Keymaster

    Sorry, that was my fault. I did not pay attention on the word ‘specific’ at your 1st message.
    Current version does not include the interface to restrict editing posts/pages by role. It is good feature request and I will add this functionality to Pro version with time.
    Now you may use this piece of code to prohibit your users with ‘editor’ role access to the list of pages:

    if (is_blog_admin() && current_user_can('editor')) {
        add_action('pre_get_posts', 'restrict_posts_list');
        function restrict_posts_list($query) {
    
                $suppressing_filters = $query->get('suppress_filters'); // Filter suppression on?
    
                if ($suppressing_filters) {
                    return query;
                }
    
    
                if ($query->query['post_type']=='page') {            
                    $posts_restriction_type = 2; // Prohibit
                    $posts_list = array(442, 484);   // comma separated list of pages IDs
                    if ($posts_restriction_type==1) {   // Allow
                        $query->set('post__in', $posts_list);
                    } else {    // Prohibit
                        $query->set('post__not_in', $posts_list);
                    }
                }
    
                return $query;
        }
        // restrict_posts_list()
    }
    

    Replace pages ID at $posts_list array and add this code to your active theme functions.php file.

    Vladimir
    Keymaster

    I will publish version 4.16 at September, 15th, approximately.

    in reply to: UserPro #908
    Vladimir
    Keymaster

    I do not see your question.

    in reply to: Restrict editing pages by user role? #907
    Vladimir
    Keymaster

    1) Select needed role.
    2) Input ‘pages’ to the ‘Quick Filter’ field. All user capabilities related to the ‘pages’ will be selected.
    3) Unselect them all.
    4) Update role.
    Users with this role will not have access to adding/editing/deleting any pages.

    in reply to: How to give user access to plugins #903
    Vladimir
    Keymaster

    Thanks for the information.
    No, I can not advise you a suitable booking solution.

    in reply to: How to give user access to plugins #901
    Vladimir
    Keymaster

    Yes, I see. ‘Booking Wis’ plugin requires the “Administrator” role for access to all its menu items. It is the real problem.

    Quick workaround: modify ‘Booking Wis’ source code. I may do it for you in case you send me this plugin installation package (support [at-sign] role-editor.com

    I will try to add the feature to replace menu capability which was set by plugin in order to resolve the similar issues. It may require a few days…
    It could not help in case plugin author checks user rights not in the menu definitions only, but at his source code directly, like:

    if (!current_user_can('administrator') {
        echo 'Not sufficient permissions!';
        die;
    }
    
    Vladimir
    Keymaster

    It is valid now. I removed the real license code from your reply.
    Let’s see how automatic update feature will work for you with the next update. Or you may change manually version number at the top of user-role-editor-pro.php file to the “Version: 4.14” for example and check for the updates.

    in reply to: How to give user access to plugins #897
    Vladimir
    Keymaster

    Done – shinephp [at-sign] gmail.com

    Vladimir
    Keymaster

    Thanks.
    I see from this data that the license key is definitely corrupted. Please re-insert it and let’s monitor if it will be in place and un-touched.

    in reply to: How to give user access to plugins #894
    Vladimir
    Keymaster

    Administrator role copy should work in the most of cases, except some plugins, which requires directly the ‘administrator’ role. If you have a problem, let’s try to research the reason together and find the solution.

    in reply to: Admin Menu #891
    Vladimir
    Keymaster

    Thanks for the information.
    Do you use the latest version 4.15?
    Any chance to repeat the issue according to the step by step description?

    Known issues:
    1) ‘Themes’ and ‘Customize’ menu items of ‘Appeance’ menu are not shown at the list of menu items to block and as the result they leave unblocked. It was fixed in the upcoming version 4.15.1
    2) Corresponding front end top bar admin menu items is not blocked. I plan to fully hide it for roles which has blocked menu items.

Viewing 15 posts - 2,446 through 2,460 (of 2,517 total)