Jonathan Bossenger
Forum Replies Created
-
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Render just media playerThere is no helper function that would allow you to only load the player.
What you would need to do is use the global instance of the $ss_podcasting front end controller, and call the load_media_player() method, with the $file, $episode_id and $player_style variables.
Take a look at the player shortcode code for how we do this for the player shortcode
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Wrong URL for Podcast Page (/podcast/)@petertoushkov thanks for the update.
As we don’t manage the translation files ourselves, it might be useful if you’re able to contribute the correct translation here https://translate.wordpress.org/projects/wp-plugins/seriously-simple-podcasting/
Forum: Plugins
In reply to: [Seriously Simple Podcasting] FastCGI – password protection@rodbs it sounds like your hosting either does not acknowledge the .htaccess file in the root of the web server, or you’re not using a web server that utilizes .htaccess files (typically nginx).
Can you check this with your web host, as they may be able to provide a workaround.
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Displaying a custom page on …/podcast/ URLThanks @thinkingcap5 if you would like to see a feature added to one of our plugins or the app, you can do so here https://feedback.castos.com/
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Displaying a custom page on …/podcast/ URLI’ve dug a little deeper and unfortunately this is not currently possible. One way I can think to do this is to update the podcast and feed slugs, as per the Modifying podcast URLs document you’ve found, and then modify your page slug to podcast.
You can then use the WordPress redirection plugin, to redirect anyone who attempts to access the newly created urls you created to your page – https://wordpress.org/plugins/redirection/.
There are often many reasons why the podcast listings can be slow, however it’s difficult to pinpoint where the problem is without doing some debugging.
Are you able to install the Query Monitor plugin, and inspect the queries being run on that url, to see where the bottleneck may be?
Forum: Plugins
In reply to: [Seriously Simple Podcasting] How can i change the text?Hi @vegashost
The filter you’ll need to use has been added to the filter reference here – https://secure.helpscout.net/docs/5bc72c7e2c7d3a04dd5bc7e2/article/5bc7531b042863158cc78ac1/
The specific filter you can use would be the ssp_media_player filter. You can use this to add any specific HTML content before or after the player HTML
eg
add_filter( 'ssp_media_player', 'add_my_text_before_player', 10, 3 ); function add_my_text_before_player( $player, $src_file, $episode_id ) { /** * Create your custom HTML content and store it in a variable */ $my_content = '<p>Don\'t want to read? Listen it!</p>'; /** * Concatenate your custom content to the beginning of the $player HTML content */ $player = $my_content . $player; /** * Return the updated $player HTML content */ return $player; }A few additional comments:
- It’s always better to register the action/filter hook first, and then the hooked function below it
- You can append any html content before or after the $player variable
- You must always return the updated $player content, or the media player won’t display
- If you don’t need/use the $src_file and $episode_id variables, you can update the number of parameters passed (when you add the filter) from 3 to 1, and it will only pass the first parameter ($player)
Forum: Plugins
In reply to: [Seriously Simple Podcasting] google podcasts “Something went wrong”@anotherstuart as @kimstuart has pointed out, the web is moving towards requiring all resources be hosted behind SSL security.
Services like Google and Apple are assuming that any content being requested by them will be available via the https protocol, and so it’s more of a “general web best practice” than something we can explicitly state is required for the plugin use.
But thank you for listing your findings here. While we can’t issue a fix for the plugin to resolve this, unless we start restricting folks from using the plugin who don’t have an SSL certificate, we can update our documentation and readme’s to include the relevant information. I’ll ask the team to look into adding this content so that folks are more aware of it.
in the php/classes/controllers/class-frontend-controller.php
Edit the public get_file_duration and get_file_size methods by adding
return false;Just after the function declaration.
eg
public function get_file_duration( $file ) { return false;- This reply was modified 6 years, 6 months ago by Jonathan Bossenger.
- This reply was modified 6 years, 6 months ago by Jonathan Bossenger.
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Repeating episodes in feedHi @arnekocher thanks for the update, I’ll mark this ticket as closed.
Forum: Plugins
In reply to: [Seriously Simple Podcasting] class-frontend-controller.php errorsHello @tcovertswift thank you for bringing this to our attention.
I have created a ticket in our GitHub repository, and will schedule it into our next plugin development cycle: https://github.com/TheCraigHewitt/Seriously-Simple-Podcasting/issues/421
Hi @contemplate
Thanks for bringing this to our attention.
Unfortunately there is no way currently to disable this functionality. I have however created a ticket for it in our GitHub repository, so that we can add it to our plugin development cycle and include it in our next update
https://github.com/TheCraigHewitt/Seriously-Simple-Podcasting/issues/420
In the meantime, are you comfortable editing plugin files, to disable this functionality?
Regards
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Repeating episodes in feedHello @arnekocher and @randytrevor
Unfortunately the patch @podcastmotor mention is not for this issue, but I’d really like to get to the bottom of this.
I manage a few development sites with the top 3 page builder plugins/themes so that we can test out new plugin updates, one of which is Divi. You can see our Divi test site feed here http://divi.psykrotek.co.za/feed/podcast.
We’re not currently able to replicate this problem, using Divi Version 4.06, so I’d really like to be able to work with both of you to isolate and resolve this issue.
Could you please email our dedicated support channel at hello@castos.com (marked for my attention) so that I can help you isolate and resolve this problem.
Thanks
Forum: Plugins
In reply to: [Seriously Simple Podcasting] Repeating Episodes on new import@pratikalaan thank you.
Pull requests can take a few weeks to get reviewed and merged, so please bear with us.