Press Permit Pro (and basic) conflict with The Events Calendar (Modern Tribe)

Home Forums Calendar Products Events Calendar PRO Press Permit Pro (and basic) conflict with The Events Calendar (Modern Tribe)

Viewing 16 post (of 16 total)
  • Author
    Posts
  • #253014
    Barry
    Member

    That isn’t ideal, certainly, but the reality is we just can’t guarantee being able to help folks integrate with every plugin out there as you can understand.

    “It works correctly and filters correctly when first loading a page, so the fault may lie in the method that TEC Pro uses to link to a Prev/Next Month view.”

    We’re not doing anything especially tricky here. If it helps though:

    • When our handler for the ajax request runs, it works through query_posts() and sets the minimum number of args necessary to retrieve the data it needs
    • Press Permit’s PP_QueryInterceptor::flt_posts_clauses() method subsequently modifies the query and – when the get_posts_where() method from the same class runs – it injects a condition that can never be satisfied: that is, one must equal two for results to be returned

    Of course, that impossible condition is being inserted purposefully – but we’ll need to leave it to you and the Press Permit team to figure out why it’s logic leads it to do this.

    As we can’t offer much more on this occasion I’ll go ahead and close the thread, but I do wish you luck 🙂

Viewing 16 post (of 16 total)
  • The topic ‘Press Permit Pro (and basic) conflict with The Events Calendar (Modern Tribe)’ is closed to new replies.