Support » Fixing WordPress » Can I Disable the ‘Dashboard’ for Subscribers?

  • Resolved low_stress

    (@low_stress)


    Hi,

    I was wondering if there is a way for me to disable the dashboard for newly registered users. I would like for them to be able to update update their profiles, but not be able to see the Dashboard. I this a “ROLE”?

    Also, I am running the “black minimalist” Theme and when a registed user logs on, they get an option in the toolbar called “Site Admin” can I chage this to read “Your Profile” or something of that sort?

    Any help would be greatly appreciated. Because, right now the user going to the dashboard really kills the feel of the website and feels like you are accessing important information.

    -Alex

Viewing 11 replies - 1 through 11 (of 11 total)
  • Log out as admin, then check to see what a not logged in person sees – it’s totally different from what you’re seeing. And make a test “subscriber”, then log in to see what that test persona will see.

    I made a test subscriber.
    They have access to the dashboard.

    Take a look.
    http://www.zulurose.com/wordpress/

    User : Low_stress
    Pass : 947997b

    I only really want then to have access to the Profile editor.

    They really only can see the Dashboard… and the only live link is Profile.

    There might be a solution, of course. Search for login redirect. It has been requested several times to have low level users (subscribers) redirected to the blog main (front) index. If you find the solution for that, you can probably use the same technique to redirect them to the Profile page.

    Another option is to hack the dashboard page and make it show something else than the default dashboard. I’ve used that page to give instructions about how to post entries. 🙂

    Hah, vavroom… that’s a clever idea! Especially, if you have technically challenged users 🙂

    Hey guys thanks for your help.
    Ultimately, if I could just disable the dashboard that would be great. As I don’t use it anyway.

    I tried the redirct in wp-login.php. So now a new user will get redirected to index.php. That is an interesting solution but not quite the fix I need. because…

    1) My theme (a K2 Hack) creates a button called ‘Site Admin.’ Could I change that to read ‘Profile’ and then direct the user to the Profile?

    2) The Dashboard is still active and not very attractive, and could still be reached from the wp-admin/profile.php page.

    Wow. I just hacked the back end of the site.
    Basically, I had to just cut out all the Word Press ZIETGIEST stuff in the wp-admin/index.php.

    Then I just custumized that page to match the rest of my site and put a link and some text to forward the user back to the home page.

    Thanks.

    Final Note regard
    1) My theme (a K2 Hack) creates a button called ‘Site Admin.’ Could I change that to read ‘Profile’ and then direct the user to the Profile?

    That particular label is contained in a file called,
    template-functions-general.php

    The code looks like this.
    if ( ! is_user_logged_in() ) {
    if ( get_settings(‘users_can_register’) )
    $link = $before . ‘‘ . __(‘Register’) . ‘‘ . $after;
    else
    $link = ”;
    } else {
    $link = $before . ‘‘ . __(‘Site Admin’) . ‘‘ . $after;
    }

    case ‘login’ :
    default:

    $user_login = ”;
    $user_pass = ”;
    $using_cookie = false;
    if ( !isset( $_REQUEST[‘redirect_to’] ) )
    $redirect_to = ‘wp-admin/’;

    This is in the login page code. Just change the ‘wp-admin/’ to ‘/’ and that should work. It’ll just take them back to the index page.

    Keep in mind that this is a core code hack, and will have to be redone after every upgrade.

    Hi

    you can get a plugin here http://www.deepwave.net/articles/hide_dashboard/
    That will do what you require.

    It sends the subscriber after login to the profile page.

    Johan

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Can I Disable the ‘Dashboard’ for Subscribers?’ is closed to new replies.