Forum Replies Created

Viewing 15 posts - 301 through 315 (of 2,514 total)
  • Author
    Posts
  • in reply to: Allow access to WP user manager #7624
    Vladimir
    Keymaster

    Hi,

    All menu items added by this plugin are protected by ‘manage_options’ user capability.
    It’s possible to replace it via custom filter 'wpum_admin_pages_capability'.

    in reply to: Duplicate product – shop manager #7618
    Vladimir
    Keymaster

    Hi ataeipour,

    You can add such code to the functions.php file of your active theme.

    Vladimir
    Keymaster

    Hi Till,

    There is no such ‘read’ capability for the custom post types. You can restrict view for th selected posts using “Posts view access” add-on.

    in reply to: Affiliate Program #7612
    Vladimir
    Keymaster

    No, we don’t offer any affiliate program.

    in reply to: Hide certain CF7 forms via PostID #7605
    Vladimir
    Keymaster

    Current URE Pro version does not support edit restrictions for CF7 plugin.

    CF7 uses custom UI page to show forms list. URE Pro simply does not apply edit restrictions for the page ‘admin.php?page=wpcf7’.

    More, CF7 uses meta capabilities:

    
    	$meta_caps = array(
    		'wpcf7_edit_contact_form' => WPCF7_ADMIN_READ_WRITE_CAPABILITY,
    		'wpcf7_edit_contact_forms' => WPCF7_ADMIN_READ_WRITE_CAPABILITY,
    		'wpcf7_read_contact_form' => WPCF7_ADMIN_READ_CAPABILITY,
    		'wpcf7_read_contact_forms' => WPCF7_ADMIN_READ_CAPABILITY,
    		'wpcf7_delete_contact_form' => WPCF7_ADMIN_READ_WRITE_CAPABILITY,
    		'wpcf7_delete_contact_forms' => WPCF7_ADMIN_READ_WRITE_CAPABILITY,
    		'wpcf7_manage_integration' => 'manage_options',
    		'wpcf7_submit' => 'read',
    	);
    

    And while really it needs to check ‘publish_pages’ instead of ‘wpcf7_edit_contact_forms’, WordPress function ‘user_can’ used by URE Pro check directly ‘wpcf7_edit_contact_forms’. So solutions is not so easy. I will try to search workaround.

    Vladimir
    Keymaster

    Hi Jon,

    Try the beta version 4.60.b1. It’s available after login from the same “Download” page.

    Vladimir
    Keymaster

    You can place images to some external resource and send here the links. Or send screenshots directly to support [at-sign] role-editor.com

    Vladimir
    Keymaster

    Hi,

    Starting from version 4.59.2 URE

    * Update: Option “Force custom post types to use their own capabilities” replaces default capabilities for the custom taxonomies also.
    It takes the slug of the 1st post type associated with such taxonomy (e.g. ‘video’) and builds own capabilities this way: manage_terms->manage_video_terms, edit_terms->edit_video_terms, delete_terms->delete_video_terms, assign_terms->assign_video_terms.

    So search between custom capabilities similar to the named above, but with your custom post type inside and grant them to your role.

    Vladimir
    Keymaster

    Hi Jon,

    I will publish the updated version this month.

    Vladimir
    Keymaster

    Hi Jon,

    There is no such hook currently. You can just comment the line, which initiates the related code:
    wp-content/plugins/user-role-editor-pro/pro/includes/classes/user-role-editor-pro.php, line # 35 ( // $this->init_updater(); ) :

    
        protected function __construct() {
            $this->lib = URE_Lib_Pro::get_instance('user_role_editor');
            
            add_action('ure_on_activation', array($this, 'execute_once'));
            parent::__construct();                                        
    
            add_action('plugins_loaded', array($this, 'load_addons'));                        
            $this->allow_unfiltered_html(); 
            
    //        $this->init_updater();
                    
        }
        // end of __construct()
    
    in reply to: Need help hiding a section. #7589
    Vladimir
    Keymaster

    Did you try the “Admin menu blocking” add-on?

    in reply to: Woocommerce Customer #7585
    Vladimir
    Keymaster

    Hi Dave,

    This is the WooCommerce code which creates the ‘customer’ role:

    
    		// Customer role.
    		add_role(
    			'customer',
    			'Customer',
    			array(
    				'read' => true,
    			)
    		);
    

    As you see it contains the single ‘read’ user capability. Does your copy contains the same ‘read’ capability?

    A possible problem would be related to other plugin or theme code and/or options which prevents login with role different than the ‘customer’. Try to deactivate all plugins and activate WordPress default 2021 theme. Will it change this? If Yes, then you can isolate a source of the problem activating plugins back one by one with a new login test.

    Vladimir
    Keymaster

    I suppose it was a temporal networking issue. If you try to open this URL in a browser you will get the valid JSON data in response.

    Vladimir
    Keymaster

    Hi Jon,

    I reproduced the bug. Thanks for this report. I will work on the fix to include into the next update.

    in reply to: impact on USP Pro (Frontend Posting) #7577
    Vladimir
    Keymaster

    Check URE Pro settings, Add-ons tab:
    if “Activate “Create” capability for posts/pages/custom post types” option is turned ON.
    If Yes, then you have to grant to your role the ‘create_%’, capability for “USP Forms” custom post type. ‘%’ here is the custom post type ID.
    “Add New” menu item is not available without ‘create_%’ capability if mentioned option is turned ON.

Viewing 15 posts - 301 through 315 (of 2,514 total)