• Resolved resoundcreative

    (@resoundcreative)


    I’ve created a new podcast feed for a custom post type using the “Post Type Podcasting” feature. I want this feed to password protected so that only a certain user can access the feed. But when I fill out the option for password protection in the feed’s “Other” settings tab, it doesn’t actually add any protection.

    You can find the podcast feed here: [ redundant link removed ]

    and here’s a screenshot of the Password Protect settings: https://www.dropbox.com/s/rxd0rifes9b9wnd/Screenshot%202020-07-21%2010.57.32.png?dl=0

    I did wonder if maybe this password protection functionality actually only works with Podcast Channels (though the actual documentation doesn’t seem to make that clear). So I tried to set this up via the Podcast Channels functionality by creating a new podcast Channel feed that only applies to this specific custom post type. I tried this however when I created the new Podcast Channel feed it won’t display a Podcast Episode media box on the individual posts so I can’t add a media URL for the individual posts and get them to show up in this new Podcast Channel feed. (This may be that you can have Podcast Channels set up for custom post types while also using the Post Type Podcasting feature, perhaps?)

    Anyways, what am I missing? From the documentation and available settings this seems like it should work but I can’t figure out why it isn’t.

    If it’s helpful, here’s my php that registers this custom post type. Perhaps I’m missing some setting here that is throwing this feature off.

    $args = array(
    			'supports'              => array( 'title', 'editor', 'excerpt', 'thumbnail', 'author', ),
    			'hierarchical'          => false,
    			'public'                => true,
    			'show_ui'               => true,
    			'show_in_menu'          => true,
    			'menu_position'         => 5,
    			'menu_icon'             => 'dashicons-star-filled',
    			'show_in_admin_bar'     => true,
    			'show_in_nav_menus'     => true,
    			'can_export'            => true,
    			'exclude_from_search'   => false,
    			'publicly_queryable'    => true,
    			'capability_type'       => 'post',
    			'taxonomies' 			=> array('post_tag'),
    		);
    
    		register_post_type( 'wellspring', array_merge( $args, array(
    			'has_archive' => __('all-wellsprings'),
    			'label' => __( 'Wellsprings', 'GBC' ),
    			'labels' => array(
    				'name' => _x( 'Wellsprings', 'Post Type General Name', 'gbc' ),
    				'singular_name' => _x( 'Wellspring', 'Post Type Singular Name', 'gbc' ),
    			)
    		) ) );
    
    		register_post_type( 'build', array_merge( $args, array(
    			'has_archive' => __('all-builds'),
    			'label' => __( 'BUILDs', 'GBC' ),
    			'labels' => array(
    				'name' => _x( 'BUILDs', 'Post Type General Name', 'gbc' ),
    				'singular_name' => _x( 'BUILD', 'Post Type Singular Name', 'gbc' ),
    			)
    		) ) );
    
    		register_post_type( 'equipping-hour', array_merge( $args, array(
    			'has_archive' => __('all-equippinghours'),
    			'label' => __( 'Equipping Hours', 'GBC' ),
    			'labels' => array(
    				'name' => _x( 'Equipping Hours', 'Post Type General Name', 'gbc' ),
    				'singular_name' => _x( 'Equipping Hour', 'Post Type Singular Name', 'gbc' ),
    			)
    			/* 'rewrite' => array(
                    'slug' => 'equipping-hour'
        		)*/
    		) ) );
    
    		register_post_type( 'digging-deeper', array_merge( $args, array(
    			'has_archive' => __('all-diggingdeeper'),
    			'label' => __( 'Digging Deeper', 'GBC' ),
    			'labels' => array(
    				'name' => _x( 'Digging Deepers', 'Post Type General Name', 'gbc' ),
    				'singular_name' => _x( 'Digging Deeper', 'Post Type Singular Name', 'gbc' ),
    			)
    		) ) );
    
    		register_post_type( 'shepherdology', array_merge( $args, array(
    			'has_archive' => __('all-shepherdology'),
    			'label' => __( 'Shepherdology', 'GBC' ),
    			'labels' => array(
    				'name' => _x( 'Shepherdologys', 'Post Type General Name', 'gbc' ),
    				'singular_name' => _x( 'Shepherdology', 'Post Type Singular Name', 'gbc' ),
    			)
    		) ) );
    
    		register_post_type( 'thetrust', array_merge( $args, array(
    			'has_archive' => __('all-thetrust'),
    			'label' => __( 'theTrust', 'GBC' ),
    			'labels' => array(
    				'name' => _x( 'theTrusts', 'Post Type General Name', 'gbc' ),
    				'singular_name' => _x( 'theTrust', 'Post Type Singular Name', 'gbc' ),
    			)
    		) ) );
    
    		register_post_type( 'smallgroup-message', array_merge( $args, array(
    			'has_archive' => __('all-smallgroupmessage'),
    			'label' => __( 'Smallgroup Messages', 'GBC' ),
    			'labels' => array(
    				'name' => _x( 'Smallgroup Messages', 'Post Type General Name', 'gbc' ),
    				'singular_name' => _x( 'Smallgroup Message', 'Post Type Singular Name', 'gbc' ),
    			)
    		) ) );
    
    		register_post_type( 'student-ministry', array_merge( $args, array(
    			'has_archive' => __('all-studentministry'),
    			'label' => __( 'Student Ministries', 'GBC' ),
    			'labels' => array(
    				'name' => _x( 'Student Ministries', 'Post Type General Name', 'gbc' ),
    				'singular_name' => _x( 'Student Ministry', 'Post Type Singular Name', 'gbc' ),
    			)
    		) ) );
    
    		register_post_type( 'young-adults-414', array_merge( $args, array(
    			'has_archive' => __('all-youngadults414'),
    			'label' => __( 'Young Adults (414)', 'GBC' ),
    			'labels' => array(
    				'name' => _x( 'Young Adults (414)s', 'Post Type General Name', 'gbc' ),
    				'singular_name' => _x( 'Young Adults (414)', 'Post Type Singular Name', 'gbc' ),
    			)
    		) ) );
    
    		register_post_type( 'special-event', array_merge( $args, array(
    			'has_archive' => __('all-specialevents'),
    			'label' => __( 'Special Events', 'GBC' ),
    			'labels' => array(
    				'name' => _x( 'Special Events', 'Post Type General Name', 'gbc' ),
    				'singular_name' => _x( 'Special Event', 'Post Type Singular Name', 'gbc' ),
    			)
    		) ) );
    • This topic was modified 4 years, 3 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Mike Dell

    (@benzoid)

    Yes, the password-protected feeds currently only work with channels AND require a 3rd party plugin such as Memberpress. See: https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/premium-podcasting-content/ and https://create.blubrry.com/resources/powerpress/advanced-tools-and-options/premium-podcasting-content/memberpress/ We also do not provide direct tech support for this feature. Although we can help with some podcast-realted things, but anything to do with the membership plugin is supported by that plugin’s dev team.

    -Mike

    Thread Starter resoundcreative

    (@resoundcreative)

    Thanks Mike! A follow up question:

    When creating a Podcast Channel limited to this specific custom post type, I don’t get a separate Podcast Episode media box on the individual posts that is linked to the Podcast Channel feed. So the Podcast Channel feed doesn’t ‘see’ any posts.

    Is this because I’m already using the Post Type Podcasting feature and can’t have some custom post types with feeds setup using the Post Type Podcasting AND have other custom post types using Podcast Channels?

    Plugin Support Mike Dell

    (@benzoid)

    I’m reasonably sure you can have a podcast channel AND post type but not for the same show (if that makes any sense)

    In other words, the channel has to be posted in the POSTS post-type to work as a channel RSS feed.

    Thread Starter resoundcreative

    (@resoundcreative)

    Yeah, I’m finding that the channel only works with the regular posts, not custom post types – even when I try to lock it to a custom post type that doesn’t have any other feeds created for it.

    I’ll have to think about this some more but at this point it looks like I won’t be able to create password-protected feeds for custom post types on this website.

    If you ever decide to make the password-protected functionality work for Post Type Podcasting, it would be pretty awesome.

    Plugin Author Angelo Mandato

    (@amandato)

    Hello @resoundcreative,

    I think post type podcast feeds that use any slug name other than ‘podcast’ could be setup with private podcasting. I would at minimum go in and see if the option is there after creating a post type. If it is, you’re in business. If not let us know we can add it to the backlog.

    Thanks,
    Angelo

    Thread Starter resoundcreative

    (@resoundcreative)

    Hi Angelo,

    Here’s what I created for the feed slug for the custom post type feed: thetrust-podcast

    the full feed URL is:/all-thetrust/feed/thetrust-podcast/

    I do get the option to check the box for this to be Protected Content and restrict access to users with a specific role. I’ve done that. However when I view the feed URL there’s no password protection on it (and yes I’ve checked to be sure I’m in a private browser, cookies dumped, and not logged in to the website).

    (Here’s a screenshot of the settings I get in the dashboard: https://www.dropbox.com/s/90uwb7qj42odxzp/Screenshot%202020-07-24%2015.48.55.png?dl=0 )

    This seems to be a bug or something’s missing with the functionality of protecting content for post type podcast feeds. The check box and functionality is all there in the feed settings but something is not working when it loads the actual feed to protect it.

    I’d be amazing to have this figured out at some point. ??

    (BTW, I LOVE the Powerpress plugin! I’ve been able to set up a lot of podcasts – and usually very easily with your plugin. Thank you!)

    Plugin Author Angelo Mandato

    (@amandato)

    Hello @resoundcreative,

    Sorry for the delay. Technically it should be possible to password protect the post type feeds, but as i have been researching this it is rather complicated, specially since post types, if they are not registered with permalinks, could be bypassed with query string parameters. Tu truly be secure PowerPress would have to create the post type and make sure things are set a certain way. PowerPress up to this point takes the approach of adding podcast to an existing post type, which is all about giving you flexibility, but with that adds the complication.

    We are looking at in the future adding the post type creation in PowerPress itself to solve this.

    Thanks,
    Angelo

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Password protecting podcast feed for custom post type’ is closed to new replies.