BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › site wide activity links not working
Tagged: filters, link, site wide activity
- This topic has 5 replies, 3 contibutors, and was last updated 8 years, 6 months ago by Alyssa.
Question
April 22, 2016 at 2:34 pm #69395@onica-nlHi,
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
April 23, 2016 at 2:58 am #69544@
AnonymousHi @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 DubeyApril 23, 2016 at 12:42 pm #69598@onica-nlI just checked… this is caused by buddyboss wall plugin…
any ideas?!!April 23, 2016 at 12:45 pm #69601@
Anonymoushi @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 DubeyApril 23, 2016 at 1:13 pm #69604@onica-nlHi @vapvarun,
I don’t follow. Buddyboss wall plugin settings doesn’t have a default tab setting.. are u confusion tab order??
May 10, 2016 at 4:28 am #70248@alyssa-buddyboss
AlyssaParticipantWe 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' );
- The question ‘site wide activity links not working’ is closed to new replies.