WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can I Disable the 'Dashboard' for Subscribers? (12 posts)

  1. low_stress
    Member
    Posted 7 years ago #

    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

  2. vkaryl
    Member
    Posted 7 years ago #

    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.

  3. low_stress
    Member
    Posted 7 years ago #

    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.

  4. moshu
    Member
    Posted 7 years ago #

    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.

  5. vavroom
    Member
    Posted 7 years ago #

    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. :)

  6. moshu
    Member
    Posted 7 years ago #

    Hah, vavroom... that's a clever idea! Especially, if you have technically challenged users :)

  7. low_stress
    Member
    Posted 7 years ago #

    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.

  8. low_stress
    Member
    Posted 7 years ago #

    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.

  9. low_stress
    Member
    Posted 7 years ago #

    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;
    }

  10. mlipovsky
    Member
    Posted 7 years ago #

    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.

  11. vkaryl
    Member
    Posted 7 years ago #

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

  12. Horak
    Member
    Posted 7 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic