WordPress.org

Ready to get started?Download WordPress

Forums

Church Theme Content
[resolved] Breaks Blubrry PowerPress Plugin (7 posts)

  1. ahhyeah
    Member
    Posted 5 months ago #

    FYI, when activating this plugin it breaks the abilities of the Blubrry PowerPress Podcasting plugin. Here is a link to the discussion on their forum: http://forum.blubrry.com/index.php/topic,5083.0.html

    https://wordpress.org/plugins/church-theme-content/

  2. Angelo Mandato
    Member
    Posted 5 months ago #

    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.

  3. Steven Gliebe
    Member
    Plugin Author

    Posted 5 months ago #

    Thank you, I will look into this.

  4. Steven Gliebe
    Member
    Plugin Author

    Posted 5 months ago #

    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?

  5. Angelo Mandato
    Member
    Posted 5 months ago #

    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.

  6. Steven Gliebe
    Member
    Plugin Author

    Posted 5 months ago #

    Thank you for your feedback.

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

  7. Steven Gliebe
    Member
    Plugin Author

    Posted 5 months ago #

    1.0.8 is now available with the fix.

Reply

You must log in to post.

About this Plugin

About this Topic