diff --git src/bp-activity/classes/class-bp-activity-component.php src/bp-activity/classes/class-bp-activity-component.php
index e72d8460d..1d882f213 100644
--- src/bp-activity/classes/class-bp-activity-component.php
+++ src/bp-activity/classes/class-bp-activity-component.php
@@ -124,9 +124,30 @@ class BP_Activity_Component extends BP_Component {
 				require $this->path . 'bp-activity/screens/just-me.php';
 			}
 
-			// Screens - User secondary nav.
-			if ( bp_is_user() && in_array( bp_current_action(), array( 'friends', 'groups', 'favorites', 'mentions' ), true ) ) {
-				require $this->path . 'bp-activity/screens/' . bp_current_action() . '.php';
+			/**
+			 * Screens - User secondary nav.
+			 *
+			 * For these specific actions, slugs can be customized using `BP_{COMPONENT}_SLUGS`.
+			 * As a result, we need to map filenames with slugs.
+			 */
+			$filenames = array(
+				'favorites' => 'favorites',
+				'mentions'  => 'mentions',
+			);
+
+			if ( bp_is_active( 'friends' ) ) {
+				$filenames[bp_get_friends_slug()] = 'friends';
+			}
+
+			if ( bp_is_active( 'groups' ) ) {
+				$filenames[bp_get_groups_slug()] = 'groups';
+			}
+
+			// The slug is the current action requested.
+			$slug = bp_current_action();
+
+			if ( bp_is_user() && isset( $filenames[ $slug ] ) ) {
+				require $this->path . 'bp-activity/screens/' . $filenames[ $slug ] . '.php';
 			}
 
 			// Screens - Single permalink.
