Replies
Hi,
Welcome to BuddyDev.Please take a look at this file
https://github.com/buddypress/BuddyPress/blob/master/src/bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.phpIt should give you the idea how to show the group name.
Regards
Brajesh- Brajesh Singh on October 28, 2019 at 9:28 am in reply to: [Resolved] BuddyPress Group Type Generator #26178
Hi Hans,
The code is from our legacy based template. It works as nav tabs. I do not use nouveau currently, Will need a few days before I can check it on nouveau.Regards
Brajesh - Brajesh Singh on October 28, 2019 at 9:26 am in reply to: [Resolved] Automatically add a space after @mention #26177
Thank you for sharing your thoughts Mike.
- Brajesh Singh on October 28, 2019 at 9:15 am in reply to: Groups with Forums, Joining Groups and Group Descriptions #26176
Hi Mike,
The reason it is not recommended is it allows you to separate non group forums with normal forums. I do not see any other reason.1. Please try using this code and let me know if it works or not?
/** * Grant permission to all for group create topic/replies. * * @param bool $can can? * * @return bool */ function buddydev_allow_all_members_forum_permission( $can = false ) { if ( is_user_logged_in() && bp_is_group() ) { $can = true; } return $can; } add_filter( 'bbp_current_user_can_access_create_topic_form', 'buddydev_allow_all_members_forum_permission', 11 ); add_filter( 'bbp_current_user_can_access_create_reply_form', 'buddydev_allow_all_members_forum_permission', 11 );Regards
Brajesh - Brajesh Singh on October 28, 2019 at 9:07 am in reply to: [Resolved] WordPress User Login Notifier #26175
Hi Mike,
Thank you for using the plugin.
1. Please add following code to your bp-custom.php/** * Append User email to the admin notifications messages by the WordPress user login Notifier. * * @param string $message message. * @param WP_User $user user object. * * @return string */ function wpul_custom_append_user_email_to_message( $message, $user ) { return $message . '\n Email:' . $user->user_email . '\n'; } add_filter( 'wpuln_failed_login_admin_email_message', 'wpul_custom_append_user_email_to_message', 10, 2 ); add_filter( 'wpuln_successful_login_admin_email_message', 'wpul_custom_append_user_email_to_message', 10, 2 );That will add email to the message.
2. Thank you for the suggestion. At the moment, we do not store the log at all. It may be a helpful feature in future.
Regards
Brajesh - Brajesh Singh on October 27, 2019 at 9:18 am in reply to: When will Community Builder 2.0 will be ready? #26163
Hi Torben,
Hope you are doing well.The theme will be delayed by 4 more days. The new date is Friday, November 1. I had not planned for Diwali earlier, but we have been closed for 4 days due to diwali holidays and it got a bit delayed.
Sorry about this.Regards
Brajesh - Brajesh Singh on October 27, 2019 at 5:03 am in reply to: [Resolved] BuddyPress Group Type Generator #26160
Hi Hans,
You will need to add the following to your tem,plate’s buddypress/groups/index.php<?php if ( function_exists( 'bp_groups_get_group_types' ) ) :?> <?php $group_types = bp_groups_get_group_types( array(), 'objects' ); ?> <?php foreach ( $group_types as $group_type => $details ) : ?> <li id="groups-type<?php echo $group_type; ?>"> <a href="<?php bp_group_type_directory_permalink( $group_type ); ?>"><?php echo $details->labels['name']; ?></a> </li> <?php endforeach; ?> <?php endif; ?>Regards
Brajesh - Brajesh Singh on October 26, 2019 at 10:04 pm in reply to: [Resolved] BuddyPress User Contact Form, replace content on page. #26156
Hi Gregg,
The purpose of template override is to avoid worrying about the plugin update.In my opinion, This is the right way to go ahead by overriding the template.
Regards
Brajesh - Brajesh Singh on October 26, 2019 at 9:59 pm in reply to: [Resolved] BuddyPress User Contact Form, replace content on page. #26154
Hi Gregg,
Thank you for the question.I am not familiar with memberpress.
If you know how to hide based on the membership, there there is an easy solution.You can copy buddypress-user-contact-form/templates/buddypress/members/single/bpucf-form.php to yourtheme/buddypress/members/single/bpucf-form.php
Then, You can modify it as you please.
Regards
Brajesh - Brajesh Singh on October 26, 2019 at 9:55 pm in reply to: BuddyPress Profile Completion – Color and Duration #26153
Hi Marek,
Welcome to BuddyDev.The styling/behaviour of notification is handled by your theme.
You are most probably using a theme that hides notification automatically. For the change in appearance/behaviour you will need to contact theme authos.
We are simply using standard bp_core_add_message()
Regards
Brajesh