The problem is that in wp admin the wordpress control panel a long time ago, 6 months ago I think I deleted the activity page and now I don’t have it anymore, it doesn’t appear among my pages that I have on my fingers, and still I don’t know how it works . activity if I deleted it, I went to the trash can but I can’t recover it anymore, and I think this is the problem, do you have any idea how I can restore the activity page? please help me
To assign a custom template to your BuddyPress registration page instead of using the standard blog post template, you can follow these steps:
Install a Page Builder: Consider using a page builder like Elementor along with the BuddyBuilder plugin. This combination allows you to create a custom registration template easily.
Create a New Template: Navigate to Templates > Add New in your WordPress dashboard. Choose “BuddyPress” as the template type and select the “Register page.”
Design Your Template: Add the necessary widgets such as “Account Details,” “Profile Details,” and a “Submit Button.” You can also customize the layout to fit your site’s design better.
Set the Template: Once your template is created, ensure it is set as the default for the registration page in the BuddyPress settings.
Test Your Changes: After saving your changes, visit the registration URL to confirm that the new template is applied correctly.
By following these steps, you should be able to assign a custom template to your BuddyPress registration page successfully. If you have any further questions or need assistance, feel free to ask!
Also, if you’re considering investing in real estate, check out Faisal Town Phase 2 for a prime location with modern amenities.
The create_function() was deprecated as of PHP 7.2.0 and was removed in 8.0.0 (see create_function). Since you are using PHP 8.x then, it would be best to not use this plugin until it has had all compatibility issues resolved. On another note, there seems to be some interest by individuals other than the original developers to provide some sort of future support for this plugin (see Would like to take over this plugin, or help – Support forum for BuddyPress Follow).
I’ve got a fixed version of this on Buddyuser dot com (The BP Follow page), The other alternative is to look up those errors on Stack Overflow and apply the fixes yourself.
I’ve asked to contribute to the Followers Plugin and have had a positive response, so hopefully, this will be folded into the WordPress Library soonish.
Hello all,
I have hidden myself as an admin, on my test site running buddypress, for obvious reasons. However, I discovered that when composing a message using Buddypress messages, when the user types in a partial name of the recipient, even a single letter, everyone that matches that name will show up, even if they are hidden from the directory. For example, typing “@a” will show “@admin” (me) as well as “@adam” or “@amanda” and this is no good.
Is there a way to remove certain users (ideally by user roles) from showing up in the “to” field?
I have WordPress 6.6.1 and Buddypress 14.0.0.
Thank you
I saw this post and it was ultimately not resolved but I can’t reply to that, so am starting a new post. Skip to the bottom to see my specs.
In that post, it is said that the issue may be due to usernames that have spaces in them.
I set up a test site with Buddypress and some test users. I have 4 test users whose names have spaces in them, like “First Last” as opposed to “FirstLast”. 3 of them cannot access any Buddypress links (such as mydomain.com/members) but 1 can. I can’t figure out how to fix this. I don’t have any redirect rules activated.
I have WordPress 6.6.1 and Buddypress 14.0.0.
Any help is appreciated.
Hello. I needed to fix a problem on my website romancingrarehearts.com. While doing so, I deactivated and reactivated Buddypress. Then I found that most of my pages were gone. Is there a trash bin that I can get them back from? Or are they unretrievable? I’m using theme Twenty Fifteen, buddypress 14.0.0, and WordPress 6.6.1.
It seems like WordPress has taken control over new member registrations.
The membership request must first be approved under WP User – Manage Signups. Once that is done, BP Registration takes over, and an email is sent, and the new user is marked for approval. (As usual)…
Hello
I have wordpress 6.1.1 and buddypress 14.0.0.
Just got the news that people have been trying to jpin the website but they aren’t gettiong the buddypress activation emaiuls.
Please advise. Thank you.
Nevertheless using this old editor isn’t a good approach even they are no current security issues. Better would be, let admins easy use any other editor they want.
To make tinymce 7 work cost me days and sleepless nights. Meanwhile I also found a solution to remove the rich text option and avoid core mods. But I still had to modify kses to prevent WordPress/BP from stripping off my br and p tags afterwards on Tiny 7.
Also, the “security issues” as far as the ticket indicates, are not applicable to the version WordPress uses. Meaning that WordPress is updating to the versions without those issues.
I’m running PHP 8.2, have deactivated all plugins other than BuddyPress, have switched to a default WordPress theme (2023), and have tried BuddyPress 12.2 and 14.0 – and BuddyPress will not send out emails to new members at all.
This includes when they self-register, when admin sends them reminder emails manually, and when registration moderation is used and admin sends them an approval email.
The BuddyPress plug-in itself says that emails are successfully sent, but they do not arrive and (when active) the WP Mail Catcher plugin does not record them as having been sent successfully or having failed: it does not acknowledge them at all.
All other emails from my site work fine when other plugins are active – including 2FA, forgotten passwords and Newsletters. Can anyone suggest what the issue might be, or what next steps I should take to troubleshoot BuddyPress? Thanks.
This was fixed and will be released as part of BuddyPress 14.1. https://buddypress.trac.wordpress.org/milestone/14.1.0
@martenw
Hi there, would you like to open a bug report in trac for this?
https://buddypress.trac.wordpress.org/
@mike8022 It’s certainly something something that I’ve done, because removing items from search can really hit large servers, it’s a known performance issue. So it’s better to not offer search to the bots, so that you can have a more nuanced approach to search for logged in users, and also for people visiting the site. A bot should not ne using search at all, in fact this is a primary part of a DOS attack, to het WordPress constantly searching for none existent pages. So what I’m thinking for my plugin, is to exclude bots from all searches, to give logged in users full search, and to have controls on what site visitors are able to search for. Included in this is the need to have control over the xml sitemap, and to enable hard rules for exactly what site visitors are allow to search for. Include in this a strategy of honeypots and other traps for those with prying eyes.
bbPress tags seem be a bit of a target, as a lot of the security solutions out there do not cover them. it pretty simple to turn those off for not logged in users, and also to choose to turn them off just for bots I reckon, but it shows a comprehensive approach is needed I reckon, and this DOS attack I’m looking at currently is helping my ideas gel into that comprehensive approach. As I see it, ideally, next time I get an attack, I’ll have a single page allowing me to lock down the entire site if I need to.
@emaralive @vapvarun thank you for the information, I can try editing and looking into other solutions when I get a chance but this one seems like a warranted challenge for the BuddyPress Programming team.
@thinlizzie it might be a waste of time at this point until the code is revised to take into account other CONSTANTS and the issue with high resolution avatars, cover photos and group profile photos getting discarded after upload. On one hand, that is nice to save server resources, but on the other hand, it’s frustrating because the images look lousy. It cheapens the look of BuddyPress to be honest.
The BuddyPress also needs more design customization options especially the social feed, it’s convenient to have it generate the “Social Feed” page automatically but that is causing me trouble. I’d love to be able to put that Social Feed as a WordPress Widget or in a shortcode to embed on any page template I want. This way, I can customize the background, add a custom title or whatever else I want. BuddyPress has a lot of Widgets available but I want the Social Feed as well with customization options.
Hello @patlife
To access your account and website on WordPress.com, take the following steps:
Visit the WordPress.com homepage.
Click “Log In” in the upper right corner.
In the box provided, enter your account’s email address or username. More in-depth details are here: https://wordpress.com/support/log-in-to-wordpress-com/
If the above details are unable to fulfill your asking, share more details on what exactly you are looking for.
@thinlizzie No, I didn’t want to include that in the scripting because you can use the regenerate thumbnails plugin for that. Here’s one: https://wordpress.org/plugins/force-regenerate-thumbnails/ You can try that plugin on a few images from the media library first and then run it for your whole site if you find it to be successful. Just use caution.
This is what I came up with and I think it worked to fix the Avatar quality, however, it won’t impact the Profile images for Groups and Group cover photos. Can you point me in the correct direction for the Constants that work with those two?
Here’s my code:
// Set the BP_AVATAR_ORIGINAL_MAX_WIDTH to a higher value
if ( ! defined( 'BP_AVATAR_ORIGINAL_MAX_WIDTH' ) ) {
define( 'BP_AVATAR_ORIGINAL_MAX_WIDTH', 1024 ); // Set to match your largest expected upload size
}
// Adjust the quality of the avatar resizing process
function custom_bp_avatar_quality( $args ) {
$args['quality'] = 100; // Set to the highest quality
return $args;
}
add_filter( 'bp_core_avatar_resize_args', 'custom_bp_avatar_quality' );
add_filter( 'bp_core_avatar_thumb_resize_args', 'custom_bp_avatar_quality' );
add_filter( 'bp_core_group_avatar_resize_args', 'custom_bp_avatar_quality' );
add_filter( 'bp_core_group_avatar_thumb_resize_args', 'custom_bp_avatar_quality' );
// Adjust JPEG quality for all images in WordPress
add_filter( 'jpeg_quality', function() {
return 100; // Set to the highest quality
});
// Ensure high-resolution images are used in the HTML output
function custom_bp_use_full_size_avatar( $html, $params ) {
if ( isset( $params['object'] ) && in_array( $params['object'], array( 'user', 'group' ) ) ) {
// Get the full-size avatar URL
$full_avatar_url = bp_core_fetch_avatar( array(
'item_id' => $params['item_id'],
'object' => $params['object'],
'type' => 'full',
'html' => false,
));
// Construct the new img tag with the full-size avatar URL
$html = sprintf(
'<img src="%s" class="%s" alt="%s" width="%d" height="%d"/>',
esc_url( $full_avatar_url ),
esc_attr( $params['class'] ),
esc_attr( $params['alt'] ),
(int) $params['width'],
(int) $params['height']
);
}
return $html;
}
add_filter( 'bp_core_fetch_avatar', 'custom_bp_use_full_size_avatar', 10, 2 );
// Add custom CSS to scale down the avatars
function custom_bp_add_avatar_css() {
$custom_css = "
.avatar,
.group-avatar img {
width: 150px;
height: 150px;
object-fit: cover; /* Ensures the image covers the element's entire area */
}
";
wp_add_inline_style( 'bp-parent-css', $custom_css ); // Adjust 'bp-parent-css' to match your theme's main stylesheet handle if necessary
}
add_action( 'wp_enqueue_scripts', 'custom_bp_add_avatar_css' );
Currently, there isn’t any updated documentation regarding Avatar’s. There is some outdated info/documentation which is missing some information and is inaccurate with other information. A goal of the BuddyPress Team (BP) is to make documentation available that is current and accurate. That stated this will be on my TODO list to release documentation regarding Avatars, although what I’m covering here would be considered a “developer” handbook chapter.
In the meantime, there are a number of CONSTANTS that define the size (Width x Height) of various aspects of an Avatar, some of which you already know. There are other parameters that specify the “quality” during a resize and/or cropping process and these processes utilize WordPress to accomplish these tasks.
For example the CONSTANT – BP_AVATAR_ORIGINAL_MAX_WIDTH – default set to 450 – triggers a resize of an uploaded image that exceeds the size defined by this CONSTANT at a “quality” level of 90 (default). In your case, the 610 x 610 image is resized to 450 x 450 at a “quality” level of 90. Assuming defaults for thumb (50) and full (150) the image (450 x 450 @ 90) is cropped based on the cropping boundary box to the sizes for thumb and full at a “quality” level of 82 (default). In this example, your 610 x 610 image has undergone 2 processes that has reduced the “quality” twice.
To mitigate the degradation process, you could set BP_AVATAR_ORIGINAL_MAX_WIDTH equal to or greater than 610. The point being this would be the max width size before triggering a resize. This now leaves the cropping process at a “quality” level of 82, of which, you could mitigate by setting the JPEG “quality” level to something greater than 82 (max would be 100), assuming that you are uploading a jpg/jpeg image. This is defined at the following URL:
jpeg_quality
I’ll assume you know how to create a filter with a callback to return the desired “quality” level. Whether what I’ve outlined will satisfy your requirements for not being “horribly blurry” is yet to be determined because there may be another reason for “horribly blurry” and this just represents another “process of elimination” step/stage.
What I mean is, I’m uploading a perfectly crisp image that is 610×610 pixels in size and BuddyPress optimizes it and/or scales it down to fit the predefined image size, which is fine, however, in the process makes it look bad/blurry. I want the profile images to look better. Plain and simple.
I don’t want the images to be 610×610 because they are profile images but at the same time I don’t want them looking low res. I think if BuddyPress is setting them as ‘thumbnail’ size then it’s using WordPress built-in optimized image which those are typically horribly blurry.