Forum Replies Created

Viewing 15 posts - 1,576 through 1,590 (of 2,518 total)
  • Author
    Posts
  • in reply to: Can't activate due to Fatal Error #3698
    Vladimir
    Keymaster

    Hi Fred,

    Check that all URE Pro files are copied to the live environment. It seems that some files are missed or have wrong permissions.
    Error message is about class defined at this file: user-role-editor-pro/includes/plugin-update-checker.php

    Compare PHP version also. Your live environment can have an older PHP version.

    in reply to: Allow settings section to editor role #3692
    Vladimir
    Keymaster

    Hi,

    “Settings” menu is protected by ‘manage_options’ user capability.
    ‘manage_options’ is used by other plugins. If that’s needed, you can block menu items unneeded to ‘editor’ role using Admin menu access add-on.

    Vladimir
    Keymaster

    User Role Editor does not offer a redirection option currently. Look at redirection plugins from wordpress.org/plugins repository.
    Thanks for suggestion. As you are not the 1st person who asked about a redirection feature instead of HTTP 404 or simple access error message, I will consider to add it to one of a future updates.

    in reply to: Select Posts Setting is not saved #3688
    Vladimir
    Keymaster

    Hi,

    URE does not restrict its functionality at localhost. I tried and could not repeat an issue. Category ID was saved as expected.

    Pay attention that code expects a digital category ID (e.g. 12), not its character slug (e.g. ‘member-posts’). Go to the Posts->Categories page, take category ID from there and input it as a restriction for a selected role.

    in reply to: Custom Post Types – no available options #3686
    Vladimir
    Keymaster

    This shows that you don’t have custom post types which use user capabilities different from defined by WordPress for posts: edit_posts, etc.

    If you wish to force all existing custom post types to use their own user capabilities, like ‘edit_videos’ for ‘videos’ custom post type, etc., then go to “Settings->User Role Editor->Additional Modules” and turn ON the “Force custom post types to use their own capabilities” checkbox.

    Pay attention then Media Library items will require ‘edit_attachments’, instead of ‘edit_posts’ after that.

    in reply to: Cannot Set up Widget Access Properly #3682
    Vladimir
    Keymaster

    Help me to look at a right part of a JetPack, show screenshot of a widget you write about.
    I don’t use JetPack myself, show let me know if I have to install this widget as some add-on, etc.

    Vladimir
    Keymaster

    Hi Frederick,

    You can use this code to add additional arguments to allowed list for this page:

    
    add_filter('ure_admin_menu_access_allowed_args', 'ure_allow_args_for_oxfam_options', 10, 1);
    
    function ure_allow_args_for_oxfam_options($args) {
    
        $args['admin.php']['oxfam-options'] = array(
            'page',
            'settings-updated'
            );
    
        return $args;
    }
    

    Install it as must use plugin or add to funcitions.php file of active theme.

    in reply to: Okay to use localhost installation for testing? #3678
    Vladimir
    Keymaster

    OK.

    Vladimir
    Keymaster

    Hi,

    There is a special public method, which you can call to check if user can view a post or not:

    URE_Content_View_Restrictions::current_user_can_view($post_id)

    Unfortunately, it works incorrectly for some restriction settings, as discovered recently. I work on a fix. It will be available next week.

    Vladimir
    Keymaster

    Hi,

    Add ‘ure_edit_posts_access’ to your micro-admin role.

    Vladimir
    Keymaster

    Thanks for letting me know.

    Vladimir
    Keymaster

    Hi,

    What permissions do you wish to check: edit or view?

    in reply to: Custom User Edit Page #3669
    Vladimir
    Keymaster

    Hi Shweta,

    I work on the update. “Grant Roles” window will have 2 parts: Primary role and Other roles.
    Custom filter will allow to hide “Primary role” section.

    I suppose to publish the update next week.

    in reply to: Pods Admin and info to activate theme/plugin #3663
    Vladimir
    Keymaster

    Hi,

    If theme use WordPress built-in notices API then its possible to hide such notices for role using this recipe.

    Unfortunately some developers show notification at wp-admin using own code and do not differentiate to whom show those notification but to whom do not show.

    Vladimir
    Keymaster

    Hi Frederick,

    Can you provide me a copy of this oxfam plugin for testing and selection an appropriate solution.
    It’s possible to add its URL argument directly to URE Pro allowed list of URL parameters for this plugin (if this plugin quite popular) or, in other case, just setup custom filter which will add such parameter at your installation. I will show you a code sample then.

Viewing 15 posts - 1,576 through 1,590 (of 2,518 total)