It’s tied to a subscription service, so if you can’t figure out what they’re doing from the code let me know, I might be able to give you access to a site where it’s implemented.
I’m able to use wp-discourse with the WordPress scheduled post functionality, so if a plugin is causing a conflict it would be helpful to reach out to that plugin author (especially since you’re paying for a subscription from them).
I’m having this same issue.
Posts that are scheduled (using native WordPress) don’t publish to Discourse automatically. I have to go back once they are published and hit the Update button in order to publish. Any ideas what I could try @benword?
In my development environment scheduled posts are published without any problem. Are there any plugins on your site that deal with scheduling posts?
Edit: I’ve tried this on a live site as well. It’s working, but I noticed a strange behaviour when the ‘Auto Publish’ setting is not enabled. For some reason when a scheduled post is saved the ‘Publish Post to Discourse’ meta-box value is not updated. This means that if a post is scheduled and then later updated, it will loose the ‘Publish post to Discourse’ value. I’ll sort this out right away.
I’ve sorted out the problem I was finding. The Discourse meta-boxes weren’t being updated with their saved values for scheduled posts. I’ll update the plugin early tomorrow. Hopefully this will solve the problem you are having with scheduled posts.
Yes, you would need to update it to get these changes. If the problem you are having is the one I fixed, then you are probably seeing behaviour something like this:
create a post
select ‘Publish post to Discourse’
schedule the post
click ‘Publish’
the ‘Publish post to Discourse’ checkbox becomes unchecked
if you’ve set the publish category to one other than your default category, the category will revert to the default category
If, at this point, you don’t update the post again, it will be published to Discourse with the values that you initially set. If you do update the post before it’s scheduled to be published, you’ll need to recheck the ‘Publish post to Discourse’ checkbox and also make sure that the correct publish category is selected before you click ‘Update.’ Those values will again appear to revert to your default ones - the correct values are saved to the database, but they aren’t being used to populate the meta-boxes for scheduled posts, so they’re being overwritten when a scheduled post is updated.
Using those two plugins makes sense, but it’s also quite likely the cause of the problem. There’s a small change that can be made to the wp-discourse plugin that should make it compatible with the Missed Schedule plugin.