BuddyPress 3.1.0 is now available!

BuddyPress 3.1.0 is now available. It includes 23 bug fixes. See https://buddypress.org/2018/06/buddypress-3-1-0-maintenance-release/ for more information.

Note that there may be some manual adjustments you will need to make to fix some outstanding issues.

BuddyPress 3.0.0 “Apollo” is now available!

BuddyPress 3.0.0 “Apollo” is now available for immediate download from the WordPress.org plugin repository, or right from your WordPress Dashboard.

Read all about it at https://buddypress.org/2018/05/buddypress-3-0-0-apollo/

Check out the changelog for more information https://codex.buddypress.org/releases/version-3-0-0/

BP Codex Summary for 2017

Status Update

There were 2 BP major releases (2.8.0 and 2.9.0) and 12 minor releases by the all-volunteer BuddyPress contributors in 2017. These activities have generated the following updates for the codex to date:

2 New Articles
14 Release Change Logs
32 Articles Updated

The Codex in 2018

Here’s hoping that barring major technical glitches or hidden grinches, developer.buddypress.org will be launched sometime this year. We’ll be reorganizing and adding articles to the Codex as some sections will be moved to the developer reference site. Details of the changes will be posted here and we’ll be asking for your feedback and support.

Help us improve the BuddyPress Codex. If you’re interested in updating existing articles or creating entirely new ones, please read our Codex Standards & Guidelines and let us know via the #buddypress Slack channel or in comments below.

Props to Codex Contributors, 2017

Many thanks to everyone who contributed new articles / updated published posts from January 1 – December 31, 2017!

BuddyPress 2018 Survey

What would you like BuddyPress to focus on in 2018? The core team has ideas of where BuddyPress can expand on and your input is important to harness the time and resources of an all-volunteer crew.

The survey will take 10-15 minutes to complete. Be assured that we will not publish your name, email address, nor IP address when we post the results of this survey at BuddyPress.org.

Thank you for your time and cooperation. Your feedback will help us improve BuddyPress for you.

=> Take the 2018 BuddyPress Survey

BuddyPress 3.0 Dev Cycle

Paul Gibbs is Release Lead for BP 3.0

Paul Gibbs Paul (twitter) is a BuddyPress Lead Developer, Senior WordPress Engineer at Human Made, master of memes extraordinaire, and lives in the UK. His latest project is WordHat, a Behat extension. When not working, Paul enjoys playing video and board games, and luxury travel. You can also find him at byotos.com and at github.com.

Following are a few of his plans for this dev cycle.

Nouveau Template Pack

The items listed below need to be resolved before we ship bp-nouveau and BP 3.0:
1. Review all the superglobals and JSON handlers and nonces, for security.
2. Review all i18n strings.
3. Review of custom SQL.

BuddyPress.org Redesign

Paul is also reviving the development of the site’s redesign. If you’d like to participate, get in contact with Paul on our Slack. The current code is at https://gitlab.com/paulgibbs/bporg and there’s a staging site at http://dev-bporg.pantheonsite.io

Dev Chats

In lieu of the weekly dev chats in Slack, Paul would be using this site for async contribution updates and explore other avenues for developer chats like video hangouts, etc. Expect an announcement soon.

Schedule of Release

BP 3.0 is expected to be released early in the first quarter of 2018. We won’t be following the 3- to 4-month scheduling as in the past BuddyPress releases. BP 3.0 will be a focused release, specifically introducing the new Nouveau template pack along with other bug fixes and enhancements along the way.

BuddyPress Case Studies

Thanks to all who have shared their BuddyPress use cases with the community! The list of published articles this year are available in the BuddyPress Codex for your reference. If you’re interested in sharing your own BuddyPress use case, fill up this form and we’ll get back to you ASAP.

#3-0, #dev-chat

Dev Chat Summaries as of July 5, 2017

BP 2.9 Schedule

  • Release Candidate 1 – July 12, 2017 (String Freeze)
  • Target release date – July 26, 2017
  • 58 tickets in queue (2 open. 56 closed)
  • BuddyPress Canonical Redirects and Trailing Slashes (#7555)
  • Welcome Screen for BP 2.9.0 (#7563)

bp-nouveau

Note: Per hnla’s BP 2.9 beta 2 announcement, bp-nouveau inclusion to core was moved to BP 3.0

Commits included tackling various tickets & help from dcavins, slaFFix, mercime, r-a-y, and DJPaul:

  • Issues with Ajax star actions in messages were corrected by dcavins.
  • Some markup errors & text strings corrected by slaFFix.
  • Tooltip implementation by mercime started its round of commits updating elements removing, title attr & replacing with data attr & strings along with ARIA attr where applicable.
  • Classes for vert nav layouts were refined & made a little more distinct between dir & single screens with a generic class for common properties.
  • Refined & corrected issues with markup for single screens filters/search bar to ensure correct markup and template driven.
  • Provided additional styling classes to allow inputs in addition to buttons can be styled as text links & changed cancel/resets actions to visual text styling.
  • Merged PR from R-a-y for loading Customizer conditionally.
  • Merged dcavins’ sitewide notices branch.
  • We’ve begun looking at the integration of Nouveau to core. DJPaul added a re-factoring of the plugin loader along with updates to bp core to effect the switcher. If you’re using the plugin version you might need to revisit the settings screen and re-select Nouveau as TP to use.
  • In addition, hnla has created a new MS install of WP/BP trunk copying the actual bp-nouveau folder from the plugin to the bp-templates dir in core, with a temp register template pack array added to core. He has successfully run Nouveau under BP as opposed to as a plugin. This was a nice proof of concept check that didn’t show any massive issues.

BuddyPress Team at WordCamp Europe 2017

BuddyPress team in Paris, 2017

From left to right: Laurens Offereins (Offereins), Slava Abakumov (slaffik), Boone B Gorges (boonebgorges), Mathieu Viet (imath), and Henry Wright (henry.wright). BuddyPress team members pose in front of “Pietro”, the BP 2.4.0 release pizza place. (Photo courtesy of Mathieu Viet)

Slack logs:
June 21: https://wordpress.slack.com/archives/C02RQBYUG/p1498072419097887
June 28: https://wordpress.slack.com/messages/C02RQBYUG/p1498676590270915
July 5: https://wordpress.slack.com/archives/C02RQBYUG/p1499281475578336

Dev Chat Summaries for June 7 & 14, 2017

New Schedule for BP 2.9

  • Beta 1: June 21, 2017
  • Release Candidate 1 (string freeze): July 12, 2017
  • Release Date: July 26, 2017
  • Currently 66 tickets in queue (30 open. 36 closed)

BP 2.8.3

  • Currently 4 tickets in queue (all fixed)
  • Release Date: To be announced.
  • Plus one more ticket coming up from @johnjamesjacoby

bp-nouveau

Updates from @hnla on the work done during June 1-14:

  • Various adjustments for styles.
  • Tackling the button args defaulting some to button from the default anchors.
  • Button JS functions were re-factored to check button element type and fetch the wp_nonce according to data attr or href so we can allow switching in templates of elements without losing Ajax functionality.
  • NPM modules were all updated thanks @netweb.
  • @mercime added a round of further A11y updates for aria-labels on navigational elements, added updated color vars to pass 4.5:1 color contrast checks, and we added ARIA state changes to button elements along with attendant JS & Ajax adjustments to toggle them.
  • Updated table styles a tad to improve line separation for notification & adjusted cell widths and vertical centering for checkboxes.
  • Updated act update excerpts ‘view’ link to improve visually, updated excerpts so they match across components.
  • Minor button $args updates to data attr string nonce name for uniformity.
  • Updated group homepage admin info message for styling.
  • Updated navigation wrappers to use nav element for better semantics thanks @mercime
  • Completed hopefully adding aria state attr to action buttons toggling elements.
  • Also thanks to @dcavins for taking the Star action Ajax issue on

@hnla: “We need to think about #7157 UI to pick Template Packs and how we can tackle that.

“We are pushing onwards and upwards but we do still need the community to start to wade in running any checks in general, or picking up tickets where they can. I’ll be trying to move tickets around a bit in the projects card screens.

“There’s an interesting ticket re: new custom homepage for Groups/User. There’s discussion on how these pages could have custom content manipulated/added. Perhaps someone might like to look at that and see what they can come up with? It would be pretty much an open book to play with https://github.com/buddypress/next-template-packs/issues/19

“Under ‘General Tasks’ we have a number of tickets of a ‘bug’ or ‘enhancement’ label, some are relatively straightforward & we could do with any help to grab a few of those and tackle.
https://github.com/buddypress/next-template-packs/projects/1

“I would like one of the lead devs to step up at some point and offer some thoughts on how we approach two fundamental requirements, those being implementation of the dashboard selection of template packs and the second being looking at the principle loader file in the plugin root next-templates-packs.php with a view to how this is re-factored to serve as a means of doing the necessary template registration, especially if additional template packs are provided either as plugin or in core.”

Trac Tickets

Fix for profile image upload on Microsoft Edge breaks iOS Safari and Chrome (#7416) @r-a-y has committed fix in trunk.

Use bp_get_admin_url() in XProfile instead of hard-coded links (#7536) @JohnPBloch has submitted patch. @johnjamesjacoby will be testing this in the multitude of environment setups that we support.

Plugin short descriptions are limited to 150 characters (#7452) @johnjamesjacoby will handle this.

Use JOIN rather than Subquery on user search (#7452) @r-a-y requests feedback from lead dev.

Only load component action and screen code when we’re on the component’s page (#7218) @r-a-y has patch. @boonebgorges has posted feedback and @r-a-y has responded in ticket.

When searching on the activity page, you cannot search using an author’s name (#3889) Ticket has been punted to future release.

Trailing slash needed for URLs for compatibility with LiteSpeed (#7448) @r-a-y has patc. @johnjamesjacoby has posted feedback and @r-a-y has responded in ticket.

`bp_member_profile_data( ‘field=Non existing fields’ )` (#7516) @r-a-y has committed fix to trunk.

Messages are not deleted from DB, when user is deleted (#7523) @r-a-y has patch. @johnjamesjacoby has posted feedback.

Slack logs:
June 7: https://wordpress.slack.com/archives/C02RQBYUG/p1496862133456977
June 14: https://wordpress.slack.com/archives/C02RQBYUG/p1497466925349980

Dev Chat Summaries for May 24 & 31, 2017

bp-nouveau

@hnla gave an update of the work done for the past two weeks:

  • Improved Group invites screen
  • Updated the search styling/markup to match to directory search input
  • Improved general styles and icons
  • Updated the action button for groups and activity arg functions to better check and switch the url nonces from href to data attr depending on element selection.
  • Tweaked JS to ensure we target correctly the newer elements so screen messages display within grid loop boxes
  • Added Ajax support for state changes
  • Changed a range of action links to button elements
  • Added missing labels for form controls
  • Merged pull requests from new contributors, @jon007 & @s-ferdie, for cover-image-header correction and adding parameters to allow Sass variables to be overridden.

Trac Tickets

Remove `remove_node` ‘edit’ in `bp-core-adminbar.php` (#6831) @tw2113 has committed patch to trunk.

Remove/Replace `title` attributes with Tooltips usable in all devices (#7188) Screenshots on Mac OS for latest patches posted by @dcavins. Feedback from @hnla. @r-a-y recommended using `data-bp-tooltip` instead of `data-title`. @mercime will refresh patch and commit.

Only load component action and screen code when we’re on the component’s page (#7218) @r-a-y has patch. @boonebgorges has posted feedback.

Don’t show the sorting box and the meta information (#7312) Related: #6754.

When user is not logged in, in he/she clicks email link to view new messages gets 404 page when should get login page (#7349) @r-a-y has committed a couple of patches fixing redirection issue and adding notices. Has new patch for `visibility` and `redirection` updates.

Fix for profile image upload on Microsoft Edge breaks iOS Safari and Chrome (#7416) @r-a-y has patch. Needs iOS user to test. Update: @mrjarbenne has tested patch and the issue still exists on Mobile Safari on iOS.

Resize member avatar error with cyrillic (not latin) filename (#7484) @r-a-y has patch. @boonebgorges: “I’d have to spend more time with it to understand in greater depth, but at a glance it looks like a clever fix.”

`bp_group_has_members` performs unnecessary query (#7513) @dcavins has patch. Dev feedback requested.

Messages are not deleted from DB, when user is deleted (#7523) @r-a-y has refreshed patch based on discussion during dev chat.

Counter for “All” tab for activity and groups table (#7526) @bhargavbhandari90 has patch. @r-a-y will review the patch.

Fetching of ALL users from `bp_friends_prime_mentions_results()` for non logged in users (#7530) @r-a-y has committed patch to trunk.

Slack logs:
May 24: https://wordpress.slack.com/archives/C02RQBYUG/p1495652618137375
May 31: https://wordpress.slack.com/archives/C02RQBYUG/p1496257388695772
(A WordPress Slack account is required to view the logs.)

Building Bridges between Students and Educators in Nepal

Arjun Bhattarai shares how he built the largest community website for students in Nepal at https://buddypress.org/2017/05/building-bridges-between-students-and-educators-in-nepal/

#case-study, #developers

General Summary as of May 17, 2017

This post covers the BuddyPress Dev Chats for May 3, 10, and 17. Information has been updated to current status.

bp-nouveau

A friendly reminder from @hnla re testing and patches for bp-nouveau.

@hnla has committed styling updates, concentrated on some issue areas with what’s new update form and user screens, in particular messaging and the bulk action filters & search form elements, hacking away at the Backbone templates to bring the markup into line with the general selector and search form visual styles & updating the JS show/hide events to work with classes rather than jQuery .hide().

@hnla: “The what’s new form could still do with some further attention on the general show/hide nature of its control actions, I removed some earlier styles & tidied up the new autocomplete input where `post in groups` is selected, however we currently have no onBlur event to hide the controls so anyone that fancies delving into backbone could help out looking at what we could do to add some fun to the what’s new form. At this stage We have clean code supporting this feature, pretty much a blank canvas for playing around with effects that might look good rather than our rather staid `onfocus` open.”

@r-a-y reviewed bp-nouveau. Fixed issues for loading Ajax on component request and updated actions now they’re button elements, comments counts, notice errors, and set up the `buddypress-wrap` class dynamically.

@netweb has kept on top of the tooling for the project, updating the style-lint config modules, updating grunt file and fixed linting issues.

@mercime has been working on #130 where consensus during dev chat was to use option 2 for the implementation.

@dcavins was added to the sitewide notices ticket #137.

At this stage we need more devs taking tickets/project cards and moving into In Progress column.

Trac Tickets

Include BP Edit Group Slug into the core (#6014) @dcavins has committed patch to trunk.

Messages: member page messages are queried for the loggedin user (#7096) @dcavins has refreshed patch. @r-a-y and @Offereins have provided feedback.

Remove/Replace `title` attributes with Tooltips usable in all devices (#7188) @mercime has examples in ticket. The choice was the second example, though  @dcavins is making a case for the third example.

Only load component action and screen code when we’re on the component’s page (#7218) @r-a-y has patch.

Use JOIN rather than Subquery on user search (#7442) @brandonliles has patch. Needs dev feedback.

Resize member avatar error with cyrillic (not latin) filename (#7484) @r-a-y has patch which relies on newer PHP functions (v5.4). It’s either that or wait for WP core to fix #WP22363 #WP24661 #WP15955. Dev feedback requested.

bp_group_has_members performs unnecessary query (#7513) @r-a-y has patch. Dev feedback requested before committing.

BuddyPress Case Studies

Thanks to all who have shared their BuddyPress use cases with the community! The growing list of published articles are available in the BuddyPress Codex for your reference. If you’re interested in sharing your own BuddyPress use case, fill up this form and we’ll get back to you ASAP.

Slack logs:
May 3: https://wordpress.slack.com/archives/C02RQBYUG/p1493838015001913
May 10: https://wordpress.slack.com/archives/C02RQBYUG/p1494442868540761
May 17: https://wordpress.slack.com/archives/C02RQBYUG/p1495047787891614
(A WordPress Slack account is required to view the logs.)

#dev-chat