Forum Replies Created

Viewing 15 posts - 1,351 through 1,365 (of 2,529 total)
  • Author
    Posts
  • Vladimir
    Keymaster

    Hi,

    Thanks for letting me know that you found a solution.
    Just in case it will be helpful, URE Pro offers a custom filter ure_edit_posts_access_id_list. You can get a list of posts ID (comma separated string) allowed/prohibited for editing to current user via this hook.

    Access restriction type (allow/block) is available via filter ure_edit_posts_access_restriction_type.

    in reply to: Conflict with Divi, can't edit pages #4422
    Vladimir
    Keymaster

    Hi,

    My test showed that Divi Role Editor shows only roles which has ‘edit_posts’ capability. Try to add it to your role and check if it will become visible at Divi Role Editor after that.

    in reply to: Prohibit hides all posts, disregards IDs #4420
    Vladimir
    Keymaster

    We need to take into account also that, when we prohibit some posts by terms ID, posts without term are still available.

    in reply to: Prohibit hides all posts, disregards IDs #4419
    Vladimir
    Keymaster

    Just some information about post number counting accuracy.
    “Division Access” taxonomy is used not by posts only. It is used by events also. So numbers ‘Posts->Division Access’ by categories do not show post number by this taxonomy terms, but some general number which includes events and posts together.

    Vladimir
    Keymaster

    Thanks for the additional details. I meet a such issue the 1st time.
    Is it possible to look at your site with ‘administrator’ privileges? If ‘Yes’, send login credentials to support [at-sign] role-editor.com

    in reply to: Prohibit hides all posts, disregards IDs #4416
    Vladimir
    Keymaster

    I meant under “All” one of the links to the posts list views: “All, Mine, Published, Drafts”.

    Unfortunately I can not repeat the main issue from your report – empty posts list.
    Can you check system logs at your stage copy for any PHP/MySQL errors which could be related to this issue?

    in reply to: Prohibit hides all posts, disregards IDs #4414
    Vladimir
    Keymaster

    Excuse me for such a delay with answer.

    My test shows that ‘All’ posts list is empty for user with ‘ECD Curator’ role just in one case when there special constant for WP Engine is not defined:
    define(‘WPE_GOVERNOR’, false);

    You have it in a provided files copy. I just suppose that you met a problem with another (possibly stage) copy, do you?

    I will continue with numbers count tests.

    Vladimir
    Keymaster

    User Role Editor (URE) does not set any restrictions for administrator role.
    Check if URE deactivation will help to understand that problem is related exactly to URE.

    Vladimir
    Keymaster

    Hi,

    Do those users has a custom role with administrator privileges or do you write about about users with ‘administrator’ role?

    Do you use Edit restrictions add-on? If ‘Yes’, try to deactivate it. Will it help? If Yes, activate this add-on back and re-check if role(s) granted to user is restricted by add-on or user itself has restricted access to posts editing.

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

    Hi,

    This more sophisticated way requires more coding. May be I will write such add-on with time.

    There is a plugin Revisionize which makes this. I did not tested it though.

    in reply to: Screen Options #4401
    Vladimir
    Keymaster

    Hi James,

    “Hide Screen Options by user roles” feature is still in plans.
    Thanks for the good feedback.

    in reply to: Prohibit hides all posts, disregards IDs #4398
    Vladimir
    Keymaster

    Thanks. I got it. I will try to isolate the issue.

    in reply to: insert a link on other content of the site #4397
    Vladimir
    Keymaster

    Hi,

    I tested a restricted user with WP built-in posts. Search function at the “Insert Link” window works as expected and showed a post, while it’s prohibited for editing, that is unavailable for this user at the main posts list.

    Check if there are any JavaScript errors at the browser console.

    in reply to: Prohibit hides all posts, disregards IDs #4394
    Vladimir
    Keymaster

    Hi Sarah,

    Can you share with me (support [at-site] role-editor.com) via DropBox or similar a copy of site files (without wp-uploads) and exported database (possibly without wp_users table)?

    I will investigate your report using your own data then.

    Vladimir
    Keymaster

    ‘ure_restrict_edit_post_type’ filter influences to the whole post type (restrict it or do not restrict), not on the current post only. So condition

    
    has_term( 'finance-resources', 'department' )
    

    is not applicable here.

    What if to use another blocking model, that is ‘Block’ instead of ‘Allow’. Then URE will hide blocked terms, but any other will still be available.
    For example you have categories: 1, 3, 8, 9, 15 and a lot of terms from other taxonomies. You wish to allow to edit just category 3 from the “Categories” taxonomy. Then select “Block” and input into categories ID list field: 1, 8, 9, 15. It should give you a need effect.

    I will add a custom filter for terms ID list into the next version. So it will be possible to set the list of prohibited posts by program not manually, which will provide a possibility of a more universal solution.

    Manage restrictions directly for the different taxonomies available for the same post type seems a complex task, due to data structure used by WordPress. I suppose also that this feature is not in a high-demand category.

    There is a ‘ure_edit_posts_access_id_list’ custom filter which allows to set posts ID list to allow or block for editing.
    So you can scan posts list for current user role and built a posts-list by your own checking any terms and taxonomies for the single post from a list of available posts.

    It’s possible to set a restriction type via custom filter too. For example:

    
    add_filter('ure_edit_posts_access_restriction_type', 'ure_edit_posts_access_set_restriction_type');
    
    function ure_edit_posts_access_set_restriction_type($restriction_type) {
     
        $restriction_type = 2; // Block 
        
        return $restriction_type;
    }
    
Viewing 15 posts - 1,351 through 1,365 (of 2,529 total)