WordPress.org

Ready to get started?Download WordPress

Forums

White Label CMS
Welcome screen editor not showing (4 posts)

  1. ssolutions
    Member
    Posted 2 years ago #

    In the latest update of the white label cms plugin, the editor doesnt see the custom welcome screen when they login. Instead of the custom welcome screen, they see their profile settings screen. Even when i disable the profile settings menu for editors.

    In the previous version all worked just fine. Could you fix this ?

    http://wordpress.org/extend/plugins/white-label-cms/

  2. sarahcclose
    Member
    Posted 2 years ago #

    Try this (worked for me):

    Go to your wp-login.php file and find this snippet:

    if ( ( empty( $redirect_to ) || $redirect_to == 'wp-admin/' || $redirect_to == admin_url() ) ) {
    // If the user doesn't belong to a blog, send them to user admin. If the user can't edit posts, send them to their profile.
    if ( is_multisite() && !get_active_blog_for_user($user->ID) && !is_super_admin( $user->ID ) )
    $redirect_to = user_admin_url();
    elseif ( is_multisite() && !$user->has_cap('read') )
    $redirect_to = get_dashboard_url( $user->ID );
    elseif ( !$user->has_cap('edit_posts') )
    $redirect_to = admin_url('profile.php');

    Change the last line to:
    $redirect_to = get_dashboard_url( $user->ID );

    Should work!

  3. johnflufin
    Member
    Posted 2 years ago #

    I agree. This needs to be fixed ASAP.

    Thanks for the workaround, sarahcclose, but, personally, I refuse to edit core WP files. Surely there's a way to fix this in the WLCMS files.

  4. Video User Manuals
    Member
    Plugin Author

    Posted 2 years ago #

    Hi, as mentioned in the other thread, we can't replicate this problem - so if you could help us in what configuration you have the menus hidden etc, we can sort this out.

    Hacking wp-login.php is not the best approach - but works for the time being :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic