Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable All RSS Feeds

  • Profile photo of cheovent
    Deadtail
    Member

    @cheovent

    Hi,
    I am trying to make a fully private buddypress installation.

    I use the plugin registered-users-only-2 to password protect the site, but this only blocks 99% of it. One issue I am running into is the RSS feeds are still public, especially the site wide activity RSS.

    There is a wordpress plugin called disable RSS, but this does not disable the buddypress specific RSS feeds.

    Is there a way to delete/block/disable all the RSS feeds? I would like to avoid blocking via .htacess at all costs.

    I have wp 2.9.2 and bp 1.2.3

Viewing 10 replies - 1 through 10 (of 10 total)
  • Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Add the following snippet to your theme’s functions.php:
    http://pastebin.com/Jpc9GnAx (updated)

    This will disable RSS feeds in BP.

    You’ll also have to manually get rid of the RSS feed buttons.

    There are two ways to go about this.

    1. Use CSS to hide the RSS buttons
    2. Remove the RSS feed buttons via a child theme

    Profile photo of cheovent
    Deadtail
    Member

    @cheovent

    YES! Thank you! Thank you! There was absolutely nothing on this anywhere. This helps so much.

    Profile photo of cheovent
    Deadtail
    Member

    @cheovent

    @r-a-y , hello again, I was also wondering if there is a similar way to disable/remove the favoriting of posts,activity, etc…

    Profile photo of r-a-y
    r-a-y
    Moderator

    @r-a-y

    Easiest way to remove favorites is to use CSS:
    li#activity-favorites, li#activity-favs-personal-li, a#bp-admin-activity-favs, .activity-meta a.fav {display:none;}

    This will hide all favorite buttons and tabs (I think).

    Profile photo of cheovent
    Deadtail
    Member

    @cheovent

    right on.

    Profile photo of paulmontwill
    paulmontwill
    Participant

    @paulmontwill

    Thanks a lot – it helped me somewhere else. So simple!

    Profile photo of F. Saint
    F. Saint
    Participant

    @fightingsaint

    So I’m a total newb at this and I don’t understand how to disable the RSS on BP. I tried putting the code in to the file you suggested (at the end of the current code) but I’m not sure I’m doing this correctly. Can you offer any help, or some more detailed instructions (in layman’s terms) so that I can make my RSS feed for all site activity go away? I want to have a completely private BP community.

    Profile photo of rbahumi
    rbahumi
    Participant

    @rbahumi

    add_action(‘init’, ‘bp_remove_feeds’);

    Profile photo of rbahumi
    rbahumi
    Participant

    @rbahumi

    Please ignore my last entry, I cannot remove it.

    Profile photo of craigheyworth
    Yeti
    Participant

    @craigheyworth

    what css would I need to remove the rss button?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Disable All RSS Feeds’ is closed to new replies.
Skip to toolbar