WordPress.org

Ready to get started?Download WordPress

Forums

how to remove the dashboard? (or go directly to other page) (37 posts)

  1. leduytien
    Member
    Posted 9 years ago #

    It's annoying that everytime I login, I have to wait for a while for it to load the content of the dashboard (and sometime when WordPress is a little busy, it like waiting forever!). Is there any way to remove the dashboard from the admin interface? Or is there anyway to go directly to the "Write" section after logging in instead of Dashboard?

    The Dashboard in my opinion is not useful because everyone who use WordPress 1.5 will frequently check wordpress.org for new update.

  2. dawg
    Member
    Posted 9 years ago #

    Yeah You just set the link in your login area correctly, for example, I bypass the dashboard for the exact area to manage my templates

    by adding this to my login link {/wp-admin/theme-editor.php} for what you want it would be something like this{/wp-admin/post.php}

  3. noname
    Member
    Posted 9 years ago #

    #/wp-admin/index.php

    comment out line from (87-145) by adding two dashes //

    Before you edit the file, it is strongly advised to keep a backup :)

  4. NuclearMoose
    Member
    Posted 9 years ago #

    "Or is there anyway to go directly to the "Write" section after logging in instead of Dashboard?"

    When you are in your WRITE section, create a bookmark to it and use that bookmark when going in to your site.

  5. leduytien
    Member
    Posted 9 years ago #

    Thanks very much. Now I customized everything in the Dashboard to display what I really need, as a summary page. ^_^

  6. help-me-please
    Member
    Posted 9 years ago #

    Thank you for this. I am already subscribed to WordPress Planet via bloglines so the Dashboard feeds are totally unnecessary for me.

  7. Jagmeister
    Member
    Posted 9 years ago #

    What worked really well for me was editing wp-login.php:

    change line 159 from
    $redirect_to = 'wp-admin/';
    to
    $redirect_to = 'wp-admin/post.php';

  8. cameroon
    Member
    Posted 9 years ago #

    I actually went and wrote a plugin and made two very minor modifications to wp-admin/index.php so that I could enable and disable either of the two feeds.

    I like the concept of the dashboard, but far too often it takes a very long time to load.

    http://cjbehm.dyndns.org/wingingit/dashboard-options/ for the plugin and instructions.

  9. markhale
    Member
    Posted 9 years ago #

    Jagmeister: Thanks for that, you've just saved me a bit of grepping :)

  10. cameroon
    Member
    Posted 9 years ago #

    For those interested, I updated the Dashboard plugin I mentioned above. It can disable the 3rd RSS feed that I didn't see the first time (for Technorati) and allows you to set a custom message to display on the Dashboard.

    http://cjbehm.dyndns.org/wingingit/dashboard-options/ for the plugin and instructions.

  11. drstuey
    Member
    Posted 9 years ago #

    Is it really meant to be the case that if users register and login they see the dashboard? Surely this should be hidden from users?

    Good suggestions above and I have deleted the RSS feeds from the dashboard and made the redirect after login go to the user profile page instead of the dashboard. (Thought about redirecting to the site itself but then there is no way to edit your profile).

    A main problem about letting users see the Dashboard is the Latest Activity box - the links from this go to "you do not have permission" messages!

    Not a good look for prospective users!

    So I would like to remove the Dashboard link from the admin menu, for users (it can stay for admins). How can I do this?

    cheers

  12. drstuey
    Member
    Posted 9 years ago #

    I discovered how to solve this. Edited
    wp-admin/menu.php
    and made line 7 be
    $menu[0] = array(__('Dashboard'), 1, 'index.php');
    instead of
    $menu[0] = array(__('Dashboard'), 0, 'index.php');

    OK so I should have been able to work this out without asking, but then again, the default wordpress setting should not be that users (level 0) can see the Dashboard after they login - it is really confusing for them.

  13. karimtopdraw
    Member
    Posted 9 years ago #

    I have the same problem as drstuey. I have removed the link to the dashboard from the menu, however, if a user of level 0 logs in, they can still get to the dashboard simply by going to the index page of the admin area.

    Is there a hack to redirect the user to the permission denied error message if they simply type in index.php?

  14. elvix
    Member
    Posted 9 years ago #

    easiest way to speed up the dashboard is to comment out the technorati rss line in wp-admin/index.php.

    find line 88 (or so):
    $rss = @fetch_rss('http://feeds.technorati.com/cosmos/rss/ ...

    and comment it out:
    //$rss ...

  15. bensontel2
    Member
    Posted 9 years ago #

    I commented out the feeds. I don't really need that page at all. I am left with latest activity, which doesn't say much to anyone. I would like to change the menu designation from "Dashboard" to "Summary." How would I do that?
    I tried changing the title variable $title = __('Dashboard'); but that is probably the tile of the page. I can't see where the menu item "Dashboard" is.

  16. whooami
    Member
    Posted 9 years ago #

    gah! I have a test user account set up, that is a 0. I made the same edits to menu.php that drstuey did, and this user still has access to the dashboard (www.mysite.com/wp-admin/index.php). Even setting the user level to 5 didnt help. bleh bleh and more bleh.

    Ive solved it by just renaming the file, I never go straight to it anyway.

  17. jowra
    Member
    Posted 9 years ago #

    Interesting thread. Thanks for the infos. =)

    John

  18. cdr
    Member
    Posted 9 years ago #

    I wanted to remove the dashboard completely, and go to the posting page by default. I used a combination of some of the methods above - here's how I did it:

    1) Edited wp-admin/menu.php and changed line 7 to:

    $menu[0] = array(__('Dashboard'), 11, 'index.php');

    ...so nobody has sufficient permission to view the Dashboard menu item. It is permanently removed from the menu.

    2) Edited wp-login.php:

    changed line 159 from

    $redirect_to = 'wp-admin/';
    to
    $redirect_to = 'wp-admin/post.php';

    3) Deleted index.php

    4) Created a new index.php containing just the following:

    <?php
    header('Location: post.php');
    exit;
    ?>

    ...so anyone reaching the admin area via http://mysite.com/wp-admin/ also gets directed straight to the posting page.

    Chris
    }:)

  19. chuyskywalker
    Member
    Posted 9 years ago #

    Catching up to the tail of this issue...

    I've been on this whole "login lag"/"dashboard delay" issue for a while. Bugs the living crap outta me. I see that little timer at the bottom go from "0.029 Seconds" to "18.09 Seconds". Extremely frustrating and annoying.

    So here's a plugin:

    Login Delay Stopgap

    This plugin will hook into the shutdown action to update the three feeds (technorati, WP Dev, and WP Planet) every ten minutes so that when you login it's already cached and ready to go.

    "Oh noes," you say, "but then my users get a 20second load time!" No, actually, because I tie into the "shutdown" hook, the feed update only happens *after* the data is sent to your visitors.

    Also, I set it up so that this plugin runs no more than once every ten minutes (this way, high traffic sites won't worry about their copy of MagPie fetching 3 rss feeds for every single visitor.)

    Source to Login Delay Stopgap

  20. Karel
    Member
    Posted 9 years ago #

    2) Edited wp-login.php:

    changed line 159 from

    $redirect_to = 'wp-admin/';
    to
    $redirect_to = 'wp-admin/post.php';

    Now what happens when a user registers? Doesn't that user also get redirected to post.php (or worse)?

    Regards,

    Karel

  21. SychoSly
    Member
    Posted 9 years ago #

    Would it not be possible to comment out or delete the dashboard line in the menu.php file?

  22. SB
    Member
    Posted 9 years ago #

    WOW thanks, my main concern with this topic is to get rid of the dashboard for Normal Users only. They can care less about development, plus it is only confusing and loosing the whole reason for my art blog. I would love to custom fit it for a user vs. admin purposes for us.

  23. SB
    Member
    Posted 9 years ago #

    The plug in above from cameroon is the BEST solution for this topic, Thanks a million for this as it works real well so far in admin mode, still have not tested the user mode yet...

  24. jeremy
    Member
    Posted 8 years ago #

    This thread was very helpful to me. Big thanks to you all. The only thing I didn't see covered was the fact that "Site Admin" still links directly to the index.php file (Dashbard). You can circumvent this by creating a new index file, as cdr suggested (which is still a good idea), but I found that link inside "template-functions-general.php" in the /wp-includes folder.

    You can just change that link to point to profile.php instead, and that should take care of all references to the index. As a bonus, you can also change the text "Site Admin" to whatever you want. I choose "My Account."

    Again, thanks all!
    Jeremy

  25. The Dashboard in my opinion is not useful because everyone who use WordPress 1.5 will frequently check wordpress.org for new update.

    They will? o_O Dunno about you, but the only time I visit the new site is when a new version is released...

  26. Norway
    Member
    Posted 8 years ago #

    Well, I have to agree that the dashboard is not very useful to most users (the way it is setup now).

    Sure, for us (developers) it is nice to keep up-to-date with WordPress, but 99% of my users know nothing about code, development, etc. and couldn't care less about the latest developments. All they care about is being able to use the site they are on.

    I think it would be nice if there were customizable settings for the dashboard in the options menu for level 10 users, and that one could define who gets access to the dashboard. For me (and probably most), it is enough that only levels 9 and 10 can see it, while others may appreciate giving all users access.

    I think most users are only confused by it as most of the contents there are completely irrelevent to your blog.

    On the other hand, the small box that shows stats for your blog is very nice, but that's almost an afterthought in the dashboard. If the dashboard page was more focused on the specific blog you were on, rather than wordpress.org, I think it would be useful for more people.

  27. memetics
    Member
    Posted 8 years ago #

    Is there a way to remove the dashboard and go directly to write post on wordpress 2.0?

  28. vkaryl
    Member
    Posted 8 years ago #

    Hmm. Well, they're separate requests really. Going directly to write post can be handled a couple of ways: either make yourself a direct link to it from wherever's most convenient for you; or dink about in the core files with the redirect calls.

    As to dashboard: this is the entire wp-admin/index.php for my installs:

    http://pastebin.com/507434 (check it there, it's a bit too long for here)

  29. heyrsmith
    Member
    Posted 8 years ago #

    Hey thanks for that Vkaryl - I was just about to start messing around with mine; yours is a big help!

  30. memetics
    Member
    Posted 8 years ago #

    It does no go directly to the write post. but the content of dashboard is remvoed when i pasted the code in there. is there any other setting i have to do?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.