• Resolved debbrancheau

    (@debbrancheau)


    Is there a way to have posts default to “draft” but then automatically “publish” within a minute or so.

    The reason I ask is that I am using a plugin (NextScripts: Social Networks Auto-Poster) to auto post to different social networks like Facebook but that plugin only posts when the post status is changed to “publish”.

    Please help, I want to keep your plugin since it’s so easy to use!

    http://wordpress.org/plugins/wp-rss-multi-importer/

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

    (@amweiss98)

    email me by going to

    http://www.allenweiss.com/contact

    and I might be able to help you on this.

    Allen, I am looking for the exact same thing, will use the link above to see if you figured out how to do this.

    Allen put me on the right track with regards to getting rss multi importer and SNAP to work effectively with each other. I did some research and came up with this solution which I have installed, and can confirm that it works very well.

    My setup.
    I have wp-cron disabled.
    I use proper cron to fire wp-cron every 5 minutes, I use cron to get feeds by using rssmi_feedID option (if you dont know what I am talking about, then you need to read the wp-rss-multi-importer faqs and all documents).

    1. On rss multi importer, set post status to draft.
    2. Install this plugin – http://www.dagondesign.com/articles/scheduled-draft-publish-plugin-for-wordpress/ (They just supply the php code).
    3. I changed one value in the code above (3600 to 60), so that the delay was in minutes and not hours. There is another value in the code (24), this limits the maximum delay minutes to 24, if you want more than 24 minutes you will need to change this value. The reason its limited to 24, is that it used to represent hours. I have not tested this change, you are on your own if you want to try. I’m going to assume that you shouldn’t ask Allen, as this is not his code.
    This plugin moves posts from draft to published, which in turn fires the snap plugin without any issues. I have tested it, works well. I cant however comment on the safety of the code of the dagondesign plugin, it seems fine.

    The only downside I have found is that it seems to mess up the post time, however that doesn’t bother me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default Status of Posts’ is closed to new replies.