WordPress.org

Ready to get started?Download WordPress

Forums

WP User Frontend
[resolved] Pending for members, Published for Contributors (8 posts)

  1. Maximus Saint
    Member
    Posted 1 year ago #

    There's no option under Post Status to immediately publish posts that came from admins or authors. one option works for everybody :(

    I want plane users to publish to Pending, while posts from everybody above Author would go straight to Published.

    ...Pleease? :-)

    http://wordpress.org/extend/plugins/wp-user-frontend/

  2. Maximus Saint
    Member
    Posted 1 year ago #

    is it such a big deal? :-((

  3. Maximus Saint
    Member
    Posted 1 year ago #

    Tareq, i could really use your help man! :'-(

  4. Hekammed
    Member
    Posted 1 year ago #

    Same problem in here.

    I would like to use normal roles for publishing status but I don't know how to disable feature.

  5. Maximus Saint
    Member
    Posted 1 year ago #

    Hekammed, already tried role editing plugin - "Members", doesn't work either.

    furthermore, plane Writers cannot remove their posts because of the WP User FrontEnd :((

  6. Hekammed
    Member
    Posted 1 year ago #

    Problem solved for my purpose at least!

    I edited plugin's file:
    wp-user-frontend/wpuf-add-post.php

    and added small piece of code to check if current user has capability to publish.

    $post_stat = wpuf_get_option( 'post_status' ); //find this row

    //and add this code below to check user's capability and modify $post_stat
    if ( current_user_can( 'publish_posts' ) ) {
    $post_stat = 'publish';
    }

  7. Maximus Saint
    Member
    Posted 1 year ago #

    it works!!! thank you so much Hekammed!

  8. hornets2002
    Member
    Posted 1 year ago #

    Thanks for helping out Hekammed! It seems as if Tareq has given up on support, so I was wondering if you could help me out with my own issue. One of the most important features I use before publishing my post is the preview button. Is there any way I could add this?

    Thanks in advance! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.