Forum Replies Created

Viewing 15 posts - 796 through 810 (of 2,518 total)
  • Author
    Posts
  • in reply to: Permission to view user profile custom fields #5854
    Vladimir
    Keymaster

    “User Registration” plugin shows extra fields at back-end user profile only to a user with ‘manage_options’ capability:

    
    public function show_user_extra_fields( $user ) {
    	if ( ! current_user_can( 'manage_options' ) ) {
    		return;
    	}
    
    	$show_fields = $this->get_user_meta_by_form_fields( $user->ID );
    ...
    
    in reply to: Hide Add Page Link? #5852
    Vladimir
    Keymaster

    Hi,

    WordPress by default uses the same ‘edit_pages’ capability for both “edit” and “add new” buttons. In order to change this go to “Settings->User Role Editor->Additional Modules” tab and turn on the “Activate “Create” capability for posts/pages/custom post types” option. URE will reconfigure WordPress to use ‘create_pages’ for ‘add new’ button as a result.

    Take into account that URE automatically grants ‘create_posts’ and ‘create_pages’ capabilities to the ‘administrator’ role only. You may need to re-check your roles (contributor, author, editor and others) to ensure users don’t lose ‘add new’ functionality where they should have it.

    in reply to: Add additional role to multisite users #5842
    Vladimir
    Keymaster

    Hi,

    May be this code will give a starting point:

    
    if (is_multisite()) {
        add_action( 'wpmu_activate_user', 'add_secondary_role', 10, 1 );
    } else {
        add_action( 'user_register', 'add_secondary_role', 10, 1 );
    }
    
     
    function add_secondary_role( $user_id ) {
     
        $user = get_user_by('id', $user_id);
        $user->add_role('custom_role_id');
     
    }
    

    I will be out of office until July 31st.

    in reply to: Woffice access to forum editing #5841
    Vladimir
    Keymaster

    Got it. Thanks.
    I will proceed with subject investigation from July 31st, when return from a small journey.

    Vladimir
    Keymaster

    Yes, URE works with edit restrictions by term ID exactly this way, as you described.

    Thank you for the suggestion. I will take it into account with one of the future updates.

    in reply to: Page/Post Editor Restrictions #5829
    Vladimir
    Keymaster

    Sure, URE does not restrict access to content for users with ‘administrator’ role, thus, it does not show “Posts/pages edit restrictions” section at such user profile.

    If you need apply edit restrictions for such power user, grant him custom role with less permissions.

    Vladimir
    Keymaster

    Hi,

    Thanks for the good feedback.
    You can use the ure_auto_access_child_pages custom filter to exclude automatic adding off child pages to the list of restricted pages.

    in reply to: Page/Post Editor Restrictions #5824
    Vladimir
    Keymaster

    “Page/Post Editor Restrictions” is shown at user profile only for user who really can edit posts and/or pages. Thus,
    1st, provide for a user edit access to the pages which you plan to allow him to edit.
    2nd, add edit restriction criteria.

    in reply to: Divi Theme Options? #5820
    Vladimir
    Keymaster

    Did you block any post meta boxes for this role? If Yes, try to remove blocking and make another test. If that will help you can play with meta boxes one by one to isolate which meta box blocking causes this JS error.

    in reply to: Divi Theme Options? #5818
    Vladimir
    Keymaster

    My test showed that user with custom role, which includes just ‘edit_posts’, ‘publish_posts’, ‘edit_published_posts’ sees and can use “Use the Divi Builder” button at the back-end post editor page.

    Divi builder uses JavaScript intensively. I suppose that some JavaScript error may take place in the post editor page. Look at the browser JavaScript console for the critical red colored error messages.

    in reply to: Woffice access to forum editing #5817
    Vladimir
    Keymaster

    It seems that Woffice has updated user interface for bbPress with extended functinality. Can get access to its copy for testing? If Yes, share it via DropBox or similar with support [at-sign] role-editor.com

    in reply to: Divi Theme Options? #5814
    Vladimir
    Keymaster

    Upload a .zip to DropBox, Google Drive or similar service and send the link to support [at-sign] role-editor.com

    in reply to: Divi Theme Options? #5812
    Vladimir
    Keymaster

    Re-check if needed option is enabled for a role inside Divi’s internal Role Editor.

    If it will not help, can you share the latest version of Divi?

    in reply to: Woffice access to forum editing #5810
    Vladimir
    Keymaster

    Forum deletion is available via back-end only by default. Forums menu is available at wp-admin to user with ‘bbp_forums_admin’ capability.

    Thus I’m wonder how it’s possible for your participant to create and delete forums. Does your theme add additional controls at front-end related to forum management?

    in reply to: Woffice access to forum editing #5806
    Vladimir
    Keymaster

    Please read more exact answer here.

Viewing 15 posts - 796 through 810 (of 2,518 total)