WordPress.org

Ready to get started?Download WordPress

Forums

Role Scoper
[resolved] Remove meta box post/page edit panel (3 posts)

  1. Janick
    Member
    Posted 2 years ago #

    Hi All,

    I would like to remove some meta boxes in the edit page panel, the below code in functions.php works with other meta boxes but not for the Role scoper meta boxes.

    function remove_post_custom_fields() {
    	remove_meta_box( 'rs_private_page_reader' , 'page' , 'normal' );
    }
    add_action( 'admin_menu' , 'remove_post_custom_fields' );

    I assume RS is overwriting this because of the option "Limited Editing Elements", can I disable this overwrite?

    More information on the problem:
    We have a system with around 700 users, this is causing the administrators to have a slow interface when they are editing pages.
    Because RS loads all the users in the meta boxes on the edit page, besides the server side this requires alot of javascript calculation. This is why I want to disable the meta boxes or disable the loading of all those users.

    Any body an idea where to search?

    Many thanks,
    Janick

    http://wordpress.org/extend/plugins/role-scoper/

  2. kevinB
    Member
    Plugin Author

    Posted 2 years ago #

    The following option is available to disable the excessive user checkboxes:

    Roles > Options > Advanced > Role Assignment Interface > Users CSV Entry

  3. Janick
    Member
    Posted 2 years ago #

    Thank you very much! We can see a significant speed improvement!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic