Forum Replies Created

Viewing 15 posts - 2,161 through 2,175 (of 2,518 total)
  • Author
    Posts
  • in reply to: user role "none"? #2002
    Vladimir
    Keymaster

    In relation to ‘shortcode’ this feature was realized:

    Shortcode for content view access restriction


    Posts view restrictions includes a similar option ‘No role for this site’ also:

    Content view access restriction for selected roles

    I’m not sure that this add-on will work with BuddyPress though. I did not tested URE Pro with BuddyPress yet. It works with posts, pages and any custom post type. If BuddyPress page is a ‘post type’ like others then it should do the trick.

    I should look at BuddyPress and make some tests to be sure.

    in reply to: Update Pages by Review #1998
    Vladimir
    Keymaster

    Try this code:

    
    add_action('save_post', 'submit_for_review_update', 25 );
    
    function submit_for_review_update($post_id) {
        
        if (empty($post_id)) {
            return;
        }
        
        $post = get_post($post_id);
        if (!is_object($post)) { 
            return;
        }
    
        if ($post->post_type=='revision') {
           return;
        }
        
        $current_user = wp_get_current_user();    
        if (in_array('author', $current_user->roles) && $post->post_status=='publish') {
            $my_post = array(
                'ID' => $post_id,
                'post_status' => 'pending',
            );
    
            remove_action('save_post', 'submit_for_review_update', 25);
            wp_update_post($my_post);
            add_action('save_post', 'submit_for_review_update', 25);
        }
    }
    
    in reply to: plugin-update-checker.php #1997
    Vladimir
    Keymaster

    Hello,

    This part was not changed from a very begin. Method PucFactory::addVersion() is defined at the same file, line #1041. I suppose you may have installed another version of class PucFactory, as it’s defined here just in condition that it does not exist yet, line #963:

    
    if ( !class_exists('PucFactory') ):
    

    Could you please check, what other plugin causes this conflict?

    Vladimir
    Keymaster

    Hi Bira,

    Thanks for letting me know that a problem was resolved.

    Especially thank you for the bug report (user-role-editor-pro/includes/pro/classes/posts-edit-access.php on line 171). I really used a wrong class name there. I will fix it with a next update.

    in reply to: Update from Dashboard #1990
    Vladimir
    Keymaster

    Hi,

    I found and fixed the bug with plugin update from the WordPress multisite “Network Admin – Plugins” page. I will include this fix into the next update.

    in reply to: Other Roles Feature #1989
    Vladimir
    Keymaster

    Hi,

    Yes, It’s possible to assign to the user more than one role. When a user have multiple roles assigned – their capabilities are added.
    In a situation when “if for a user with role1: we decide to display topbar admin
    and for role2, we decide to hide topbar admin” user will not see top admin menu bar.

    in reply to: Hide admin topbar for non logged in users #1988
    Vladimir
    Keymaster

    Hi,

    Thanks for letting me know.

    in reply to: Redirect user when no access to page #1987
    Vladimir
    Keymaster

    Hi,

    Thanks for your opinion. I agree. I will add this feature.

    in reply to: Redirect user when no access to page #1981
    Vladimir
    Keymaster

    Hi,

    Look at this plugin:
    https://wordpress.org/plugins/redirection/
    It should be enough if you wish to add redirection.

    in reply to: How to make universal changes on WP Multisite #1976
    Vladimir
    Keymaster

    It’s not possible currently to replicate admin menu access data your set for roles to the all sites. I consider to add such feature to the one of the future versions.

    in reply to: Update from Dashboard #1974
    Vladimir
    Keymaster

    Thanks for the information.
    I suppose that you get this error when you tried update URE Pro from ‘Plugins’ page?
    I will work on the fix.

    As a workaround the update works as expected via ‘Dashboard->Updates’.

    in reply to: hide restricted plugins from plugins page #1973
    Vladimir
    Keymaster

    Thanks.
    I added the updated page to the documentation about this feature:

    Restrict plugins available for activation/deactivation

    in reply to: Update to version 4.23 failed #1966
    Vladimir
    Keymaster

    Hi Daniela,

    License key is required to get access to the auto-updates. Without a valid license key update package is not available.

    in reply to: License Key (Pro version) #1965
    Vladimir
    Keymaster

    Hi Daniela,

    URE Pro is fully functional just after installation.
    License key is needed for the access to the auto-updates. You may find it at this page after login.

    in reply to: Automatic Plugin Updates #1960
    Vladimir
    Keymaster

    Hi Urs,

    Version 4.23 is published. Please check your Plugins page and Update center if the information about this update is available.

Viewing 15 posts - 2,161 through 2,175 (of 2,518 total)