@samhaddad85 you can use Learndash/LifterLMS with BuddyPress, and for chat comet chat, it offers group chat features.
I’m still encountering this issue. Has this been resolved or not yet?
Hi, I am not able to turn on the settings for “Allow upload from activity stream” in settings->buddypress> rtMedia -> buddypress. No matter how many times i change it and click on save settings, its still remains the same. please help. I am using localhost wordpress dashboard
So i managed to find the appropriate code in case someone also needs it:
define( 'BP_MESSAGES_AUTOCOMPLETE_ALL', true );
/**
* Filter and remove subscribers and user's own mail from all BuddyPress auto complete box.
*
* @param array $args BP_User_Query args.
*
* @return array
*/
function buddydev_filter_buddypress_auto_complete_ids( $args ) {
$user_ids = isset( $args['exclude'] ) ? $args['exclude'] : array();
if ( $user_ids && ! is_array( $user_ids ) ) {
$user_ids = wp_parse_id_list( $user_ids );
}
$excluded = get_users( array( 'role' => 'subscriber', 'fields' => 'ID' ) );
if ( is_user_logged_in() ) {
array_push( $excluded, get_current_user_id() );
}
$args['exclude'] = array_merge( $excluded, $user_ids );
return $args;
}
add_filter( 'bp_members_suggestions_query_args', 'buddydev_filter_buddypress_auto_complete_ids' );
with this i can have excluded from autocomplete all subscribes by hooking to bp_members_suggestions_query_args
Hi sorry for the delay of this answer! thank you for your suggestion. I sent the request!
thank you again!
https://buddypress.trac.wordpress.org/ticket/8289
Reposting this to get (hopefully)more, fresh eyes on this;
I have a redirect that I can’t seem to locate the source of,
“site/members/me(username)/profile” 301s to “site/profile”
is anyone aware of any other possibilities or possible solutions(something to the tune of changing the default url for member profiles)?
Things of checked/tested;
– plugin testing(disabling everything)
– theme testing(using default theme)
– wordpress guessing urls
– reset permalink structure
– bp_custom.php (never added/doesn’t exist)
– wp-config (nothing specified)
– .htaccess(nothing specified)
– redirection plugin(nothing specified)
– server side redirects (none specified)
– cloudflare page rules – (no page rules specified)
– host (siteground) reset folder permission
I’ve also tried restoring an older backup (30 days but that wasn’t far enough to find anything)
wordpress version: WordPress 5.4.1
buddypress version 5.2.0
Domain: perfectpaddles
Help! This is so easy, but I can’t find the answer…
I’ve successfully set up some BP Groups. When I’m logged in as Admin though, how do I post a message at one of the groups? I can’t see a link to make and post a message there for Group members.
Thanks for your help guys.
@yassni BuddyPress does not offer a customized login page, you can log in widgets in the sidebar, or can create a branded login page there are couple of free plugins for it.
when someone wants to register on my website. he presses log in but the BuddyPress window does not appear in his place a WordPress window that appears. can you help me please
@jluisrioja
You can use the following code inside the child theme, it will add a timestamp for all users
remove code once all member starts displaying in your member list.
function buddypress_add_last_activity() {
$members = get_users( 'fields=ID' );
foreach ( $members as $user_id ) {
bp_update_user_last_activity( $user_id, bp_core_current_time() );
}
}
add_action('bp_init', 'buddypress_add_last_activity' );
Hi guys,
Working on this issue for like 8 straight hours and I finally found the problem but I still can’t fix it.
In my theme I use:
wp_deregister_script('jquery');
And load jQuery myself:
wp_enqueue_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js', false, '1.0', null);
Scripts are loaded correctly: (screenshot) https://pixelheads.d.pr/qB0nKV
But it causes many problems. For example, when I press the “Add friend” button, the whole page (HTML) is loaded in the div.friendship-button element. No idea why.
All help appreciated.
Thanks in advance.
Justin
@coolhunt
Thank you!
– You cannot run BuddyBoss Platform and BP at the same time. BuddyBoss is a fork of BuddyPress and shares a lot of the same underlying code, so they cannot run at the same time.
– These are the themes available: https://www.buddyboss.com/themes/
“BuddyBoss Theme” is for BuddyBoss Platform.
Boss 2.0 and OneSocial are actually for BuddyPress.
I know it’s a bit confusing, but long term our product stack is basically just BuddyBoss Platform and BuddyBoss Theme which is actually very simple. We’re not making any new BuddyPress themes. The goal is to have everything you need out of the box from us with one plugin, one theme. That way we can focus all of our efforts on updating that product stack and just make it really awesome. We are adding more options over time to make the theme really flexible with layouts, especially via Elementor, so that people can take that one theme and make it look like anything.
@techhnyne
BuddyBoss Platform (our version of BuddyPress) is free, including updates. The platform includes all of the social functionality, while the theme is purely for layout and is optional. You do pay for the theme, just as you would pay for a nice BuddyPress theme. You can also build your own theme, or use some generic free theme from the WordPress themes repo if you prefer.
@hochingj Thanks!
Hi there,
Found this article: https://buddypress.org/support/topic/how-to-show-pending-memberships-to-user/
It seems this is not baked in functionality in BuddyPress? Can’t find it anywhere in the code.
Hi there,
I can’t find any topic about this. When enabling WP_DEBUG I get the message below when a person requests to join a group.
Deprecated: groups_send_membership_request was called with an argument that is deprecated since version 5.0.0! Arguments passed to groups_send_membership_request should be in an associative array. See the inline documentation at /Users/jvanoel/Sites/mvp/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php for more details. in /Users/jvanoel/Sites/mvp/wp-includes/functions.php on line 4997
Warning: Cannot modify header information - headers already sent by (output started at /Users/jvanoel/Sites/mvp/wp-includes/functions.php:4997) in /Users/jvanoel/Sites/mvp/wp-includes/pluggable.php on line 1281
Warning: Cannot modify header information - headers already sent by (output started at /Users/jvanoel/Sites/mvp/wp-includes/functions.php:4997) in /Users/jvanoel/Sites/mvp/wp-includes/pluggable.php on line 1284
Is there is a fix for this in the works?
Oh man, was breaking my head about this one for the past days. But found the solution, of course the answer was right there. I forgot to exclude admins and mods in the loop. Don’t understand why they would be excluded in the first place.
There is the complete code, including to get xProfile fields for anyone that is interested:
<?php
$args = array(
'group_id' => bp_get_group_id(),
'exclude_admins_mods' => false
);
if ( bp_group_has_members( $args ) ) : ?>
<ul id="member-list" class="item-list">
<?php while ( bp_group_members() ) : bp_group_the_member(); ?>
<?php $user_id = bp_get_group_member_id(); ?>
<li>
<span class="avatar">
<a href="<?php bp_group_member_domain(); ?>">
<?php bp_group_member_avatar_thumb(); ?>
</a>
</span>
<span class="name">
<a href="<?php bp_group_member_domain(); ?>">
<h4><?php bp_group_member_name(); ?></h4>
</a>
</span>
<span class="platforms">
<?php $user_psn_handle = bp_get_profile_field_data('field=PSN handle&user_id='.$user_id); ?>
<?php if($user_psn_handle): ?>
<i class="icon saturated standalone platform psn"></i>
<?php endif; ?>
<?php $user_xbox_handle = bp_get_profile_field_data('field=XBOX handle&user_id='.$user_id); ?>
<?php if($user_xbox_handle): ?>
<i class="icon saturated standalone platform xbox"></i>
<?php endif; ?>
</span>
<span class="actions">
<a class="button small" href="<?php bp_group_member_domain(); ?>">
<?php esc_html_e('View profile', 'mvp'); ?>
</a>
</span>
</li>
<?php endwhile; ?>
</ul>
<?php else: ?>
<div id="message" class="info">
<p><?php _e( 'No members were found.', 'buddypress' ); ?></p>
</div>
<?php endif; ?>
A link in this documentation gives a 404: https://codex.buddypress.org/developer/loops-reference/the-group-members-loop-bp_group_has_members/ – see Accepted Parameters – group_id required link to “bp_has_groups() loop”.
This is my code at the moment:
<?php
$args = array(
'group_id' => bp_get_group_id()
);
if ( bp_group_has_members( $args ) ) : ?>
<ul id="member-list" class="item-list">
<?php while ( bp_group_members() ) : bp_group_the_member(); ?>
<li>
<span class="avatar">
<a href="<?php bp_group_member_domain(); ?>">
<?php bp_group_member_avatar_thumb(); ?>
</a>
</span>
<span class="name">
<a href="<?php bp_group_member_domain(); ?>">
<h4><?php bp_group_member_name(); ?></h4>
</a>
</span>
<span class="actions">
<a class="button small" href="<?php bp_group_member_domain(); ?>">
<?php esc_html_e('View profile', 'mvp'); ?>
</a>
</span>
</li>
<?php endwhile; ?>
</ul>
<?php else: ?>
<div id="message" class="info">
<p><?php _e( 'No members were found.', 'buddypress' ); ?></p>
</div>
<?php endif; ?>
Any help appreciated. I’m stuck here.
Can you clarify your question? The {{usermessage}} already shows the content of the update and already “grabs the contents of the original update post”, like you’re writing.
Are you asking how to rename “Go To the Discussion” to the thread title?
Maybe you can find what you’re looking for in
Email Tokens
Hi, I’m experience some undesired behavior and I can’t figure out why for the life of me.
Whenever a logged-in user tried to navigate to their buddypress profile, they instead get sent “../profile/” instead of “../members/username/profile/”
I’ve checked/tested the following;
– disabled all other plugins for conflict testing
– I have a redirection plugin but no such redirect specified(or ever created for that matter)
– nothing related in .htaccess
– reset folder permissions in case they were interfering
– cleared server-side cache
– checked for server side redirect
– reset permalink structure
This isn’t something I can really attribute much to recent changes as I haven’t touched anything that interacts with profiles in some time.
Any thoughts?
Is there a plugin for this example in my buddypress community?
Tina sets up her profile and selects female, missouri, 4/15/2002, and is a student.
I go to post and select a category, tag, or group that is specific to female students that are 18 yrs old and live in Missouri.
Only these users will see that post in their BuddyPress Newsfeed. What is the best way to do that?
Is there something out there that I can install to make this happen? I want users to only see what is appropriate for them.
Thank you !!!
@onfleekresources
It can be done with some custom code, or you can also checkout follow plugins.
1- BuddyPress Private Community Pro plugin that adds a couple of features for admin and it allows admin to select based on user role or member type who can post on activity stream and you can also apply same limits on other BuddyPress features.
2- You can set some specific members as auto friends to all members, and any activity admin members are going to make will be displayed to all member’s activity page
Wordpress 5.4
Buddypress 5.2
Theme: Twenty NineteenVersion: 1.5
Hi guys
I’m looking to create a custom theme built around BP Nouveau and have dequeued the css, but doing so makes the member and group cover images disappear.
In BP legacy it was possible to follow this tutorial (https://codex.buddypress.org/themes/buddypress-cover-images/), but in Nouveau it doesn’t seem work.
Here’s the old code for it
function mytheme_cover_image_callback( $params = array() ) {
if ( empty( $params ) ) {
return;
}
return '
#buddypress #header-cover-image {
height: ' . $params["height"] . 'px;
background-image: url(' . $params['cover_image'] . ');
}
';
}
function mytheme_cover_image_css( $settings = array() ) {
$settings['callback'] = 'mytheme_cover_image_callback';
return $settings;
}
add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'mytheme_cover_image_css', 10, 1 );
add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'mytheme_cover_image_css', 10, 1 );
function your_theme_cover_image_css( $settings = array() ) {
$theme_handle = 'bp-parent-css';
$settings['theme_handle'] = $theme_handle;
$settings['callback'] = 'mytheme_cover_image_callback';
return $settings;
}
add_filter( 'bp_before_xprofile_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
add_filter( 'bp_before_groups_cover_image_settings_parse_args', 'your_theme_cover_image_css', 10, 1 );
Anyone got an idea?
Thanks for your time!
@n33d there are couple of discussion on removing name field on Trac https://buddypress.trac.wordpress.org/ticket/7760
Hi there,
I don’t understand why this is so complicated.
When people register they are required to enter a username and a name. Their username is not changeable after that, I understand that this is WordPress default functionality.
Though:
- what is entered at “Username” is shown on someones profile page like: @name
- what is entered at “Name” at the register form is filled in the field “First name” and “Nickname”
- Display name is set as “Nickname / First name” – since they are the same
– Why isn’t just the display name used for BuddyPress on someones profile?
– Or why is the username shown on the members profile since that cannot be changed by anyone?
– Why is there a field “Username” AND “Name” (which is also required) on the register form? I think having a Username field would be enough which is also automatically the “Nickname”.
I hope I’m thinking too difficult here and there is some easy explanation.
Looking forward to someones reply.
Thanks in advance.
Justin
From above: You can see it in the language file, buddypress\buddypress.pot
Use poEdit free version to create a .mo file with your changes.