I always focus on the updated plugin so try to Use the latest “BuddyPress(3.2.0)” with “legacy”. And also please recommend to devs to make it compatible with nouveau.
Thanks
Hi,
Please replace the previous code with this code if you want a tab and not the previous one:
function ps_profile_forum_creation() {
if(current_user_can('moderate')){
global $bp;
bp_core_new_subnav_item( array(
'name' => 'Create Forum',
'slug' => 'create-forum',
'screen_function' => 'ps_create_forum_screen',
'position' => 200,
'parent_url' => bp_loggedin_user_domain() . '/forums/',
'parent_slug' => 'forums',
'default_subnav_slug' => 'create-forum'
) );
}
}
add_action( 'bp_setup_nav', 'ps_profile_forum_creation' );
function ps_create_forum_screen() {
add_action( 'bp_template_content', 'ps_create_forum_screen_content' );
bp_core_load_template( 'buddypress/members/single/plugins' );
}
function ps_create_forum_screen_content() {
echo do_shortcode('[bbp-forum-form]');
}
Hopefully, it will help you.
Thanks
Hi Inderpreet,
Try repairing the count from Tools->BuddyPress, if it does not fix the issue then it seems like your members have not yet logged-in on the site. As soon as they all will log in on the site the count will be fixed. Because BuddyPress shows the count of the active members(at least they logged in once).
Thanks
https://buddypress.trac.wordpress.org/ticket/6527#comment:4 settles this.
You should check is_404() at template_redirect priority 11 the earliest.
Can you please teach me.
Which do you prefer: A or B?
A:Use the latest “BuddyPress(3.2.0)” with “legacy”
B:Use the old “BuddyPress(2.9.4)” with “nouveau”
Thanks.
Hi,
You just said it!
The most up-to-date version compatible with “BuddyPress Follow(1.2.2)” was “BuddyPress(2.9.4)”.
But, as you say, using “legacy” also matches “BuddyPress(3.2.0)”.
So, What is “legacy”? What is the difference with “nouveau”?
Where is the explanation?
Thanks.
Hi,
The article has mentioned everything there. Please take a backup before doing so. The theme depends on your need, compare the features and buy one. Kleo, BuddyBoss is one of the best BuddyPress themes.
Thanks
Thanks a lot. Is it a secure way to implement two themes?
Other question, which theme do you advice to work best for BuddyPress?
Thanks again
@Hugo64 Dose the Buddypress Upload Avatar Ajax plugin work with BP 3.0+
Hi,
Instead of the plugin, have you checked in your active theme? This might be there as well if you have BuddyPress based theme.
Hi,
Please try with the legacy template pack and in terms of version if it is not compatible with the latest version then please request in plugin’s support forum to make it compatible. Try any version of BuddyPress less than 3.0 to check the compatibility.
Thanks
Hi,
Please install https://wordpress.org/plugins/loco-translate/ plugin and then go to plugins menu of this plugin’s setting and find BuddyPress there and there you need to search this string and translate.
Thanks
Ah, I had it in functions.php just moved it into bp-custom.php and it worked!
Still getting used to remembering to put buddypress stuff in bp-custom.php rather than functions.php.
Thanks 🙂
John
I want to dequeue, or override, the bp-nouveau stylesheet. I have tried:
function dequeue_buddypress() {
if (!is_admin()) {
wp_dequeue_style('bp-nouveau');
wp_deregister_style('bp-nouveau');
}
}
add_action('wp_enqueue_scripts', 'dequeue_buddypress', 1);
Have also played with priorities from 1 to 99 and tried the handle bp-nouveau-css.
as well as trying to override the css in the theme but neither has worked.
Anyone know how I can get the bp-nouveau css to dequeue?
Hi,
If you are referring to this plugin
BuddyPress Redirect to Profile
I am the author and I can assure that it works with BuddyPress 3.2
The plugin is just a few lines of code and it does not need any change. That’s why it has not been updated. I will push a change in readme.
Also, if you need the code, Here is the complete code for the plugin
https://github.com/sbrajesh/bp-redirect-to-profile/blob/master/bp-redirect-to-profile.php
Regards
BRajesh
Hi, I’ve looked around for a way to redirect bp users to their profile page upon login. There was a plugin called BuddyPress Redirect but it does not appear to be updated or tested with the newest version of WP. Is there another way to do this without code? Thanks very much!
Ok, got it now.
The above code will show the forum form on bbpress user profile, not BuddyPress.
Please try this code:
add_action('bbp_template_after_user_topics_created', 'ps_show_forum_form');
function ps_show_forum_form(){
if(bbp_is_user_home() && current_user_can('moderate')){
echo do_shortcode('[bbp-forum-form]');
}
}
Thanks
Thank you. The problem is not in my understanding.
Because the professionals (creators of the theme) tell that the problem in buddypress core.
Mobile view. Small avatar size in cropping. Not correct button.
Inside buddypress/bp-templates/bp-nouveau/includes/template-tags.php I founded this function bp_nouveau_get_single_item_nav_classes().
Inside this function I can see that has an option that I want to change ‘user_nav_display’. Then the end line of this function is a filter, but I can’t able to do some debug. I’m using wp_die, var_dump and nothing happens when I tried to use a callback function attached to this filter.
/**
* Filters the final results for BuddyPress Nouveau container classes.
*
* This filter will return a single string of concatenated classes to be used.
*
* @since 3.0.0
*
* @param string $value Concatenated classes.
* @param array $classes Array of classes that were concatenated.
*/
return apply_filters( ‘bp_nouveau_get_container_classes’, join( ‘ ‘, $class ), $classes );
My code doing some debug:
add_action(‘bp_nouveau_get_container_classes’, [$this, ‘buddypress_instance’]);
public function buddypress_instance($value, $classes){
wp_die(var_dump($value));
}
Hi,
I want to override the customize default settings through my plugin. I read the buddypress code and appears that don’t have a filter function to this.
There’s another way to do this?
Hi,
Please put this snippet in your child theme’s functions.php:
function ps_rename_group_tabs() {
if ( ! bp_is_group() ) {
return;
}
buddypress()->groups->nav->edit_nav( array( 'name' => __( 'Activity', 'buddypress' ) ), 'home', bp_current_item() );
}
add_action( 'bp_actions', 'ps_rename_group_tabs' );
Hopefully, it will help you.
Thanks
The site I’m working on has a load of images uploaded to each member profile via an xprofile image field. The image field has been added with the BuddyPress Xprofile Custom Field Types plugin.
The issue I have is that these images can be quite large and it seems that they don’t go through the wordpress core image resizing on upload.
Is there a way of getting these images to be resized to the ‘thumbnail’, ‘medium’ sizes etc?
thanks,
John