Forum Replies Created

Viewing 15 posts - 2,236 through 2,250 (of 2,518 total)
  • Author
    Posts
  • Vladimir
    Keymaster

    Yes, replace ‘mynewrole’ with your own role name, for which you wish to setup the restriction.

    Vladimir
    Keymaster

    Hi,

    This code removes items from the “Parent” menu at the “Page attributes” meta box of the page editor.

    Do not touch ’10, 2′ values. 10 – is a priority of execution, 2 – is a quant of parameters in use.

    Page ID at the code sample is 47. If you need to remove a list of pages, add IDs as a comma separated list:

    
    $args['exclude'] = array(47, 52, 67);
    

    You may find page ID at the pages list – look post parameter value at the ‘Edit’ link under needed page. For example:

    
    wp-admin/post.php?post=876&action=edit
    

    Page ID is 876 for the link above.

    in reply to: Printable receipt with business address #1783
    Vladimir
    Keymaster

    Thanks for the feedback and suggestion.
    While web-site invoice is not printable, send your company name, address, VAT Number (if needed) to [email protected] email. I will send you an invoice in PDF format then.

    in reply to: How to display renamed roles in get_users() loop #1780
    Vladimir
    Keymaster

    Hi,

    replace

    
    $thisUserPermissions =  $role;
    

    with

    
    $thisUserPermissions =  $name;
    

    As user may have multiple roles assigned, it will be more universal to concatenate role names comma separated.

    in reply to: Global Roles and Capabilities setting #1777
    Vladimir
    Keymaster

    Thanks, Armin, for your feedback, suggestions and constructive critique.
    I agree with you and try to dedicate more time for the detailed documentation of plugin features.

    Vladimir
    Keymaster

    Hi Armin,

    I will add this kind of update as an option. Thanks for the suggestion.

    in reply to: Restrict Page message #1775
    Vladimir
    Keymaster

    Yes, solved. This feature was included into the version 4.19.

    Vladimir
    Keymaster

    Hi Armin,

    Yes, it may help. Thanks.

    in reply to: Global Roles and Capabilities setting #1767
    Vladimir
    Keymaster

    Thanks. Your suggestions are clear and helpful. I will include this work into my development plan. I will inform you as 1st update related to this functionality will be available.

    in reply to: Global Roles and Capabilities setting #1764
    Vladimir
    Keymaster

    Thanks for sharing this.

    It’s a good point to start with.
    Let’s imaging we have the ‘Roles’ menu under Network Admin, which lists all existing roles in alphabetical order. And what’s further? This needs to be discussed.
    Users under Network Admin is about add/remove a user to the subsite. There is nothing about user rights at that subsite here, because user may have different roles and capabilities at every subsite.

    We may list roles similar Users list, that is to show the list of roles with sublist (at every role row) of subsites at which this role exists.
    But:
    1) if you wish to edit this role, physically it has a separate data set at every subsite. So the link ‘Edit’ under the role does not have sense in this mode. We need ‘edit’ link for every subsite.
    2) There are the multisite networks with very large quant of subsites (thousands). So the listing of this kind is unusable for the large networks.

    2nd (preferable) way to show this information – list all existing roles from all existing subsites as a separate rows with these required columns: role name, subsite. So you may quickly filter out needed role. There will be the ‘Edit’ link to open the selected role of selected subsite, ‘Delete’ link.
    What’s additional (including network related) functionality may be needed/available here?

    As about current model of work with roles under network admin, it’s appeared not at the empty place. A lot of multisite network owners wish to have the same roles set at every subsite. So this is a way to synchronize changes from the main site to the whole network.
    I’m ready to include more details to the confirmation message linked to the ‘Network Update’ button. Do you have your variant of such message?

    Vladimir
    Keymaster

    Hi Wolfgang,

    You may always get information about capabilities in use opening “Admin menu” window for the “Administrator” role. Menu items under “Appearance” menu are protected with ‘edit_theme_options’.
    Add ‘edit_theme_options’ to your role, update it. Then open “Admin menu” for this role and block unneeded menu items for it.

    in reply to: upgrading from 4.19.2.b3 to 4.20? #1758
    Vladimir
    Keymaster

    Hi Diana,

    Sure, this functionality is included to the version 4.20.

    in reply to: bulk change user access to posts and pages #1754
    Vladimir
    Keymaster

    Hi Conrad,

    What kind of the access restrictions do you need to set: for view or for editing?
    For edit access there is a bulk action ‘Edit access’ at the ‘Posts’ list page. After selecting it and click ‘Apply’ you will see popup dialog window where you may input posts and/or users ID list to apply those restrictions for.

    View access for the role allows to input posts ID list too.

    Vladimir
    Keymaster

    Hi,

    This filter is useful only if you restricted the list of pages available to the user for the editing.

    Check if user really has ‘Staff’ role. Try to deactivate all other plugins and test.

    Vladimir
    Keymaster

    If you have ‘Activate “Create” capability for posts/pages/custom post types’ option active at ‘Settings->User Role Editor’, role should have capability ‘create_shop_coupons’ to see missing “Add Coupon” button.
    I confirm the bug – User Role Editor did not added such capability automatically. I will prepare the fix.
    Quick turnaround – add ‘create_shop_coupons’ capability manually.

Viewing 15 posts - 2,236 through 2,250 (of 2,518 total)