WordPress.org

Ready to get started?Download WordPress

Forums

Private Community For BP Lite
[resolved] Unblock RSS Feeds (4 posts)

  1. takinglife2themax
    Member
    Posted 10 months ago #

    First, I want to say what a great plugin this is. It's perfect for my current needs. I have one issue though. I need to access certain rss feeds for my site. Is there a way to unblock rss feeds? Or somehow disable the privatization of rss feeds within the code?

    Your help is greatly appreciated. Keep up the good work.

    http://wordpress.org/plugins/private-community-for-bp-lite/

  2. bp-help
    Member
    Plugin Author

    Posted 10 months ago #

    takinglife2themax
    In private-community-for-bp-lite.php in lines 95-106 just comment out, or delete this:

    function pcfbp_lite_cut_nonreg_visitor_rss_feed() {
    	if ( !is_user_logged_in() ) {
    		remove_action( 'bp_actions', 'bp_activity_action_sitewide_feed' ,3      );
    		remove_action( 'bp_actions', 'bp_activity_action_personal_feed' ,3      );
    		remove_action( 'bp_actions', 'bp_activity_action_friends_feed'  ,3      );
    		remove_action( 'bp_actions', 'bp_activity_action_my_groups_feed',3      );
    		remove_action( 'bp_actions', 'bp_activity_action_mentions_feed' ,3      );
    		remove_action( 'bp_actions', 'bp_activity_action_favorites_feed',3      );
    		remove_action( 'groups_action_group_feed', 'groups_action_group_feed',3 );
    	}
    }
    add_action('init', 'pcfbp_lite_cut_nonreg_visitor_rss_feed');
  3. bp-help
    Member
    Plugin Author

    Posted 10 months ago #

    @takinglife2themax
    I am assuming this fixed your issue as it is the only code in the plugin that deals with RSS feeds. Marking this resolved.

  4. takinglife2themax
    Member
    Posted 10 months ago #

    Thanks a lot for your help with this. You just saved me a serious headache. Once again, great job bp-help!

    Keep up the good work!

Reply

You must log in to post.

About this Plugin

About this Topic