Forum Replies Created

Viewing 15 posts - 2,431 through 2,445 (of 2,506 total)
  • Author
    Posts
  • in reply to: activating UREPro on multisite #1078
    Vladimir
    Keymaster

    whether there is a multisite-wide default new user role in the back-end SQL tables

    I do not know multi-site wide default role value for the new users. Every site has its own default role value, like

    select * from wp_options where option_name='default_role';
    

    To get this value from site 10 you need to execute:

    select * from wp_10_options where option_name='default_role';
    

    This value URE allows to modify. It does not set any multi-site network wide value, which override the value, which admin set when added new user. Value set by admin has a priority.
    Did you try to deactivate all plugins and add new user with other then subscriber role then?

    in reply to: activating UREPro on multisite #1077
    Vladimir
    Keymaster

    edit_posts capability now works fine, possibly because we did not network-activate

    Yes, it could be the result of single site activation as plugin does not get the full set of options, which it has when it is activated network wide. I need to know what the problem you met.
    For example, if you activated ‘edit restrictions’ add-on, then you need to check ‘create_posts’, ‘create_pages’ capabilities in your administrator role, in case they are not included there automatically.

    in reply to: activating UREPro on multisite #1071
    Vladimir
    Keymaster

    also given apparent bugs in post linked above; we are now confirming whether these bugs still exist

    Please describe bugs in details, try to answer on questions which I asked at that thread.

    in reply to: activating UREPro on multisite #1070
    Vladimir
    Keymaster

    I confirm the issue with URE Settings page, if plugin was activated for single site of multi-site WordPress network.
    I need to refactor code logic, something like this:
    1) Network activation: The only URE Settings page under Network Admin Settings, all settings are global for the whole network.
    2) Single sites activations: Every site has its own URE Settings page. Additionally, under Network Admin settings superadmin may input license code – one time for the whole network.

    Thus current version does not allow to use Pro version as the single site activation plugin. Thanks for the help in discovering this bug.

    Licenses are counted for the WordPress installations. One WordPress (including multi-site one) installation requires one license. So Personal membership is enough.

    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.

Viewing 15 posts - 2,431 through 2,445 (of 2,506 total)