Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter xxxhoop

    (@xxxhoop)

    In other words I want my rss feeds public.

    Plugin Author bp-help

    (@bphelp)

    @xxxhoop
    Around line 20 in private-bp-pages.php you will see this:

    /* Prevent RSS Feeds */
    function pbpp_remove_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', 'pbpp_remove_visitor_rss_feed');
    /* End Prevent RSS Feeds */

    Just comment it all out to your liking.

    Thread Starter xxxhoop

    (@xxxhoop)

    I removed the code from all the sites but something is still preventing the feed from being fethed, in fact what I’m getting on feedburner is an invalid xml…any ideas

    Plugin Author bp-help

    (@bphelp)

    @xxxhoop
    That bit of code I supplied is the only thing in the plugin that affects RSS feeds so you may need to deactivate plugins/switch themes until you can narrow it down.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘unblock rss feed fetching’ is closed to new replies.