Forum Replies Created

Viewing 15 posts - 451 through 465 (of 2,506 total)
  • Author
    Posts
  • in reply to: php issue – frequent error 500 #7118
    Vladimir
    Keymaster

    Hi Olivia,

    Does this error occur only in relation of the URE Pro settings page? Are there similar records related to other plugins?
    If such records are generated only from URE’s settings page, can you look at the MySQL server log ( probably /var/log/mysql/error.log ) and find what SQL query leads to the timeout in execution?
    URE reads its settings from and writes to wp_options db table and it should not take much time generally.

    in reply to: Search Pages not working for custom roles #7116
    Vladimir
    Keymaster

    I assume a conflict with some plugin. If it’s possible to look at this on your site send admin credentials and testing role name to support [at-sign] role-editor.com

    in reply to: Search Pages not working for custom roles #7112
    Vladimir
    Keymaster

    Hi,

    Do you use “Admin menu access” add-on with “Block not selected” option? If Yes, read carefully the “Technical details” part of the documentation article.

    Vladimir
    Keymaster

    URE does not know about Learndash groups.
    Learndash courses is the custom post type. URE’s edit restrictions add-on allows to limit user by editing only his data. You can use this option in case you change course’s author to the selected user.
    Other option is to limit edit access inserting post (course) ID list to his user profile.

    in reply to: Give Access for Better Docs plugin to a user. #7108
    Vladimir
    Keymaster

    With BD Pro look at its settings. It has an option to select which role what to do.

    in reply to: restrict/hide Gutenberg blocks by role #7104
    Vladimir
    Keymaster

    Hi David!

    Thank you for the detailed explanation. I plan to work in this feature.

    in reply to: Give Access for Better Docs plugin to a user. #7103
    Vladimir
    Keymaster

    Better Docs (BD) protects its admin menu items using this user capabilities by default:
    BetterDocs – edit_posts
    All Docs – edit_posts
    Add New – edit_posts
    Categories – delete_others_posts
    Tags – delete_others_posts
    Quick Setup – delete_users
    Settings – administrator

    It’s possible to replace the default capabilities using custom filters. Look below which filters BD plugin uses for this purpose:

    
    $betterdocs_articles_caps = apply_filters( 'betterdocs_articles_caps', 'edit_posts', 'article_roles' );
    		$betterdocs_terms_caps = apply_filters( 'betterdocs_terms_caps', 'delete_others_posts', 'article_roles' );
    		$betterdocs_settings_caps = apply_filters( 'betterdocs_settings_caps', 'administrator', 'settings_roles' );
    
    in reply to: unfiltered_html not working #7099
    Vladimir
    Keymaster

    ‘unfiltered_html’ capability is located at the ‘Deprecated’ group when you under WP multisite. Turn ON ‘Show deprecated capabilities’ option at the top of ‘Users->User Role Editor’ page in order to see ‘Deprecated’ capabilities.

    in reply to: unfiltered_html not working #7096
    Vladimir
    Keymaster

    Hi,

    ‘unfiltered_html’ is deprecated (do not allowed) for WP multisite by default. You can turn ON the ‘Enable “unfiltered_html” capability’ option at the ‘Network admin->Settings->User Role Editor->Multisite’ if you wish to use it the same way as for WordPress single site.

    Vladimir
    Keymaster

    Hi,

    In general Content view restrictions add-on may help. It requires although that user with ‘ure_view_posts_access’ capability and permission to edit all those posts set manually, which roles are allowed to their content.

    Take into account that, if user can edit the post, he automatically can view it.

    You can not set view permission to the full post type at once currently. I think that it would enhance content view restrictions add-on usability and plan to add it to one of the future versions.

    Vladimir
    Keymaster

    Fortunately ‘buddypress-member-types-pro’ plugin does not show it’s ‘Select member type’ drop-down list in case member types list is empty. So we can use this to hide it:

    
    add_filter( 'bp_get_member_types', 'remove_bpmtp_select_member_type', 100 );
    
    function remove_bpmtp_select_member_type( $types ) {
        $user = wp_get_current_user();
        if ( is_array($user->roles ) && in_array('users_administrator', $user->roles ) ) {
            $types = array();
        }
        
        return $types;
    }
    

    Just replace ‘users_administrator’ at the code above with your own role ID and place this code to your active theme functions.php file or set it as a Must Use plugin.

    in reply to: TotalCache access management. #7080
    Vladimir
    Keymaster

    Admin menu access add-on included to URE Pro blocks URLs linked to the blocked menu items, not simply hides them.

    It’s not possible to achieve via granting/revoking user capabilities, what free version allows.
    Finally all changes/extensions which Pro version brings to WordPress are realized with usage of some filters and actions.

    You may use the code described here as a starting point.

    in reply to: TotalCache access management. #7078
    Vladimir
    Keymaster

    I see only one way, how you can use URE Pro to resolve this task – try the “Admin menu access” add-on.

    W3 Total Cache plugin protects all its admin menu items with ‘manage_options’ user capability. So you can grant ‘manage_options’ to a role and block all unneeded menu items selecting related checkboxes. I recommend to start from the “Block Selected” model, as ‘Block not selected’ will require more complex tuning.

    For W3TC leave unselected(unchecked) only ‘Perfomance’ and ‘Dashboard’ menu items. This will leave to a role access to the dashboard page where different clear cache buttons will be available. URE Pro will block access to all other (selected) menu items and linked URLs.

    in reply to: Compare roles feature #7077
    Vladimir
    Keymaster

    Good point! Thanks for the suggestion. I will include it to the development plan for the next month.

    Vladimir
    Keymaster

    Thanks for letting me know. Your post was automatically got status ‘Pending’ due to 3 links inside and I missed it. I published it now.

    I need access to the membership plugin to look how to hide its “Select member type” drop-down menu. Is your membership plugin available at the wordpress.org/plugins? Send to support[at-sign]role-edito.com a direct link to it (at wordpress.org or to your own copy via DropBox or similar sevice).

Viewing 15 posts - 451 through 465 (of 2,506 total)