Site icon WebDevStudios

BuddyPress: What’s Coming in 2.4?

BuddyPress releases, BuddyPress updates, BuddyPress 2.4, WebDevStudios, WordPress developers, WordPress development, WordPress help, BuddyPress development, build a BuddyPress site, building in BuddyPress,

After each major release of BuddyPress, the BP community discusses (in the Slack channel!) what to include in the following release. BuddyPress 2.4 is no different and includes a few new bells and whistles.

Front Page Component Search Fix

There is a bug if you have a BuddyPress component set has the front page it would then override blog post search. WordPress uses the front page with the parameter ?s= to search. BuddyPress uses ?s= as well so on the front page there is a conflict. To fix this, Boone added new default search argument for each component. Custom components can supply their own query args as well. If you have previously hard coded ?s= query arg, you may need to check your site. Only on the front page is this a huge issue. ?s= should still work for back compatibility but moving forward you should start using the new arguments specific to a component.

Search Members by Type

Member types were added in BP 2.2, now there is the ability to search members in a type or not in a type. Using the following arguments passed to bp_has_members(). ‘member_typein=superhero’ would list all members of the type ‘superhero’.

member_typein or member_typenot_in
bp_has_members( ‘member_typein=superhero’ )

Profile Fields per Member Type

This feature has been in the winds for a while, and it has been included now that we have member types. When creating profile fields in the admin, there is an option to set it to a specific member type. An example of using this might be found on a site for teachers and students (see below). The personal info added to a user’s profile may be entirely unique depending on type.

Accessibility Enhancements

BuddyPress contains a ton of templates. Accessibility work here is ongoing. There has been a focus by Mercime in 2.4 to get more accessibility fixes into the release. If you have an interest in accessibility and want to give back ping Mercime.

Cover Images

Profile cover images have been available in the past via plugins or added theme functionality. In 2.4, Cover Images are coming to BuddyPress core. This feature works OOTB with legacy templates and the default WordPress year themes. When the feature is active it changes the member-header.php to cover-image-header.php to include the extra markup for the image. Take note: if you have a custom member header it may override.

The feature can be turned on off in the admin BuddyPress settings or the options can be removed completely with a filter. If you have a stand alone BuddyPress theme you may need to do a little work to get this functionality working. Read the codex docs for more info.

Group Homepage Enhancement

You may have never noticed this issue–when activity is not activated the home tab on groups duplicates the members tab. In essence, the home tab never gets removed; it just uses another component to “fill in” the content. There are few other quirks in regards to how the group home page works. Imath has added a few fixes to make the homepage work like you’d expect when customizing the group homepage. Below lists the enhancements:

Release Date?

The 2.4 should be ready within a few weeks. You can always download BuddyPress 2.4 beta and test. This helps core developers by catching bugs early. I’ve been testing trunk and yet to find and major issues. This post covers some but not all of the additions included. There are always under the hood fixes added to each release.

Exit mobile version