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.
Hello!
I think when BuddyPress analyzes the URI WP Query’s is_404 property is true.
So when my WAF checks is_404() in template_redirect hook it detects group pages as a 404.
https://accesstourism.co.uk/groups/dorset/
During this bp_current_component() returns ‘groups’.
Could you please fix BP to keep is_404 false?
There is a plugin loosely related to this
https://plugins.trac.wordpress.org/browser/bp-404s/trunk/bp404s.php
Thank you.
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
Hi, i would like to know if those themes can be applied ONLY to the BuddyPress pages, conserving my actual WordPress theme.
I’m going crazy to find a solution
https://templatic.com/wp/best-buddypress-wordpress-themes/
In brief, i would like to make a social zone in my site without altering it in its theme (Pheromone), i use the latest WP version.
Thanks a lot !!!
@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
I’m over to check plugin compatibility with something else and i see that buddypress when an user change email, send the confirmation email to the current user address, instead then to the new.
So let assume an user own an account, which can access because have the pass, but on it there is an email address which do not have anymore control over. How the user should change his email in this case? Asking to an admin? Would not be better that the new email confirmation link, send out to the new indicated email address? Just a thought, cheers!
p.s also i noted time ago if i’m not wrong, that buddypress store the pass change hash in a different way that default wordpress (different value on same row): why? anybody know?
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!
Which version of “BuddyPress” is “BuddyPress Follow(1.2.2)” conforming to?
The latest “Buddypress(3.2.0)” does not match the latest “BuddyPress Follow(1.2.2)”.
With this combination, the following user activity was not displayed.
So, “BuddyPress(2.8.0)” can be used though “BuddyPress Follow(1.2.2)” can not be used for the latest “BuddyPress”.
Hi,
I installed “BuddyPress Follow”, but the FollowingUser’s activity is not displayed on this page→(http://example.com/members/smith/activity/following).
So I tried to write the code for that, but it does not work well.
<div id="FollowingUsersActivities">
<?php global $userdata;
$user_id = $userdata->ID;
$follow_user = bp_get_following_ids( "user_id=$user_id" );
$args = array(
'posts_per_page' => $wp_query->max_num_pages,
'paged' => $paged,
'author' => $follow_user
);
query_posts($args); ?>
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
<?php while ( bp_activities($args) ) : bp_the_activity($args); ?>
<?php bp_get_template_part( 'activity/entry' ); ?>
<?php endwhile; ?>
<?php endif; ?>
</div>
What’s wrong with the following code?
Thanks.
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.
Hi there!
I have a social media platform using BuddyPress and Youzer on the Kleo theme and it is all integrated with Learndash. I have installed the Learndash-BuddyPress integration. However, in the Learndash course comments, we can’t see any of the profile details besides a name and photo. We need the point count and badges associated with the commenter to show up so people can gauge how qualified or experienced a user is on the subject. Is there a fix for this? I am slightly versed in coding and can implement css if anyone can direct me or offer a fix. Thank you so much for your time and consideration!
WordPress Version: 4.9.8
BuddyPress Version: 3.2.0
Learndash Version: 2.5.9
BuddyPress for Learndash: 1.2.5
Also using:
Youzer
Kleo Theme
MyCRED
Member Types
MemberPress