BuddyPress Settings and Configuration
The BuddyPress integration does not add a dedicated settings screen. Configuration is done at three points: the BuddyPress component registration that runs automatically on activation, the linking of WordPress users to SportsPress players and staff, and the order of profile navigation tabs.
What's configured automatically
On activation the plugin extends the BP_Component class to register:
A primary navigation item labelled SportsPress on each member's BuddyPress profile.
An admin-bar entry that mirrors the navigation item for logged-in users hovering over their profile.
An enqueued frontend script (
_inc/bp-sportspress.js) that handles SportsPress data lookups when the SportsPress tab is opened.
These run on the bp_loaded hook with no admin configuration required.
Linking users to players or staff
The most important configuration step is linking a WordPress user account to a SportsPress player or staff record so that the BuddyPress profile has data to display.
Edit the player or staff record at SportsPress → Players (or Staff).
In the SportsPress meta box on the right-hand side, find the User dropdown.
Select the WordPress user account that belongs to this player.
Update the post.
Once linked, the BuddyPress profile for that user will display events through the SportsPress tab. Avatar uploads on either side will sync automatically.
Adjusting the SportsPress tab position
BuddyPress profile tabs are ordered by the position argument passed to bp_core_new_nav_item. The plugin registers SportsPress at a default position. To change the order you can override the position via a custom function in your theme's functions.php:
add_action( 'bp_setup_nav', function() {
bp_core_new_nav_item( array(
'name' => __( 'SportsPress', 'sportspress' ),
'slug' => 'sportspress',
'position' => 30,
) );
}, 99 );This is an advanced customisation and is rarely needed.
