BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 8
    maelga on #560

    A really good start!
    Thanks Brajesh 🙂

  • Participant
    Level: Initiated
    Posts: 8
    maelga on #394

    Thanks Brajesh.
    It’s very useful.

  • Participant
    Level: Initiated
    Posts: 8
    maelga on #169

    Hi Brajesh,

    If I understand the plugin’s rationale correctly, there are currently 2 possible workflows (set by the admin in settings):

    1. Users publish posts directly, in which case users lack the possibility to save their posts as draft.

    2. Users can only submit their posts as Draft and then subsequently have to publish them from their post listing/archive on profile. In this case, it takes 2 steps to publish a post and both published and drafts posts appear in the same archive list.

    What I think would make more sense from a users’ perspective is to have both a “Publish” button and a “Save as draft” button, so that user can flexibly choose “where” to submit their post. Consequently, Draft posts and Published posts should not appear on the same archive but under a subnav tab like: Published post / Drafts / Create new post.

    I believe the above is more of a standard for a generic post publishing plugin than the current 2 workflow options.

    Let me know if I missed something.
    Cheers

  • Participant
    Level: Initiated
    Posts: 8
    maelga on #138

    Thanks Brajesh.

    I noticed another issue with CPT: I do not get the Edit link at the bottom of posts.
    Even for the admin. There is only Unpublish or Delete. No Edit.

    In Buddyblog settings I have set all 3 user capabilities To Yes: unpublish, edit, delete.
    But Edit still does not show up.

    Any idea what goes wrong?

  • Participant
    Level: Initiated
    Posts: 8
    maelga on #131

    Logged in as testuser (Subscriber role), not admin.

  • Participant
    Level: Initiated
    Posts: 8
    maelga on #121

    Thanks for your fast reply Brajesh.

    My scenario requiring review is as follows:
    1. Users (Contributor role) can create new posts from their profile in front-end. Upon clicking Submit, posts are saved as Pending.
    2. Editors then review posts in backend and publish them.

    Not sure I fully get how posts transition from draft to published currently. If posts are submitted as draft, how do users can edit them later and then publish them?

  • Participant
    Level: Initiated
    Posts: 8
    maelga on #119

    1. Fantastic! Looking forward to it.

    2. WP features a number of other post statuses besides Posted and Draft (see https://codex.wordpress.org/Post_Status).
    The Pending status is really useful for workflows that require an Editor to review and publish a post/article, i.e. an author is only a contributor and does not have the publish_posts capability like an Editor.
    In buddyblog/admin/admin.php, I have added it as follows and it does the magic:
    $post_statuses = array(
    ‘publish’ => __( ‘Published’, ‘buddyblog’ ),
    ‘draft’ => __( ‘Draft’, ‘buddyblog’ ),
    ‘pending’ => __( ‘Pending review’, ‘buddyblog’ )
    );
    Now I would like to have the subnav with Published/Drafts/Pending and New for authors to be able to see the list of their posts based on the post status, ie. back to point 1 above.

  • Participant
    Level: Initiated
    Posts: 8
    maelga on #117

    I should probably have posted in Request & Feedback. Sorry for this.

    Creating a sub-forum for each plugin could also help us I think.

    Oh and also: it seems the search bar does not return any results. Something worth checking.