• Hi,

    First of all THANK YOU for this plugin, it was the answer to my prayers of being able to just dump posts in a queue, without manually scheduling them.

    However, I have an issue. I have two categories: public and fans. Fans is a member-only category. I post 1 public, then 2 fans, 1 public, 2 fans, …

    However, the auto post scheduler is posting only public posts, no fans posts. I have them both clearly selected in the categories option. I would send a printscreen, but I have no way of adding a file here.

    I’m hoping this is a known issue, or that I’m just overlooking something. ??

    The website is adult-themed, so I didn’t put a link, because I don’t know if there are any restrictions on that. But I’m happy to share the link (you will only be able to see public posts)

    Kind regards
    Dennis Claes

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author johnh10

    (@johnh10)

    APS will publish the oldest posts by default. If the oldest posts are Category 1, then those will be posted before Category 2.

    You can select Debug mode and see the argument sent to the WordPress Query function. It will look like

    2020-04-30 09:38:30 - DEBUG: eligible posts WP_Query Array ( [posts_per_page] => 1 [cat] => 8453,8520 [author] => [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => Array ( [0] => draft ) [order] => ASC )

    Thread Starter dennisclaesfotografie

    (@dennisclaesfotografie)

    Thank you for your reply John. This is the latest one:

    eligible posts WP_Query Array ( [posts_per_page] => 1 [cat] => 17,16 [author] => [post_type] => Array ( [0] => post ) [ignore_sticky_posts] => 1 [post_status] => Array ( [0] => pending ) [order] => ASC )

    I checked, the oldest post was a “fans” post, but he still published a public post.

    Now that I’m copy-pasting this code, it does seem he is only checking for pending posts, and I have changed that to “pending + drafts” 2 weeks ago and most posts are drafts now. Only a few are still “pending”.

    So I hit the “update options” button now, to make sure. Maybe that will fix the problem and it was just a “fluke”. But in any case, when I open APS, both pending and drafts where checked.

    I’m posing every 2 days, so I guess I will know in 2 days. ??

    Plugin Author johnh10

    (@johnh10)

    Okay, from what you wrote, next time APS calls WP_Query then WordPress should return the oldest draft/pending post from category id 17 or 16.

    Thread Starter dennisclaesfotografie

    (@dennisclaesfotografie)

    Thanks, I hope so. I’m going to post a fans post tomorrow manually, and then 2 days later, I will let APS choose the next one. It “should” be a fans post, since the 5 oldest posts are fans posts.

    Fingers crossed! ??

    Thread Starter dennisclaesfotografie

    (@dennisclaesfotografie)

    Hi John,

    So, the next post was automatically published, and again, it skipped all the posts in the “fans” section and published a “public” section.

    I have a theory. My website has the “Ultimate Membership Pro” plugin. “Fans” posts are marked as “members only”. in the UMP plugin I have set the option to hide “Fans” posts for non-members.

    Do you think this has something to do with it? And do you think there is a workaround? I am more than happy to buy the premium version if you are confident that this will fix my problem.

    Kind regards
    Dennis

    Plugin Author johnh10

    (@johnh10)

    Yes it is possible the UMP plugin hooks into the WP_Query arguments and makes sure the ‘members’ only categories are excluded. I don’t know for sure unless I can see their code. If you do wish to get the premium WP Auto Poster you can send me the UMP plugin to figure out a workaround.

    Thread Starter dennisclaesfotografie

    (@dennisclaesfotografie)

    That would be amazing. Yes, I would definitely upgrade for that workaround.

    How can I best get the plugin to you? Is there an E-mail address I can reach you on?

    You can also contact me via [email protected]

    Plugin Author johnh10

    (@johnh10)

    Yes just click the support button in the plugin. Easy to upload UMP to dropbox and send the link.

    Thread Starter dennisclaesfotografie

    (@dennisclaesfotografie)

    Just to follow up on this one.

    I did what John asked and bought the premium version. I received an answer within 6 hours and a working solution within 24 hours.

    Awesome support! Well worth the money to buy the premium version.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Ignoring category’ is closed to new replies.