I have a website running BuddyPress with 50000 users and we are hit by a lot of spam user creations. We managed to mitigate it but it ends up bloating the uploads folders with thousands of avatar images that end up staying there when deleting user accounts. Is there a hook or function dedicated to handling avatars that is not working on my hand when deleting a user or is this normal?
I saw that this topic asked the same question a looooong time ago but no answers and can’t find anything in documentation about that.
How to discard unused uploaded avatar images in wp-content/uploads/avatars
If you switch to BuddyPress Legacy in the settings, this problem resolves. But I cannot post public or group messages, only private messages. Can’t add anything to the group feed.
I like to hire to add some Buddypress plugins features to my website is anyone.
I have a website almost ready so it’s not online it’s under construction and if you like we can do a zoom call and I can share my screen on the features I need for my website
I have inserted this code in bp-custom.php:
<?php
function my_redirect() {
wp_redirect( home_url() );
error_log(‘Hello log’);
exit;
}
add_action( ‘bp_groups_posted_update’, ‘my_redirect’ );
?>
Writing is done to the log file, but there is no redirect after a user has posted an update in “Group Activities”. Why not?
As a test, if I use “wp_redirect( ‘https://buddypress.org/’ );” instead of “wp_redirect( home_url() );” and use the action hook “init” instead of “bp_groups_posted_update”, and press F5, I am redirected to https://buddypress.org/.
I use the latest version of WordPress and BuddyPress.
BuddyPress is the only plugin activated.
WordPress is installed in a subdomain.
My issue still happens with themes Twenty Twenty-One, Twenty Twenty-Two, Twenty Twenty-Three and Twenty Twenty-Four.
Hello! Is there a way to make segmented communications based on filters related to BuddyPress profile fields? For example, I would like to first filter users who have a certain country in their profile field. Once those users are filtered, I would like to communicate exclusively with them via email without needing to export them to a CSV file or similar.
Thank you very much, regards.
OK UPDATE: the issue was ‘Grimlock for Buddypress’ plugin which Theomosarus have just updated. It’s fixed the profile /members/ display page – but not the /groups/ page. Perhaps they are aware of that and working on it. Here was their note on their update;
1.5.3 – 2024-05-02
Fix members list display with BuddyPress 12.4.1+
If anyone can contact them regarding the same issue exists with /groups/ that would be great as I can’t reach them.
–SOLVED–
Update: I have discovered a work-around and would like to post it here in case it is useful to anyone else.
I installed both BuddyPress for its membership functions (eg profiles, directory) and also “User Registration” plugin (https://wordpress.org/plugins/user-registration/) for the registration form. User Registration plugin allows you to have more than one user registration forms and you can set what role you want each registration form to automatically assign to the user that signs up with that form. For example, you can create a form for teachers, and a separate form for students, and have the forms assign the respective roles to registrants of the form. Of course you need to create the roles first: t do this, use some sort of plugin that lets you manage user roles. I used “Members” (https://wordpress.org/plugins/members/). You can then create restrictions using this plugin and control the pages that each user role can and cannot have access to.
Update clarification:
Apparently member types is front end and visitors to the site sees something like “User1 is an student” and “User2 is a teacher” where student and teachers are the member types, but user roles is back end and can be used to create conditions in wordpress.
What I’d like is something that allows people to register as different roles/types that can then allow them to be automatically (as opposed to the site admin having to manually assign each user after they sign up) restricted or redirected to different pages. For example, people who want to register as students use Form1 which automatically registers them as role/type “student”, and people who want to register as teachers use Form2 which automatically registers them as role/type “teachers”. Then all teachers get access to quizzes and quiz answers page, but students only get access to quizzes page.
I am only testing so I would like a free alternative, I don’t mind using several plugins to work together. I saw an old post on Stackexchange recommending a plugin called “Buddypress User Account Type” but this plugin is not available anymore.
Is there anyone who knows of an alternative?
I would like to create multiple registration forms for different membership types, just like the people I saw in this post:
Multiple Registration Forms?
I saw that Webizone and Minijuji1 had a solution. But, I am not a technical person and was already stumped in step 1 when Webizone said to “Copy the the contents of the bp-templates/bp-legacy/buddypress/members/register.php into the new registration page template”
I am not sure what the “registration page template” is. Surely it is not a new page within the wordpress dashboard? Where do I find or how do I create this new “registration page template”?
I also do not understand hooks at all. Is there an easier explanation or solution for non-web developers?
Hi Thinlizie,
Thanks for the suggestion. I can confirm that the code in the original link I posted works using Code Snippet.
However, I prefer to have as few plugins as necessary. I know how to access the control panel of my site, so I prefer to add the code directly to the php file. However, there is no “functions.php” file in my control panel – not in the wp-contents, not in plugins nor buddypress folder. Do you know where I can access the correct folder for the correct php file to add the code to?
Many thanks
Hi ThinLizzie,
Oh I see, not a developer so didn’t know it is PHP code.
Could you tell me which PHP file to add it to? I assume it has to be in the plugin folder (ie Buddypress) in the wordpress “wp-content” -> “plugins”-> “buddypress” folder in the back end files? But i don’t know which php file it should go in.
I’ve tried adding it to the end of a “bp-loader.php” and a “class-buddypress.php” but neither seemed to work.
Thank you
Hi Steph,
The code you linked to at the Buddydev site works for me.
I am using Buddypress 10.x
Nouveau template pack.
It is PHP code (not CSS) so should be added to your site accordingly.
It’s not something I know about, me not being their customer. Clearly they have allowed you to install BuddyPress (BP) and there should be some support available.
I have the WordPress Creator Plan.
In left side menu under ‘Users‘ there is ‘Member Types‘.
Clicking on ‘Member Types’ opens this (screenshot) page and this is my setup with created Member Types: Screenshot .
The plugins I have active are:
– (BuddyDev) BP Auto Login on Activation
– Activity Pub
– Akismet
– BP Auto Group Join
– BP MPO Activity Filter
– BP Profile as Homepage
– BuddyPress
– BuddyPress Username Changer
– BuddyPress Xprofile Custom Field Types
– Crowdsignal Forms
– Crownsignal Polls & Ratings
– Gutenberg
– Imsanity
– Jetpack
– Jetpack Boost
– Kirki Customizer Framework
– Leira Letter Avatar
– Link Page to Groups
– Page Optimize
– rtMedia for WordPress
– WordPress.com Editing Toolkit
– WP Headers And Footers WP User Login Notifier
– Yoast SEO
– Youzify
I have disabled Youzify and BuddyPress Xprofile Custom Field Types to see if they made the Member Types possible to create but no.
Thank you for your patience.
Hi, my requirement is to add custom fields on the buddypress activity. I cant edit the existing bp plugin file. i like to add it aa new simple plugin file. where should i keep my plugin file
I’ve not set any member types, my understanding is that although BuddyPress launched the ability to support member types, the ability to create them has to be from a plugin.
There might be an error with BuddyPress where it decides to sometimes reveal this menu link, to go back to being invisible.
I have tried to deactivate all plugins, and then activate them one by one to see if they cause the issue — neither did.
I can’t edit my previous comment so I will post an update here:
I just discovered that I do have Buddypress Nouveau. I did try the custom CSS but it didn’t work for me.
Hello,
I would like to remove the statement that shows on the registration page:
“Registering for this site is easy. Just fill in the fields below, and we’ll get a new account set up for you in no time.”
I see there has been other questions about this, (for example, here: https://buddydev.com/support/forums/topic/hide-register-text-in-bp-regsiter-form/) but it has not been resolved for me. I am not using Buddypress Nouveau. I have BuddyPress 12.4.0.
Thank you
Hello,
I am using WordPress 6.5.2 and BuddyPress 12.4
I would like to know how I can remove the “username” field in the registration form.
I see there has been A a lot of requests for this in the past but no solution. It makes so much more sense to just use the email address to log in rather than force-having a username of which your preferred one may be taken. An email address is unique already.
Is there a way to PLEASE remove the Username field?
Also I really do not like that the BuddyPress registration page has an “account” section with the username, email address and password and a separate “profile” section with the name in it. Unfortunately, after testing every single plugin on the market (I am only testing so not investing money on paid plugins right now), buddypress is the only one that has the features I need, even though it has major downfalls too. One of these downfalls is the annoying compulsory use of a “username” section in the registration form. In the back end, the default registration field cannot even be deleted.
Is it possible to have a 100% custom registration form with BuddyPress? All I want is something like:
Fist Name
Last Name
Email address
Password
Repeat Password
And have a separate profile section once the user logs in using their registered email address.
Thank you
A Profile Field Group goes back and forth being invisible to visible to members, moderators, admin, etc – regardless of User Role.
WordPress version: Latest
BuddyPress version: 12.4.0
Link to site: http://www.bygrace.faith
Link to screenshot of Member Types granted access: https://bygrace.faith/wp-content/uploads/2024/04/Skarmavbild-2024-04-28-kl.-13.57.41.png
admins, moderators, christian-creators — are the only three Member Types set to have access.
check if your theme offers different page templates for BuddyPress pages, allowing customization of layouts and sidebar settings. If available, utilize these templates accordingly. Alternatively, explore the use of custom CSS to hide the sidebar on specific pages where it’s not desired, while ensuring it remains visible on profile and group detail pages
Hello there,
I have adopted the maintenance of a BuddyPress based site for a client.
They have closed down registration so that every new member has to be accepted via the Member Requests function within BP.
Currently we have a number of moderators on the site that would ideally be able to process these new member requests, and as they aren’t on the site 24/7 would need to receive the new member request email that is currently sent to admins only.
Is there any tangiable way to do this in BP? So in short, the email “X would like to join The Fosil Group” could be sent to a number of pre-defined emails or specific users?
I have some issues with the sidebars and full width-settings.
I want no sidebar in all my pages, but I want a right sidebar in:
– the Profile Detail Pages
– the Group Detail Pages
I go go Costumizer -> BuddyPress -> Profile -> Layout -> Choose right Sidebar.
But when I add some conent in the “Buddypress Right Sidebar” it will be shown also in my Group Directory.
The same problem is in my Groups (Groups Directory and Group Detail Pages)
I do not want that.
What do to here?
first of all, the language of my WordPress + BuddyPress site is Zh_CN, I try to translate some error meaasge to English, but it maybe still different to the EN version.
wordpress:6.5.2 Zh_CN
Buddypress:12.4.0
I enable the invitation function in buddypress options, but when I click the link “send invitation”, it direct to a missing page, the URL is https://<www.mysite.com>/%e6%88%90%e5%91%98/<my_username>/%E9%82%80%E8%AF%B7/send-invites/
error message is “the page was not found”.
how to solve it? Thank you!