Viewing 6 replies - 1 through 6 (of 6 total)
  • Church Theme Content developer: I am the PowerPress developer, if you have questions please feel free to contact me at cio [at] rawvoice dot com or reply to the forum thread linked above.

    Plugin Author Steven Gliebe

    (@stevengliebe)

    Thank you, I will look into this.

    Plugin Author Steven Gliebe

    (@stevengliebe)

    I think I see what is happening.

    Church Theme Content’s podcasting is very basic. It simply takes the URL from its Audio field and uses WordPress’s do_enclose() function to save the URL into WordPress’s standard enclosure field, which is used in RSS feeds for podcasting.

    So, if the Church Theme Content plugin’s Audio field is empty, that’s what gets saved. If PowerPress’s “Media URL” works similarly then Church Theme Content may be taking precedent, effectively wiping out whatever PowerPress saved a moment before.

    I’m thinking the best approach may be to make Church Theme Content detect if PowerPress is active and if so simply do nothing, so that the two plugins don’t fight over control of the enclosure field. Only PowerPress will handle podcasting in this case.

    Angelo, any thoughts on this?

    ahhyeah, would you be will to test a patch if I send you one?

    That makes sense. PowerPress had to disable the native do_enclose hook as WordPress will delete media URLs unless they are also in the blog post / show notes.

    Here is an easy way to check if PowerPress is enabled:

    if( defined('POWERPRESS_VERSION') )
    {
     ...
    }

    You will want to do this in an init function in your plugin.

    Steven, is there specific data (other than the media URL) your plugin is saving? You may be able to use the powerpress_get_enclosure() or powerpress_get_enclosure_data() function depending on if you just need the URL or all the data (duration, file size, etc..) The advantage of using the powerpress function is that PowerPRess will add any statistics redirects to the final URL, so that way any media downloads that happen in your plugin get counted as well as in the podcast feed.

    Plugin Author Steven Gliebe

    (@stevengliebe)

    Thank you for your feedback.

    I can see this solves the conflict so I’ll go ahead and make a new release.

    Plugin Author Steven Gliebe

    (@stevengliebe)

    1.0.8 is now available with the fix.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Breaks Blubrry PowerPress Plugin’ is closed to new replies.