Skip to:
Content

Opened 12 months ago

Closed 10 months ago

Last modified 10 months ago

#3192 closed enhancement (fixed)

bbPress Navigation integrated with BuddyPress Groups Issue

Reported by: paschoolboards Owned by: johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version: trunk
Component: Extend - BuddyPress Keywords:
Cc:

Description

You are unable to alter the group navigation bar in buddypress to display any name except for Forum. This is a result of bbPress hardcoding the name and nav_item_name variables without adding apply_filters to allow for modification. The file that needs to be updated is in extend/buddypress/groups.php. the code below shows the apply_filters being adding right below the variables being set in the setup_variables function

                $this->name          = __( 'Forum', 'bbpress' );
                $this->nav_item_name = __( 'Forum', 'bbpress' );

                //  add apply_filters to support buddypress navigation naming felxibility
                $this->nav_item_name = apply_filters('bbp_update_nav_item_title', $this->nav_item_name);
                $this->name = apply_filters('bbp_update_forum_name', $this->name);

You could probably extend the filters to other variables, but the navigation menu naming is my primary problem. Thanks.

Attachments (1)

groups.php (40.1 KB) - added by paschoolboards 12 months ago.
Updated Groups.php with Filters added

Download all attachments as: .zip

Change History (4)

@paschoolboards
12 months ago

Updated Groups.php with Filters added

#1 @johnjamesjacoby
10 months ago

  • Keywords has-patch removed
  • Milestone changed from Awaiting Review to 2.6
  • Owner set to johnjamesjacoby

#2 @johnjamesjacoby
10 months ago

  • Resolution set to fixed
  • Status changed from new to closed

In 6808:

BuddyPress: add more fully_loaded() methods to component classes.

This will allow an entry point for plugins to alter these classes how they see fit.

Fixes #3192.

#3 @johnjamesjacoby
10 months ago

In 6809:

Converter: update phpBB importer to use user_form_salt.

Props jrf. Fixes #3192.

Note: See TracTickets for help on using tickets.