WordPress.org

Ready to get started?Download WordPress

Forums

Posthaste- how it can be enabled for contributer? (10 posts)

  1. Tanmoy
    Member
    Posted 4 years ago #

    I have installed Posthaste. But only i can use it. I have a multiouthor blog and 800+ users are there and i want to hide dashboard from their. I have tried with some plugins like Adminimize and some more. But i am failed, any suggestion?

  2. smajda
    Member
    Posted 4 years ago #

    I've gotten this question several times (for example) and my answer has always been to try one of the role management plugins. I never hear back from anyone after that, so I asume that works, but I'm not sure.

  3. Tanmoy
    Member
    Posted 4 years ago #

    If i use role manager plugin, i have to give author power to the contributer and they can publish their post directly. But i want that contributer submit their post for review.

  4. smajda
    Member
    Posted 4 years ago #

    Ah, I see. If you don't mind modifying the plugin, you can try changing the two instances of current_user_can('publish_posts') to edit_posts instead.

  5. Tanmoy
    Member
    Posted 4 years ago #

    Thnx, i'll try and inform you here.

  6. Tanmoy
    Member
    Posted 4 years ago #

    current_user_can('publish_posts') to edit_posts instead.

    If i do it, Only admin and editor can use that. And i want that all post will be kept pending for review.

    Now i have used:

    if ($_POST['postStatus'] == 'draft') {
                $post_status = 'draft';
            } else {
                $post_status = 'pending';
            }

    So users can submit and all post will be kept pending for review. :)

  7. Tanmoy
    Member
    Posted 4 years ago #

    Hello, Mr. Smajda, can i display posthaste in a page using any code?
    Thanks.

  8. smajda
    Member
    Posted 4 years ago #

    Yes.

  9. smajda
    Member
    Posted 4 years ago #

    On the roles: I believe "edit_posts" should work for contributors, too. See here. If that's not the case, maybe I'm just misreading the roles.

  10. Tanmoy
    Member
    Posted 4 years ago #

    On the roles: I believe "edit_posts" should work for contributors, too. See here. If that's not the case, maybe I'm just misreading the roles.

    Sorry, i have tried but failed.

Topic Closed

This topic has been closed to new replies.

About this Topic