BuddyBoss Home – Web Support Forums Themes Boss. theme Remove feed/RSS tab and user icon colour

Viewing 8 posts - 1 through 8 (of 8 total)
  • Question

    #44246
    @adebowalepro

    1. Please how do i remove the RSS feed tab and also disable feeds totally.
    2. Please how do i make each user profile icon have different colour like i saw on your demo. attached is a picture to explain. at the sidebar where it says WHO TO FOLLOW i noticed that first 2 users profile image border colour is green, next red and then yellow. how do i get that done and also i cant find follow on my site yet..

    Answers

    #44250
    @vapvarun

    Hello @adebowalepro

    To remove the RSS feed tab you have to edit the activity template. Please follow these steps to edit activity template:

    1- Go to your theme folder : boss\buddypress\activity\index.php
    2- Copy index.php to your child theme at similar path like this boss-child\buddypress\activity\
    3- Remove the code at line no. 72

    
    <li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'boss' ); ?>"><?php _e( 'RSS', 'boss' ); ?></a></li>
    

    Also add following codes to your child theme functions.php file:

    
    function bp_remove_feeds() {
            remove_action( 'wp', 'bp_activity_action_sitewide_feed', 3 );
            remove_action( 'wp', 'bp_activity_action_personal_feed', 3 );
            remove_action( 'wp', 'bp_activity_action_friends_feed', 3 );
            remove_action( 'wp', 'bp_activity_action_my_groups_feed', 3 );
            remove_action( 'wp', 'bp_activity_action_mentions_feed', 3 );
            remove_action( 'wp', 'bp_activity_action_favorites_feed', 3 );
            remove_action( 'wp', 'groups_action_group_feed', 3 );
    }
    add_action('init', 'bp_remove_feeds');
    

    Members avatar have same uniform color border.

    Regards

    #44490
    @adebowalepro

    Please how can i achieve comments under post. allowing users to be able to comments on someones post or update or upload. attached image will explain better.

    Thanks.

    #44510

    Alyssa
    Participant
    @alyssa-buddyboss

    @adebowalepro the comment section is closed by default, a user simply needs to click on the comment button to comment on the activity.

    #44618
    @ubrandon

    Hey Varun – none of that worked for me for some reason?

    Removed it through CSS instead:
    #subnav li.feed {display:none;}

    #44636
    @vapvarun

    hey @ubrandon,

    That will be good, do you need additional help to for RSS feed icon or its okay for you now ?

    Regards
    Varun Dubey

    #44637
    @ubrandon

    Still shows on mobile, need to find that tag as well I spose. Thanks

    #44649
    @vapvarun

    removing following codes from boss\buddypress\activity\index.php
    it works fine with mobile and desktop both

    
    <li class="feed"><a href="<?php bp_sitewide_activity_feed_link(); ?>" title="<?php esc_attr_e( 'RSS Feed', 'boss' ); ?>"><?php _e( 'RSS', 'boss' ); ?></a></li>
    

    not sure why it is not working with you.

    Regards
    Varun Dubey

Viewing 8 posts - 1 through 8 (of 8 total)
  • The question ‘Remove feed/RSS tab and user icon colour’ is closed to new replies.