Good morning!
Recently, we have been having issues with some members registering via Buddypress. It emails them the activation link but when they click it it takes them to a page that asks for the activation code which is just contained after the /activate/ section of the URL.
Is there a way to have the code be generated in the email for them to copy or better yet, just let the activation url activate it and not ask for a code afterwards?
Hi,
It depends on the functionality you want like if you want to allow members to have social learning then go for BuddyPress for Learndash and if wants to allow them to manage their account and orders from their profile then BuddyPress for Woocommerce. You can have both at the moment but as I said it depends on what you want.
Thanks
I have a subdomain on which I want to install BuddyPress but at the time of installation I get error like Installation failed: Could not copy file. Buddypress/bp-templates/bp-nouveau/buddypress/members/single/settings/capabilities.php. It is not possible to install BuddyPress on a subdomain.
Hi
I intend to use Learndash + Woocommerce + Buddypress
I already installed Learndash.
I need to sell my courses : I will install Woocommerce + Learndash/Woocommerce integration
I need to build a community : I will install BuddyPress
Which add ons am i supposed to use :
– BuddyPress for Learndash or BuddyPress for Woocommerce or both ?
Thanks in advance
Eric
Hello,
I know this has been asked before and I followed the suggestion from this thread:
https://buddypress.org/support/topic/block-activity-stream-types/
and tried adding this code to my the child theme functions.php and to bp-custom.php:
// Filter bbPress from updating activity stream
function imath_activity_dont_save( $activity_object ) {
$exclude = array( 'bbp_topic_create', 'bbp_reply_create',‘friendship_created’, ‘joined_group’, ‘updated_profile’, ‘updated_profile_photo’);
// if the activity type is empty, it stops BuddyPress BP_Activity_Activity::save() function
if( in_array( $activity_object->type, $exclude ) )
$activity_object->type = false;
}
add_action(‘bp_activity_before_save’, ‘imath_activivity_dont_save’, 10, 1 );
but it didn’t work, profile updates, profile photo updates, new friendships, forum topics and forum replies are still showing on the activity page 🙁
What am I doing wrong?
Thank you for your help.
No my code is from the file member-header.php * Buddypress – Users Header.
What you sent me is from * Groups Home.
This would be my code: https://pastebin.com/ck2wDwE2
Thx!
Not really the solution because I stumble again with the (‘) cutting in my php code.
I’m actually trying this:

But this is the result:

As you can see it works but the fields from “Expertise” are being printed before the <p></p> tags. I would like them to be printed inside the <p></p> tags.
Thx!
This workaround was for Buddypress 3.1.0 and in 3.2.0 this issue (bug) was fixed by BP developers. This means if you’re using BP 3.2.0 you’re group description should display correctly without having to modify any of the core BP files or through using a template override in your theme/child-theme.
I’ve upgraded my BP to 3.2.0 and removed my workaround and my group descriptions display perfectly.
You can go with this plugin https://wordpress.org/plugins/buddypress-admin-only-profile-fields/ to set the visibility to hidden/admin only.
Thanks
Got that.
Please try this plugin: https://buddypress.org/support/topic/terms-conditions-checkbox/
If it does not help you then please create an xprofile field and fill in the respective details like this :
Title: Terms of Service
Description: By checking this box you agree with our Terms of Service (with a link on Terms of Service to the TOS page)
Field type: checkboxes
Option: I agree ( default value: unchecked )
Visibility: just-me with option: enforce visibility
Thanks
@ipokkel okay lol….i had to restore my site to an earlier time, so….this fix was lost. totally sucks.
and, i updated to the latest version. which apparently came out after your fix was posted.
so here’s what you recommended:
For a temporary workaround this worked for me:
buddypress\bp-templates\bp-nouveau\buddypress\groups\single\cover-image-header.php
line 62
<?php echo esc_html( bp_nouveau_group_meta()->description ); ?>
replace with:
<?php echo bp_nouveau_group_meta()->description; ?>
reference: https://codex.wordpress.org/Function_Reference/esc_html
so i interpreted that location as:
wp-content\plugins\buddypress\bp-templates\bp-nouveau\buddypress\groups\single\cover-image-header.php
but when i got there, there was no line 62 as there had been before. even after the coffee this time… 🙂
here’s the contents of the cover-image-header PHP file that i see at that location now:
<?php
/**
* BuddyPress - Groups Cover Image Header.
*
* @since 3.0.0
* @version 3.2.0
*/
?>
<div id="cover-image-container">
<div id="header-cover-image"></div>
<div id="item-header-cover-image">
<?php if ( ! bp_disable_group_avatar_uploads() ) : ?>
<div id="item-header-avatar">
<a href="<?php echo esc_url( bp_get_group_permalink() ); ?>" title="<?php echo esc_attr( bp_get_group_name() ); ?>">
<?php bp_group_avatar(); ?>
</a>
</div><!-- #item-header-avatar -->
<?php endif; ?>
<?php if ( ! bp_nouveau_groups_front_page_description() ) : ?>
<div id="item-header-content">
<p class="highlight group-status"><strong><?php echo esc_html( bp_nouveau_group_meta()->status ); ?></strong></p>
<p class="activity" data-livestamp="<?php bp_core_iso8601_date( bp_get_group_last_active( 0, array( 'relative' => false ) ) ); ?>">
<?php
/* translators: %s = last activity timestamp (e.g. "active 1 hour ago") */
printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() );
?>
</p>
<?php echo bp_nouveau_group_meta()->group_type_list; ?>
<?php bp_nouveau_group_hook( 'before', 'header_meta' ); ?>
<?php if ( bp_nouveau_group_has_meta_extra() ) : ?>
<div class="item-meta">
<?php echo bp_nouveau_group_meta()->extra; ?>
</div><!-- .item-meta -->
<?php endif; ?>
<?php bp_nouveau_group_header_buttons(); ?>
</div><!-- #item-header-content -->
<?php endif; ?>
<?php bp_get_template_part( 'groups/single/parts/header-item-actions' ); ?>
</div><!-- #item-header-cover-image -->
</div><!-- #cover-image-container -->
<?php if ( ! bp_nouveau_groups_front_page_description() && bp_nouveau_group_has_meta( 'description' ) ) : ?>
<div class="desc-wrap">
<div class="group-description">
<?php bp_group_description(); ?>
</div><!-- //.group_description -->
</div>
<?php endif; ?>
where do i put that fix now?????
thanks in advance for any and all help.
Im trying to make that bp-custom.php and place it in /wp-content/plugins/ folder but when i write any code it makes my site come with the “site not working” error.. it feels like that file only makes it worse?
Got it from this page:
bp-custom.php
Prashant Singh, you seem quiet good to BP and coding within that area. If you know how to fix one of my following problems, you could save my day:
1. https://buddypress.org/support/topic/private-message-suggestions/
2. https://buddypress.org/support/topic/redirect-from-page-if-not-logged-in/
Thanks a lot:)
But there is something strange.
In case of “activity” it can not be acquired this way.
If it’s not too much trouble, give me a reply please.
https://buddypress.org/support/topic/how-to-change-design-only-for-specific-activities/
Thanks.
Ok, got that.
Please check this thread: https://buddypress.org/support/topic/how-to-hide-profile-menu-items-from-other-users/
There is a code snippet that might work for you. Just have to put your menu names.
Thanks
Hello.
I’m not a developer; I can get by only with copying and pasting code. My skills are limited.
That being said, I’m relatively keen on learning how to become better. So I’ve been reading through lots of articles here….but….not always getting things “right”….please know that I’ve sincerely looked everywhere for this answer, and it still eludes me.
Here’s my current issue.
I need to display an image above the listing of all the groups in the Group Directory Page.
So it will ‘mimic’ the cover photo in the groups, as far as size goes. It will not be the same exact cover photo, but I mention this to give you an idea of the finished product I’m going for. I want a photo to be placed above the list of all the groups on the ‘Group Directory Page’…..to act like a cover photo does inside the groups themselves.
How can I best achieve this??? Javascript….? CSS?? HTML??? PHP???? 🙂
Please note: I am using the header in my template as a vertical menu. So using a header function on the BP Groups Directory Listing to insert an image above the listing of all groups isn’t going to work. I’m using the Total theme, layout 6. Latest version. With WordPress 4.9.8. The Woocommerce shop is part of this website (also the latest version)….and BuddyPress groups is being used as an area to chat with customers about customized products sold on the site.
I thought there might be a way to insert a “widget” or “shortcode” on the BP Groups Directory Listing page, but it seems BP has a firm hold on the layout of that page. 🙁
Any and all suggestions would be appreciated!
Hey guys I need some help with php/buddypress.
Im trying to create a custom member directory for my website that displays online users…I am very new to php, I have looked at the documentation but i don’t understand what i am doing wrong.
Things i have done thus far:
I created a new directory called “buddypress” in my theme (my theme is Divi), I then copied the “members” folder from buddypress and put a duplicate in my new “buddypress” folder within my theme. After that i renamed the “members-loop.php” file to “online-members-loop.php”, and created a new page called “online members”.
I didn’t make any adjustments to the code at this point and tried to see if it worked… It did not, my online members page is still just blank. I then tried to edit some things within the “online-members-loop.php” file i now have. I changed “<?php if ( bp_has_members( bp_ajax_querystring( ‘members’ ) ) ) : ?>”
to this: “<?php if ( bp_has_members( ‘type=online’ ) ) : ?>”
I tried to load the page again annnnddd… nothing, nothing at all. It was at this point i knew i was doing something incredibly wrong because even before altering code, the members page didnt load anything.
If anyone could help a newbie out i would greatly appreciate it 🙂
@vapvarun is there a plugin you can recommend that will allow me to override the ‘group directory listing’ of all groups — that page?
i merely want to add a header image to display above the list of groups on the group directory page. that’s all.
i’ve tried (unsuccessfully) to get my site to use its layout options on the page that displays all groups…but no, the buddypress settings are overriding my wish to place an image above the listing of all groups on the group directory page.
i hate to ask you how to modify template files….but i think that may be what i have to do.
is there a way to accomplish this with CSS?
all i want is to have an image display above the list of all the groups on the ‘group directory page’….how to get that done? i do not care the method, i just want it to be there. of course the less code i can use to do this the better, and i do not want to use a plugin to achieve this, but at this point i am desperate!!
the buddypress template seems too strong to me, i can’t seem to find a way to get the page to do what i want for a layout.
is this better done with a plugin? it’s a buddypress template that seems unable to be altered. so i have no idea what to do next.
thank you in advance for any and all assistance! 🙂
This is the old code i was talking about. Dont know if it helps to see and modify so it works somehow:
https://buddypress.org/support/topic/autocomplete-all-users-on-the-compose-screen/