Forum Replies Created

Viewing 15 posts - 466 through 480 (of 2,506 total)
  • Author
    Posts
  • in reply to: PHP Warning Message #7069
    Vladimir
    Keymaster

    Hi,

    Replace line 628 with this version:

    
    if ( !empty( $muPluginDir ) ) {
         $cachedResult = ( strpos( $pluginPath, $muPluginDir ) === 0 );                            
    }
    

    I will include this change into the next update of URE Pro.

    in reply to: Restrick backend access on main site of network #7066
    Vladimir
    Keymaster

    Hi,

    >>Can USER A login to SITE B?
    Yes. WordPress multisite has the single users database table. User logins to the network, not to the site of the network. Then WordPress looks, what role(s) user have at the site, which he opens. Every site has own permissions. So user A will not have any permissions at the site B and may get probably ‘You do not have enough permissions’ error message when try to open wp-admin at the site B.

    in reply to: How to keep subsite user permissions #7065
    Vladimir
    Keymaster

    Roles & Capabilities list and user permissions are fully independent between subsites. So problem with access is related to the main site only in the part of the replication roles from the main site. You should get exact copy of permissions you grant to a roles at the main site after replication.

    Try to grant ‘edit_posts’ in addition. Just in case it will help.

    If you turned ‘ON’ the “Activate “Create” capability for posts/pages/custom post types” option at URE’s Settings then you have to grant ‘create_prosforas’ to a role in order it can add new ‘prosfora’.

    Another assumption,
    do you have ‘Activate user access management to editing selected posts, pages, custom post types’ option turned ON at URE’s Settings? If Yes, there a conflict is possible, in case, if ‘posfora’ CPT is defined with own custom user capabilities and developer check some of those capabilities directly in the code, e.g. current_user_can(‘cst_edit_prosforas’).
    In this case URE can not help with redefining CPT capabilities. It works correctly only in case code takes capability to check directly from CPT definition, like
    $cpt->caps['edit_posts'] (just for example) not ‘cst_edit_prosforas’.

    in reply to: Delete capabilities is vanished from the menu #7064
    Vladimir
    Keymaster

    URE shows “Delete Capability” button only if there are capabilities available for deletion – not assigned to any role, except ‘administrator’ one.
    So, review your roles, revoke unneeded capabilities from them. “Delete Capabilities” button will become available again.

    in reply to: How to keep subsite user permissions #7061
    Vladimir
    Keymaster

    Yes, I confirm the result of your experiment.

    How to sync user roles between all the sites of a mulitisite WordPress

    in reply to: Restrick backend access on main site of network #7057
    Vladimir
    Keymaster

    Hi,

    WordPress multisite grants access to users on the per site basis. Every subsite has its own user roles list and stores separately which roles are granted to which user.
    Thus, user A will not have ‘Business Manager’ role access at the subsite B until you directly grant him “Business Manager” role at the subsite B.

    in reply to: Restrict the list of parent pages #7055
    Vladimir
    Keymaster

    Yes,
    just replace array elements with your own data. If you have pages with ID: 3, 15, 7, then code line will be:

    
    $args[‘include’] = array(3, 15, 7);
    

    Yes, input parent page(s) ID to the correspondent input field at user profile or for a role. URE Pro will extract and add to restrictions all linked child pages ID automatically.

    in reply to: Prevent User from seeing posts from other users #7052
    Vladimir
    Keymaster

    Hi,

    Content view restrictions are about the front-end. In order to restrict the list of posts visible to a user at the back-end Posts lists, use edit restrictions “Own data only” option.

    in reply to: Editor role and moderating comments #7048
    Vladimir
    Keymaster

    Hi,

    The key permission for the comments moderation is “if user can edit a post, to which a comment was sent”: edit_posts, edit_published_posts, edit_others_posts.
    ‘moderate_comments’ is not about that. More information is here.

    I don’t have a solution, how to prevent editors or even authors from comments moderation.

    in reply to: Display users by role #7046
    Vladimir
    Keymaster

    Hi,

    Excellent!

    in reply to: Stop authors editing pending posts #7042
    Vladimir
    Keymaster

    Hi,

    There is no special capability for this purpose. It’s normal for WordPress – allow to post author to edit his pending post while it’s not published by reviewer.

    Vladimir
    Keymaster

    No. Where did you sent them?

    Vladimir
    Keymaster

    Hi,

    Do you use bbPress to manage forum?
    Is your membership plugin available at the wordpress.org/plugins? Send direct link to it.

    in reply to: Delete all plugin data #7031
    Vladimir
    Keymaster

    Hi Sunny,

    Use WordPress built-in ‘Delete’ link under deactivated URE Pro plugin. It should delete all its records from the database automatically: plugin settings and additional modules data.

    Only changes made to user roles and user permissions will stay even after URE full deletion, be cause of all such changes were made directly in WordPress internal data structures.

    Vladimir
    Keymaster

    Hi,

    You can use “Meta boxes access” add-on. Block “Yoast SEO” meta box for role “Artisan” using it.

Viewing 15 posts - 466 through 480 (of 2,506 total)