Forum Replies Created

Viewing 15 posts - 1,486 through 1,500 (of 2,521 total)
  • Author
    Posts
  • in reply to: JQuery/AJAX conflict with Visual Composer #3963
    Vladimir
    Keymaster

    OK. We made a step forward: 3 plugins are involved somehow.

    You can saw at demo video – I activated all available add-ons at URE Settings.
    I activated Custom Post Type UI plugin and re-tested an issue with my own test settings and data of course. There is no JavaScript or AJAX error when I open ‘Post Grid’ element for editing.

    Can you repeat an issue at the site copy with a test database, which you can share? I mean I can download than the files and database data and easy reproduce a problem at my development environment in order to analyse it and offer a solution.

    Vladimir
    Keymaster

    User Role Editor does nothing if you see this error message. URE shows this message in 2 cases:
    1) invalid user ID in the list of users ID to process;
    2) current user can not edit one of the selected users. Look, may be you accidentally select some user with superadmin privileges.

    Look how WordPress checks if user can edit other user under multisite:

    
    // In multisite the user must have manage_network_users caps. If editing a super admin, the user must be a super admin.
    if ( is_multisite() && ( ( ! is_super_admin( $user_id ) && 'edit_user' === $cap && is_super_admin( $args[0] ) ) || ! user_can( $user_id, 'manage_network_users' ) ) ) {
    		$caps[] = 'do_not_allow';
    	} else {
    		$caps[] = 'edit_users'; // edit_user maps to edit_users.
    	}
    

    User should be a superadmin to edit other superadmin, or have ‘manage_network_users’ capability.

    in reply to: How to delete role everywhere, permanently? #3959
    Vladimir
    Keymaster

    If you have the same roles set at all sites, this scenario will work for you:
    – go to Network admin -> Users -> User Role Editor.
    – delete selected role. This action will delete a role from the main site.
    – click “Update Network” button. This will replicate roles list from the main site to all subsites of your network.

    Vladimir
    Keymaster

    Hi André,

    Go to ‘Settings->User Role Editor->Additional Modules’ tab and turn ON this option:
    “Activate “Create” capability for posts/pages/custom post types”.

    User without ‘create_posts’, ‘create_pages’, ‘create_‘ will can not add new items in related CPT after that. Do not forget to add ‘create_%’ capability to the roles, which should be capable to add new items.

    in reply to: Looking for replacement for User Access Control #3951
    Vladimir
    Keymaster

    Hi Tony,

    Tell me more about User Access Control or send to support [at-sign] role-editor.com a download link. What functionality do you wish to replace?

    in reply to: JQuery/AJAX conflict with Visual Composer #3950
    Vladimir
    Keymaster

    I got VC 5.1.1 copy and tested with it. I still can not reproduce an issue. This video shows that I don’t have any JavaScript error at a browser JS console.

    Do you see differences? What I should do to reproduce an issue? Any additional setings for Post Grid element?

    in reply to: JQuery/AJAX conflict with Visual Composer #3947
    Vladimir
    Keymaster

    Can you look at server system log for the more detailed error message related to this 500 error code?

    I tried to repeat an issue with VC v. 5.0 I have on hands, but did not get any errors opening ‘posts grid’ element for editing.
    Can you provide me a copy of VC v. 5.2 (via dropbox or similar)? Use support [at-sign] role-editor.com email address.

    in reply to: Can't revoke access custom post types #3945
    Vladimir
    Keymaster

    It’s not a conflict, it’s a feature.
    When you add edit restrictions, they are applied to all post types by default. Thus, user can see just those 2 pages and do not see any ‘mytestimonial’ items. If user should see all ‘mytestimonial’ posts, then you can exclude ‘mytestimonial’ post type from edit restrictions scope. Use this hook for that – replace ‘post’ in a code sample with ‘mytestimonial’.

    in reply to: Can't revoke access custom post types #3943
    Vladimir
    Keymaster

    My Testimonials empty list – there were posts edit restrictions set at Rowan user profile. User sees all testimonials after I removed those restrictions: posts ID list.

    My Testimonials -> Add New: redirection: URL was blocked for a role at admin menu. It works now.

    Media menu – it was unaccessible for a role as it does not have ‘upload_files’ capability.

    Please re-test now.

    in reply to: Can't revoke access custom post types #3942
    Vladimir
    Keymaster

    Found reset password email messages in a SPAM folder. Got access to your site. Thanks.

    in reply to: Can't revoke access custom post types #3941
    Vladimir
    Keymaster

    I still don’t have access to your site. Tried twice to reset password with ‘support [at-sign] role-editor.com’ and did not get any message from your site.

    Empty testimonials list – check if any edit restrictions was set for Klant role or a user with this role.

    Redirection to dashboard on add new testimonial – do you block some menu items for Klant role with ‘Admin menu’?

    Media – check if related permissions are granted to a role under “Custom Post Types -> Media” group.

    in reply to: Can't revoke access custom post types #3938
    Vladimir
    Keymaster

    To resolve a conflict between 2 plugins which both work with testimonials, rename custom post type at ‘My Testimonials->General Settings’ from ‘testimonial’ to any other, like ‘mytestimonial’. Then grant to ‘administrator’ role all capabilities under ‘Testimonials’ group. You will restore access to a full ‘My Testimonials’ menu this way.

    But as existing testimonials are stored at the database with ‘testimonial’ post type you will not see them at the testimonials list until you replace post type there too. You will need myPhpAdmin or similar SQL tool for this purpose. Execute this command against your database:

    
    update wp_posts set post_type='mytestimonial' where post_type='testimonial';
    

    Do not forget to replace ‘mytestimonial’ to post type ID you selected.

    in reply to: Can't revoke access custom post types #3936
    Vladimir
    Keymaster

    Hi Benny,

    I don’t have admin access to your site as provided user has restricted access again. Is it possible to register a separate user for me until we work on the problems?

    Is it critical for you to have default custom post type ID at “Indeed My Testimonials VC” plugin changed to “testimonial”? I mean that this ID apparently conflicts in some areas with ‘testimonials’ custom post type registered by commercegurus-toolkit plugin.

    Vladimir
    Keymaster

    Hi Shweta,

    Thanks for a suggestion. I will realize it.

    in reply to: Can't revoke access custom post types #3915
    Vladimir
    Keymaster

    Hi Benny,

    WPML: wpml_% capabilities were lost somehow. I added 3 of them. ‘WPML’ menu is available for admin now.

    1st results for ‘My Testimonials’ access. You changed this plugin custom post type to ‘testimonial’ in its Settings.
    Plugin commercegurus-toolkit registers ‘testimonials’ custom post type which conflicts with ‘My Testimonials’ after you turn ON ‘force custom post type to use own capabilities’ in URE.
    So,
    1) If you deactivate ‘commercegurus-toolkit’ plugin you will get back full access to ‘My Testimonials’.
    2) If you turn OFF related option at URE Settings you will get back full access to ‘My Testimonials’ without deactivating ‘commercegurus-toolkit’ plugin.
    For the 1st glance, some mess with custom post types registration takes place here. CPT registered by ‘commercegurus-toolkit’ (Projects, Showcases, Testimonials, Top Reviews, Announcements) are not available in WP admin menu until you switch to other theme, like WP default 2017 one.

Viewing 15 posts - 1,486 through 1,500 (of 2,521 total)