• I have what is probably a unique situation. We want our members and board members to be able to submit posts via email. That part the plug-in definitely allows. THANK YOU.

    Now the odd part is our Board Members who all have posting rights, we would like to have their posts set to Pending as well. This is so that we can all submit articles and that myself (webmaster) and the VP of Communications can activate articles periodically. Primarily at the time that our newsletter goes out which will, thanks to another plugin, contain these articles.

    http://wordpress.org/plugins/post-by-email/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kat Hagan

    (@codebykat)

    Hi!

    There’s a feature on the list for the next version that would allow you to set all incoming messages as drafts, regardless of whether the author has posting rights. Would that solve your problem, or do you need more detailed access controls? If you need something more complex, what would that look like?

    https://github.com/codebykat/wp-post-by-email/issues/9

    Hi Kat. Very useful plugin tagging posts to author by submitting email.

    I too am needing the feature to allow these parsed posts to be loaded as Drafts, not actually posted automatically. Is this feature still scheduled?

    Thank you for your work.

    http://wordpress.org/plugins/post-by-email/

    Hello. I just adjusted the plugin so that it would work for me. Bear in mind that I’m not a programmer at all.

    I opened the following file: /post-by-email/class-post-by-email.php

    Then I searched for “$post_status”…which shows you the following line:

    $post_status = ( $user->has_cap( 'publish_posts' ) ) ? ‘publish’ : 'pending';

    I replaced ‘publish’ with ‘draft’ in that line.

    Result $post_status = ( $user->has_cap( 'publish_posts' ) ) ? ‘draft’ : 'pending';

    I then zipped the full package up. I used FTP to delete the plugin folder:…/wp-content/plugins/post-by-email since attempting to load the plugin on top of previous install / delete gave a “folder already exists” error.

    I loaded my email information and got an error on line 588 of class-post-by-email.php. I took a guess and changed the plugin email settings to IMAP since email accounts on my server tend to give me trouble. I retested and the plugin loaded two test emails as posts ‘pending’ since I sent them from an email address that is not part of a registered user.

    I did not test the PIN security feature as it seems this is not related to the post status.

    ddillard, I imagine that if you made the same changes I did, instead replacing ‘publish’ with ‘pending’ instead of ‘draft’ as I did, that you might find that a solution to your request.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Set all posts as Pending’ is closed to new replies.