Do you have any plugins activated aside from BuddyPress?
If you can think of business pages as “groups” then BuddyPress comes with that functionality. You just need to enable the Groups component and your members will be able to create and invite more members to join the group.
Please include any links to bbPress forums that refer to these statements:
that bbPress function turns out to be riddled with bugs ๐
(I guess JJJโs โcondemnedโ remarks would imply the same conclusion?)
>Is there a way to completely disconnect BuddyPress notifications from the bbpress forums?
Try changing this line:
add_action( 'bbp_new_reply', 'bbp_buddypress_add_notification', 10, 7 );
to
//add_action( 'bbp_new_reply', 'bbp_buddypress_add_notification', 10, 7 );
in bbpress\includes\extend\buddypress\notifications.php
Thanks for the help, Henry–that bbPress function turns out to be riddled with bugs ๐
(I guess JJJ’s “condemned” remarks would imply the same conclusion?)
Is there a way to completely disconnect BuddyPress notifications from the bbpress forums?
It looks as though BuddyPress has got PHP 7 in the bag ๐
Hi there Justin,
I’ve run into a similar issue but in reverse.
We’re in the process of migrating an individual WordPress site with BuddyPress to a multi-site WordPress with BuddyPress.
In my case, the normal practice would be to rename the WordPress tables from wp_ to something like wp_99_* , where 99 represents one of the site IDs.
The tool I used called “Export2 Multisite”, does a great job at fixing the table names.
However, it’s not smart enough to handle the data merge of the wp_bp_* and wp_rt_* table names.
Regardless, I’m seeing the same symptoms on the site I migrated from a single WordPress install to a multi-site WordPress.
So, any help whatsoever from this community on migrating sites with Buddypress either coming FROM or TO a multi-site would be GREATLY appreciated!
Hi
We’ve been testing against PHP7 nightly releases for a long time. It helps that our PHP is newer than most of WordPress’, so we have less really old stuff to migrate.
You can view our test coverage on https://travis-ci.org/buddypress/BuddyPress/ (“PHP: nightly” is PHP7), as you can see, there’s currently a failure with one test that we need to fix. It looks fairly straightforward to fix, and we’ll do that soon.
This one test aside, to the best of knowledge, yes, BuddyPress works with PHP 7.
Good question! This is likely to being looked at by the core team.
See this post which describes what is being done by the WordPress core team: https://make.wordpress.org/core/2015/09/10/wordpress-and-php7/
My guess is the BuddyPress core team are doing something like that. Maybe @djpaul can add something here?
Hi,
of course, in so far that php 7 will be used by WordPress. BuddyPress’s dev follow the same route.
WordPress and PHP7
the php 7 will be released soon, probably in the end of 2015, I am wondering that is buddypress compatible with php7?
Also I just discovered the Buddypress member profile pages aren’t loading for logged in users.
@wecreatehype Have you done any basic troubleshooting like deactivating other plugins except BuddyPress and changing to the WP default theme? Also, do provide more information about your installation so we won’t be chasing ghosts. https://buddypress.org/support/topic/when-asking-for-support-2/
I have read many stories about converting BuddyPress to BBPress format
@netentry Just to clarify that the only converting we ever did was to import content from the very old stand-alone bbPress 1.x.x versions included in very old BuddyPress installations into the bbPress 2.x.x plugin a long while back. That’s it. BuddyPress itself cannot be converted into bbPress forums.
Are there any good tools for performing a BBPress-to-BuddyPress conversion?
Another clarification here. BuddyPress is not a forum. It is a social network plugin with many components which could have Sitewide and/or Group forums if bbPress 2.x.x is installed and activated.
So in your case, if you only have the bbPress plugin activated, you could install and activate BuddyPress and set it up in the bbPress Settings screen to allow Group forums in addition to the Sitewide Forums. Take note however, that if you activate bbPress and BuddyPress at the same time, the BuddyPress member profile pages will trump (or will show up instead of) the bbPress member profile pages.
This sounds doable theoretically. But i am sure there will be implications ๐
abc.com – table prefix wpabc_
xyz.com – table prefix wpxyz_
Now in xyz.com, if you want to use buddypress tables of abc.com, go to active theme of xyz.com > functions.php and add the following code: ( untested )
add_filter( 'bp_core_get_table_prefix', 'bporg_244943_change_table_prefix', 99 );
function bporg_244943_change_table_prefix( $prefix ) {
return 'wpabc_';
}
I’d vote for boss theme too. It looks awesome and is specifically built for buddypress network sites.
http://www.buddyboss.com/product/boss-theme/. You might want to check its live demo.
Hey @wecreatehype
Feel free to show off your community in the Your BuddyPress forum. It’ll be great to see a live version of Boss “in the wild”.
Hello everybody.
I’m creating a SN with Buddypress and I have a problem with some questions.
This SN must accept some different types of users that will get access to features of some other plugins.
For example, a member of the type Person only have access to basic buddypress settings and pages to add to your profile. A gallery, the wall, the profile, etc, and each of this are accessible to other members according to the visibility defined by the user.
In other case, a member of the type Shop must have access to e-commerce plugins to create his shop page in his profile. There will be listings, prices, ratings. A different set of pages. In this case, all accessible to all user by default. But different pages than the ones of a Person type member.
If there are a Hotel type, the same applyes. Access to a booking plugin to add this option, pages for prices to each room, etc.
The profile and page options will be different for each user type.
That’s the issue I’m having. Couldn’t find any plugin to help with this. Does anyone know any hint to help me with this?
Thx.
I am using User Role Editor plugin to create custom roles.
I will eventually be loading users from the back end, I have a few test users now.
Is there a way, through a function, I can assign users to groups based on their user role?
I searched plugins and can not find one that suits my needs. I am new to buddypress and I can not figure out where I would hook into buddypress if I did have a function to do this.
You could try the BuddyPress Ideas forum:
Ideas
Thank you for your answers and recommendations!
The custom function that I have written before, I suppose it does what I want very well. Am I right?
Here it is again.
function filter_bp_get_total_group_count()
{
global $wpdb;
$hidden_sql = "WHERE slug not in ('health', 'social', 'cultury')";
$bp = buddypress();
return $wpdb->get_var( "SELECT COUNT(id) FROM {$bp->groups->table_name} {$hidden_sql}" );
};
Hi,
Maybe using this would help stop users who aren’t logged in seeing things you don’t want them to in the first place (and therefore they won’t be able to try and access it). Not really the redirect solution you are after but it may be of use. Works with BuddyPress (I don’t use bbPress).
//Prevents non logged in users seeing pages other than those permitted
function bpcustom_restrict_bp_pages() {
global $bp;
//These pages are permitted to logged out users
if( bp_is_blog_page() || bp_is_register_page() || bp_is_activation_page() ) {
return;
}
if( !is_user_logged_in() ) {
bp_core_redirect( $bp->root_domain );
}
}
add_action( 'get_header', 'bpcustom_restrict_bp_pages' );
Hi @danbp thanks for reply.
Tried the code you wrote in the link above and it works fine. But as with the one referenced in my first post it reduces the string length upon display rather than preventing the user typing in a large number of characters in the first place (and the data being stored in database).
So moved onto looking at the code snippet by @henrywright for the sign up page. Would be suitable if i could convert it to work with profile fields. Got to this stage with a few q’s:
function my_textarea_validation() {
$custom_field_id = bp_get_member_profile_data( 'field=Mini Bio' );
//is the use of $_POST['field_' . $custom_field_id] correct to access desired profile field?
if ( strlen( $_POST['field_' .$custom_field_id] ) > 5 ) {
global $bp;
//which $bp->... error message to use?
$bp->signup->errors['field_'] = __( 'CUSTOM ERROR MESSAGE', 'buddypress' );
}
}
//which hook to use? (to affect the textarea on Profile > Edit navigation tab)
add_action( '???', 'my_textarea_validation' );
Hi @danbp
I think I have done the same configuration as you, but don’t work for me. Could be possible thar your code not work with the new version of Buddypress?
This are my posts:

This is that I see with 'posts_per_page' => 2,
:

Before, I have tested with Twenty Thirteen, Now I’m testing with Twenty Fifteen theme.
I have created a bp-custom.php file on plugins/ folder and deleted my previous plugin.
The only plugin I have active is Buddypress:

—
I would like to display only one tab with the posts of the displayed user, without subtabs. My goal is remove “My posts” and “My Comments”. I would like to display the posts inside the “Contributions” tab