Forum Replies Created

Viewing 15 posts - 2,131 through 2,145 (of 2,513 total)
  • Author
    Posts
  • in reply to: Login WordPress Dashboard #2060
    Vladimir
    Keymaster

    Jawad,

    1) Check if there are no any restrictions set for this user at his ‘Edit posts restrictions’ section.

    2) ‘edit_post’, ‘delete_post’ are so called meta capabilities which are mapped by WordPress to the real user capabilities ‘edit_posts’, ‘edit_others_posts’, etc.
    For example you check if user can edit the post. If it’s his post, it’s enough to have ‘edit_posts’. Then if this post is published, it’s needed to have ‘edit_published_posts’.
    That is for 1 ‘edit_post’ meta capability 2 real capabilities are required. In case user is not an author of this post, WordPress will check if user has ‘edit_others_posts’, etc.
    Look at
    wp-includes/capabilities.php map_meta_cap() function for more details.

    There is no need to add meta capabilities directly to the roles by my opinion. But WooCommerce makes this.

    in reply to: Login WordPress Dashboard #2059
    Vladimir
    Keymaster

    About blocking admin notices:

    Remove admin notices

    in reply to: Login WordPress Dashboard #2056
    Vladimir
    Keymaster

    Yes, ‘edit_shop_orders’ is a required one.

    in reply to: Login WordPress Dashboard #2054
    Vladimir
    Keymaster

    1) Admin notices – not so fast. I’m working on the answer currently.

    2) You may turn ON this option ‘Activate “Create” capability for posts/pages/custom post types”. ‘create_posts’, ‘create_pages’, ‘create_products’ capabilities will be appear in the User Role Editor. Add them to the roles which should add posts, pages, products and other registered custom post types. Role without ‘create_products’ capability will can not add new product – just edit the existing one.

    in reply to: Login WordPress Dashboard #2052
    Vladimir
    Keymaster

    Jawad,

    I understood now.
    It’s a products list page. Screen options here are not related to the meta boxes. These options are table columns. It’s not possible to hide them with current version of URE currently. I will look what it’s possible to do with it.

    in reply to: Login WordPress Dashboard #2050
    Vladimir
    Keymaster

    Hi,

    Did you open Meta Boxes after you visited this ‘edit product’ page?

    in reply to: Admin bar display #2048
    Vladimir
    Keymaster

    Hi,

    1st way: Create a copy of instructor role with admin bar not hidden and assign it to this special user instead of ‘instructor’ role.

    2nd way: do not hide admin bar for the instructor role. Create separate empty role with admin bar hidden and add it to the users with instructor role.

    in reply to: Login WordPress Dashboard #2045
    Vladimir
    Keymaster

    Hi Jawad,

    Thanks for the good feedback.

    You may use “Meta boxes access” add-on:

    Block meta boxes for role


    Do not forget “to show available meta boxes” to this add-on 1st – visit ‘Dashboard’ page in order add-on may see what meta boxes are currently available.

    Vladimir
    Keymaster

    Thanks for the information.
    User Role Editor allows to see ‘Administrator’ role in the roles drop-down list under WordPress multisite in 2 cases:
    1) user has ‘manage_network_users’ capability.
    But this gives to a user access to the “Network Admin -> Users”.
    2) ure_supress_administrators_protection filter returns true.
    In this case be careful, as non-admin users with ‘list_users’, ‘edit_users’ capabilities will can to edit users with ‘Administrator’ role and create other users with ‘Administrator’ role. So use this filter just in case you do not plan to have such users at your site.

    Vladimir
    Keymaster

    Does your test user has ‘Administrator’ role at this single site or you assigned him some custom role?

    in reply to: Password email notification #2038
    Vladimir
    Keymaster

    WordPress does not store user password at the database. It stores just a password hash value. So it’s not possible to get user password in its original not encrypted form from the database. You should catch a password value earlier, when you change it.

    in reply to: Excluded Role can still see post in Recent Posts #2036
    Vladimir
    Keymaster

    … An issue was resolved by e-mail.

    in reply to: Password email notification #2035
    Vladimir
    Keymaster

    Hello,

    It’s not too secure to send passwords via e-mail. That’s why WordPress uses reset password technique. Why do not use this feature?
    User inputs his email after click on the ‘reset password’ link at login page (wp-login.php?action=lostpassword) and gets by email a special protected link to a page, where he can input his new password.

    in reply to: Excluded Role can still see post in Recent Posts #2034
    Vladimir
    Keymaster

    Hi André,

    I need that widget to test and look on the source code. Is it a WordPress built-in or a custom one?
    Custom code may use direct SQL query to the database and, thus, ignore any filters URE Pro sets for the posts queries made via WordPress API. Could you provide that plugin or theme?
    Send .zip to the support [at-sign] role-editor.com

    I use code received from clients locally and for research purpose only.

    Vladimir
    Keymaster

    Check if ‘Network Admin->Settings->User Role Editor->Multisite->Allow non super administrators to create, edit, and delete users’ option is turned on.

Viewing 15 posts - 2,131 through 2,145 (of 2,513 total)