BuddyBoss Home – Web Support Forums Themes Boss. theme site wide activity links not working

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

    #69395
    @onica-nl

    Hi,

    I’ve noticed that the filters like (my friends, my friends) on this page are links. And those links end up in 404 because they redirect to non existing pages.

    See attachements.

    If you press the button (2nd tab in attachment) it redirects to link http://domain.com/member/username/activity/friends/. this is a non existing page. It should basicly filter the site wide activity to the friend activity. and if it was meant to go to a link then the link should be without the word “activity” in between.

    Is this a fixable bug??

    Answers

    #69544
    @vapvarun

    Hi @onica-nl

    Disable all plugins besides BuddyPress. Make sure you are running the latest version of WordPress and BuddyPress.

    Test to see if your issue is resolved. If it is, there’s a poorly written plugin causing a compatibility issue.

    Re-activate plugins one-by-one, testing after each new activation, to find the culprit.

    Regards
    Varun Dubey

    #69598
    @onica-nl

    I just checked… this is caused by buddyboss wall plugin…
    any ideas?!!

    #69601
    @vapvarun

    hi @onica-nl

    Sorry for inconvenience

    I have notified developers, If you are using newsfeed as default tab , try to switch to Wall inside BuddyBoss Wall plugin setting.

    Regards
    Varun Dubey

    #69604
    @onica-nl

    Hi @vapvarun,

    I don’t follow. Buddyboss wall plugin settings doesn’t have a default tab setting.. are u confusion tab order??

    #70248

    Alyssa
    Participant
    @alyssa-buddyboss

    We worked on this fix, and it will be available in the next release.

    For now you’ll want to paste it into a child theme’s functions.php:

    /**
     * Catch access to certain activity type( friends, groups, mention )
     * and redirect accordingly to news-feeds.
     */
    function bboss_wall_redirect_to_feeds() {
      global $bp;
    
      if ( ! empty( $bp->current_component )  && BP_ACTIVITY_SLUG == $bp->current_component
           && in_array( $bp->current_action, array( 'friends', 'groups', 'mentions' ) ) ) {
    
        $news_feed_url = $bp->loggedin_user->domain.'/'.BP_ACTIVITY_SLUG.'/news-feed/';
        wp_redirect( $news_feed_url );
      }
    
    }
    
    add_action( 'bp_template_redirect', 'bboss_wall_redirect_to_feeds' );
Viewing 6 posts - 1 through 6 (of 6 total)
  • The question ‘site wide activity links not working’ is closed to new replies.