Hi,
Meet “Alfano” our first major release for 2021!
Hi,
Meet “Alfano” our first major release for 2021!
@im4th noticed the only feedback we got from this beta release was about the BP Beta Tester plugin. The issue about this testing tool was fixed in 1.2.0. Does it mean everything’s fine with 8.0.0? We’ll see with the release candidate that was published 4 days ago: if you haven’t tested it yet, please do so 🙏.
We’ve been talking about the BuddyPress code reference. It’s still under construction and we really need to make it available asap. @vapvarun had the opportunity to test the parser tool and the only thing we need to make sure is to avoid parsing the BP REST API controllers to avoid some kind of duplicate information with the BP REST API documentation. As it was getting late @im4th suggested to have a specific dev-chat about it.
@dcavins shared a proof-of-purpose plugin that adds some limitations on who can send site membership invites.
If anyone has ideas for limits to add, please let @dcavins know adding issues to this GitHub repository.
It will happen on June 9 at 19:30 UTC and of course in #BuddyPress. We’ll probably talk about the first results/feedbacks about the 8.0.0 stable release but If you have ideas or questions, feel free (and we are strongly encouraging you) to comment this summary to share them!
PS: we count on you to test the 8.0.0 release candidate!
With the release of BuddyPress 8.0, your BuddyPress community can grow organically by referral, attracting new members with personalized invitations from existing members. This feature is deactivated by default but can easily be enabled by visiting the BuddyPress Options screen at WP Admin > Settings > BuddyPress > Options. Enable membership invitations by ticking the checkbox labeled “Allow registered members to invite people to join this network.”
When invitations are enabled, users can accept an invitation and register for your site even if “Anyone can register” is disabled. This means you can disable public registration and enable invitations to create a site with membership by invitation only. Or, enable public registration and use invitations as just another way to spread the word about your community.
Once invitations are enabled, your members will have access to an Invitations tab in their member profiles. Simply enter a valid email address and optionally add a personalized message to send an invitation to the new potential member via email.
Once invitations are sent, a member can view a list of pending invitations and resend the email or cancel the invitation.
The invitee receives an email that includes a link to the registration form (with a customized acceptance key that allows access even if public registration is disabled). The message also includes the personalized message from the inviting user and an unsubscribe link which allows the invitee to opt out from future invitations from your site. The email’s content is customizable via the BuddyPress Emails admin interface.
If the invitee chooses to accept the invitation, he or she can follow the customized link to the registration form.
When a new membership is the result of an invitation, the activity item will be expanded to include the name of the inviter.
BuddyPress site admins can also view a list of all invitations and opt-outs from the WP Admin dashboard. The new screens are available at Tools > BuddyPress.
On the “Manage Invitations” screen, site admins can view pending and accepted invitations and choose to resend the email or cancel the invitation.
On the “Manage Opt-outs” screen, site admins can see opt-out requests, with a record of what type of email resulted in the opt-out request, and who sent the email. This screen can be used to see if any particular component or plugin or user is abusing the system to send unwanted emails that result in many opt-outs. It is also possible find a specific opt-out by searching for an email address, which is useful, for example, in the case where a user who has previously opted out changes his or her mind and would like to have the opt-out request deleted. Note that the email addresses associated with an opt-out request are hashed before being stored in the database.
We hope this new feature enriches your BuddyPress commmunity by attracting new, engaged members!
Hi!
Our development meeting will take place tomorrow (May 26 at 19:30 UTC) in #BuddyPress.
Here’s our agenda:
8.0.0 release schedule’s reminder
If you have specific/additional points you need to discuss about, please share them into the comments area of this post.
👋
If registrations to your site are open, your new members will now receive a warm welcome email once they activated their account.
By default its content is very simple, it contains:
But as you probably know BP Emails are customizable emails, so you can edit this content and make it very unique to your community. Let’s remind ourselves how to achieve this.
First, from the Emails menu of your WordPress Dashboard, look for the [{{{site.name}}}] Welcome!
BP Email, mouse over its title and click on the “Edit” link as shown above.
Then edit the content of your email with the text of your choice. I chose to use one containing a link using a custom email token: <a href="{{{groups.url}}}">
. In order to replace the groups.url
token with the Groups directory permalink before the email is sent, I need to make sure this token is defined using the bp_send_welcome_email_tokens
filter. The code below shows you an example of how you can do it.
/**
* Add the Groups directory URL to the welcome email's tokens.
*
* @param array $tokens An associative array of email tokens.
* @param int $user_id The ID of the user who activated their account.
* @return array An associative array of email tokens.
*/
function bp_custom_code_add_groups_url_to_welcome_email_tokens( $tokens = array(), $user_id = 0 ) {
// I known, as the Admin of the site, the Groups component is active, let's include a link to its directory.
$tokens['groups.url'] = bp_get_groups_directory_permalink();
return $tokens;
}
add_filter( 'bp_send_welcome_email_tokens', 'bp_custom_code_add_groups_url_to_welcome_email_tokens', 10, 2 );
And.. It’s working 🙌 See the screen capture below 😇
Hello everyone,
We’ve just updated the plugin you can use to test BuddyPress pre-release versions ! Please make sure to upgrade it from your WordPress Dashboard, and of course don’t hesitate to test the latest 8.0.0 beta release 😉.
Here’s the announcement post about it we just published on BuddyPress.org:
😘
@vapvarun checked our support forum and hasn’t found concerning feedbacks relative to this release.
@im4th replied to one of the comments that was posted on the announcement post about the next WordPress Full Site Editing (FSE) & Widgets Block Editor features. He tested the first one before our meeting and told us about his concerns during the chat. In short it’s a breaking change for the BuddyPress Theme Compat API. A pretty long discussion took place between @johnjamesjacoby @im4th and @vapvarun about it. We finally decided to open a very important ticket on our Trac to decide whether it’s on BuddyPress or FSE to adapt. If you have an opinion about it, please take a few minutes to share it with us.
bp_core_new_nav_default()
function ticket (#8471), we decided we were too close to release date to do the necessary tests to be sure the patch doesn’t introduce some regressionWe agreed to build a new beta release before our release candidate. @im4th will take care of it next week.
It will happen on May 26 at 19:30 UTC and of course in #BuddyPress. If you have ideas or questions, feel free (and we are strongly encouraging you) to comment this summary to share them!
PS: we count on you to test the 8.0.0 beta release!
Hi!
Please join our development chat tomorrow (May 12 at 19:30 UTC). It will happen in #BuddyPress.
Here’s our agenda:
8.0.0 release schedule’s reminder
If you have specific/additional points you need to discuss about, please share them into the comments area of this post.
See you 🔜
Until now, only the Primary group of xProfile fields was displayed on the registration form of your community. 8.0.0 gives you the freedom to choose any field from any field group to add to your site’s registration form.
On a fresh & new install, the “Profile Details” section of the sign-up form will only include the Name field of the Primary xProfile field group.
If you upgraded BuddyPress from a previous version, the fields you included into the Primary xProfile field group will all be used as the default ones into the “Profile Details” section of the sign-up form.
To manage the fields to use into the “Profile Details” section of your sign-up form, head over to the Users > Profile Fields Administration screen. You’ll discover a new tab named “Signup fields” at the last position of the xProfile Groups navigation.
Once you activate this tab and just under it, you’ll find a message explaining how to use drag and drop to pick the fields you want to use into the sign-up form. You can select any fields from any other xProfile field groups.
There’s another way to add fields to the sign-up form thanks to a specific metabox into the xProfile single Field edit screen.
You can also activate the Signups metabox checkbox to include a field into the registration form.
Signup fields are added the ones under the others. If you need to change this order, you can do it at any time using drag and drop inside the Signup Fields tabbed area.
Finally, If you need to remove a field from the signup form, you can do it using the corresponding “Remove” link (displayed at the bottom right of the Field’s box) into this tabbed area or from the xProfile single Field edit screen deactivating the Signups metabox checkbox.
Feel free to read the story of this feature on our Trac to know more about how it was built.
If your theme uses a custom buddypress/members/register.php
template, please make sure to update it so that it uses the new way of building arguments in order to make the xProfile loop fetch the Signup fields.
bp_has_profile( bp_xprofile_signup_args() );
Please, consider testing BuddyPress 8.0.0 pre-releases to make sure everything’s fine for your specific configurations.
End users, don’t worry: if they forgot to do so when BuddyPress 8.0.0 is released, the back compatibility mechanism we’ve put in place will make sure you can enjoy this new feature.