WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Level "Subscriber" must not see the "Scheduled Entries" from the "Dashboard" (4 posts)

  1. sevendotro
    Member
    Posted 7 years ago #

    I don't want that level "Subscriber" can not see what I have in Dashboard > Scheduled Entries. I have many events wayting to appear in first page, in time, so what can I do? How? :)

  2. sevendotro
    Member
    Posted 7 years ago #

    My answer it's here: http://wordpress.org/support/topic/60510?replies=5#post-323801

    This topic is resolved :)

    Have fun!

  3. cewebster
    Member
    Posted 7 years ago #

    FWIW, this is how I changed login redirect and tabs on a K2 hack site. I will have several authors and public commenters will be required to register as subscribers. The login redirect now goes to the main blog page and the admin tab reads "My Profile" and goes to the profile page instead. Novice type users never have to deal with the dashboard, though I can get there if I need to.

    1) Changed line 170 of wp-login.php to

    $redirect_to = 'index.php';

    ((I changed wp-admin to index.php))

    2) Changed line 7 of /wp-admin/menu.php to

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

    ((I changed value from 0 to 20))

    3) Changed line 47 of template-functions-general.php to:

    $link = $before . '' . __('My Profile') . '' . $after;

    ((I changed /wp=admin/ to /wp-admin/profile.php/ and Site Admin to My Profile.))

    This was the simplest approach and worked great for us. The commenters and the other people who write posts at our org can click on “my profile” and go to something familiar that makes sense, without being thrown by landing at the dashboard. I just let people sign up on their own and change the roles of internal people who want to post.

    It’s pretty easy maintenance. WordPress rules.

    If you want to see it in action, go to http://dce.unm.edu/dceblog

  4. cewebster
    Member
    Posted 7 years ago #

    This is what the line looks like that turned into a link in the post above. I converted the expected <> around the "a" tags into ^ so the code would show up instead of the link:

    $link = $before . ' ^a href="' . get_settings('siteurl') . '/wp-admin/profile.php/"^' . __('My Profile') . '^/a^' . $after;

Topic Closed

This topic has been closed to new replies.

About this Topic