Hi, I am using Buddypress v14.2.1 together with BuddyPress Xprofile Custom Field Types v1.2.7 to be able to use select2 with a Multi Select Box field in user profiles.
It seems that select2 works correctly as I get a text field in which when typing, the autocomplete function acts and recommends me some option from my list. The problem is that when I select an option, instead of being added in tag format and I can continue typing in the text field to add more options from the list, a tag containing all the options from my list is added and the text field disappears, so I can not continue adding option from my list.
Here is my multi select box field configured to use select2 as you can see in this picture in the top right corner:
Multi Select field
As you can see this new picture, if I access the field and test the autocomplete filter, it seems to work correctly. But when I select an option, this happens and I can not do anything, I can not write to add new options or anything:
select2 problem
What could be happening? Thanks in advance.
Please do me a favor, go to your latest buddypress and wordpress version and try to use the userlist/friendlist, I am 1000% sure you are having the same issues.
Sorry, but works fine for me – even with latest update to BuddyPress Version 14.2.1.
I even run a pretty complex site with a lot of software that needs to be compatible – including custom code setups and so on. Still works 🙂
Hello again 🙂
The user you’re setting up, is this a legit setup with a mail (where you can activate the account)?. If not, then maybe give this a try. Normally users must activate their accounts from a mail they receive upon registration before they’re visible on the directory.
Also, what settings have you setup under the following:
Settings > BuddyPress > Options
This might make it easier for me to see if anything in there is the culprit. 🙂
I installed a blank wordpress on a test environment, clean sheet.
I installed a clean, blank install of buddypress.
I use the lastest update of twenty seven theme.
I have only 1 user, which is me (admin) of the test site, and I show up.
I added a second user, via the admin, that did not show up.
I added this user as a friend, this user show up in “my friends” but not in userlist.
Than I did database repair (fix total members) and fix friendship total.
Than the second user show up.
But when trying to sort on “Alphabetical”, I get “no members found”
All my plugins have been de-activated except for Buddypress.
I tell you, something is wrong. Please believe me.
This is the screenshot: https://ibb.co/W6drH8p
I am not using caching of any kind. It is a clean install. No plugins or other things running. Only my theme and buddypress.
Please do me a favor, go to your latest buddypress and wordpress version and try to use the userlist/friendlist, I am 1000% sure you are having the same issues.
Hi,
WordPress version: 6.7
BuddyPress version: 14.2.1
https://onehomeplanet.com
The issue still happens with Twenty Twenty-Five theme
Though BP says that changes are saved, they are only saved under BP Edit tab and in WordPress user profile, but not under BP View tab (which is the content visitors will see…).
Thanks for your help,
Philippe
Hi
Verify BuddyPress Compatibility with Your Theme or try to other theme Like BuddyX Free
Hi,
This plugin will add an extended feature to BuddyPress. It will use Shortcode for Listing Activity Streams, Members directory, and Groups directory on any post/page within the website.
Wbcom Designs – Shortcodes & Elementor Widgets For BuddyPress
Try FREE BuddyPress Theme: BuddyX – Offers unique layouts with clean code and easy-to-customize options, giving you a whole new way to visualize BuddyPress.
BuddyX
Hi! I want to customize how my buddypress looks like, but I can’t find any plugin. The only one that is available is the buddybuilder for elementor.
Is there any plugin for spectra or astra themes? Thank you.
I stumbled upon my old threat and I want to clarify in case it helps someone:
The problem was in our Network. As soon as 8 people logged in from inside our institutes wlan, the problems occured.
People from outside our network could still easily log in. So no Buddypress problem at all.
I’m encountering an issue with BuddyPress default email notifications on my site. Only two types of emails are being triggered: private messages and friend requests. However, other default emails, such as group invitations and account activations, comments etc, are not being sent. Could you please assist in identifying the cause of this issue or guide me on troubleshooting steps?
Hi there,
My buddypress is updated to the latest verison. Today there was a major WordPress release (6.7) but after upgrading, my buddypress member list, friendships and friendlist stops working. Seems Buddypress needs an update as well, to work with the newest WordPress.
Can you please update the plugin to fit with the latest Wordspress 6.7 as soon as possible?
Thank you !!
Hi @impartialintel
This question should be asked in the previous topic you created -> Allowing only $content with urls to be posted(Error.
The reason is to provide continuity and context to your original request since this topic is directly related. As it stands, this topic is without context and someone would have to connect the dots between this topic and your previous indicated topic in order to understand with specificity and provide some reasonable response.
So, if I can get you to post what you posted above in the indicated topic, we can continue the conversation and get you closer to your desired goal.
Hi BuddyPress Community,
I’m using BuddyPress to create a community on my website, but I’m having trouble with user profile pages not displaying correctly. When members view their profile, the layout is broken, and certain elements (like the profile picture and activity feed) aren’t showing up as they should.
Here’s what I’ve tried so far:
Checked for conflicts with my WordPress theme (using a BuddyPress-compatible theme).
Disabled other plugins to see if they’re causing issues, but the problem persists.
Cleared the site cache and checked the site in multiple browsers, but no luck.
Could there be a setting in BuddyPress I’m missing, or does anyone have tips for troubleshooting profile page display issues? I’d appreciate any guidance on how to get these pages to look as intended!
Thanks in advance!
Assuming you have a Buddypress profile field for your users bio (in this case called ‘Description’), this will work.
function show_description ($atts) {
$user = get_user_by( 'login' , $atts['username'] );
$args = array(
'field' => 'Description',
'user_id' => $user->ID
);
return bp_get_profile_field_data( $args );
}
add_shortcode( 'showdescription' , 'show_description' );
This issue may occur due to compatibility changes in the update from version 11.4.0 to 12.0, where widgets or widget areas could be removed or reset. To fix this, first ensure that any theme or plugin you’re using, especially BuddyPress or similar, is updated to the latest version compatible with 12.0. After updating, try re-adding widgets manually through Appearance > Widgets or using the Customizer. You may also consider testing in a staging environment before updating to identify any potential conflicts. Source: Offical Fintechzoom.
Figured it out (I’m stupid lol).
I can confirm that the snippet from Brajesh Singh still works. Just make sure to place it into your bp-custom.php (/wp-content/plugins/bp-custom.php). Turns out my role wasn’t called “Basic” (as shown/named within the backend). Since I use Paid Membership Pro it used pmpro_role_1 set by PMP.
Remember to change the role within the code down below to the one you want to exclude. 🙂
Credit: https://buddydev.com/hiding-users-on-buddypress-based-site/
/**
* Exclude Users from BuddyPress Members List by WordPress role.
*
* @param array $args args.
*
* @return array
*/
function buddydev_exclude_users_by_role( $args ) {
// do not exclude in admin.
if ( is_admin() && ! defined( 'DOING_AJAX' ) ) {
return $args;
}
$excluded = isset( $args['exclude'] ) ? $args['exclude'] : array();
if ( ! is_array( $excluded ) ) {
$excluded = explode( ',', $excluded );
}
$role = 'administrator';// change to the role to be excluded.
$user_ids = get_users( array( 'role' => $role, 'fields' => 'ID' ) );
$excluded = array_merge( $excluded, $user_ids );
$args['exclude'] = $excluded;
return $args;
}
add_filter( 'bp_after_has_members_parse_args', 'buddydev_exclude_users_by_role' );
I have activitated buddypress on my website. But when I try viewing the register page it reverts to my home page?
I used latest version of buddypress and wordpress also .
IN current buddypress when user join group that time new activity will creat . but i cant stop it using hook .
groups_record_activity(
array(
‘type’ => ‘joined_group’,
‘item_id’ => $group_id,
‘user_id’ => $user_id,
)
);
Thank you for this plugin @dcavins!
Didn’t know someone took the time to update the old “BP Group Hierarchy” plugin by David Dean.
Can confirm it works for me with the following setup:
WordPress - Version 6.6.2
BuddyPress - Version 14.2.1
Template Pack - Legacy
The only minor issue I’m having is that my theme doesn’t support the setting:
Replace the flat groups directory with a hierarchical directory.
This makes sense though and isn’t necessary.
Thank you for updating this. 🙂
Hi
I’m using BBPress with BuddyPress in a WordPress site with MicroOffice theme. We’ve notice recently that the BuddyPress Activity Feed is no longer updating when someone Favourites a Forum post inf BBPress. I’ve tried turning off all other plugins to no avail. I’ve also delted and reinstalled buddypress.
Also I’ve notice the BuddyPress RSS feed is not working, and when I go into the activity feed domain.com/activity (for example) it will say 9 favourites but when you click o it you only see two listed. Its also not increasing from 9 when I click on forum items favourite button.
Does anyone have any ideas please?
I’m using the latest wordpress default block theme. Where can I swap template for buddypress pages? Currently buddypress is using the default “pages” template for all buddypress related pages.
How to apply another page template to buddypress? There is no way to “edit page”.
I have the same problem. I’m also using the latest wordpress default block theme. Where can I swap template for buddypress pages? Currently it is using the default “pages” template for all buddypress pages.
How to apply another page template to buddypress?
I am amazed how few people have asked this. It should be the number 1 question.
Not via the REST API.
You can use the activity endpoint: https://developer.buddypress.org/bp-rest-api/reference/activity/#list-activities
To get activities from a single group only.
Good evening, is there any way to prevent you from being automatically logged out of one of my Buddypress pages after a short time? Regards, Toni
OMG I am sooo happy! Chatgpt and some noob questions to it managed to tweak the code so now it works! 😍
If anyone would need it, this now works:
function assign_role_based_on_profile_field($user_id) {
// Get the BuddyPress profile data for the registered user
if (function_exists('xprofile_get_field_data')) {
$role_value = xprofile_get_field_data('Roll', $user_id); // Replace 'Role' with the exact name of your profile field
$user = new WP_User($user_id);
// Assign the user role based on the profile field value
if ($role_value == 'Arbetsgivare') {
// Assign 'employer' role
$user->set_role('employer'); // Replace 'employer' with the exact role slug
} elseif ($role_value == 'Arbetssökande') {
// Assign 'candidate' role
$user->set_role('candidate'); // Replace 'candidate' with the exact role slug
} else {
// Default role if no specific selection is made
$user->set_role('subscriber'); // Or any other default role
}
}
}
add_action('bp_core_activated_user', 'assign_role_based_on_profile_field', 10, 1);