-
Bharat replied to the topic User Sync for multisite in the forum How-to & Troubleshooting 2 years, 3 months ago
Here solution
After activating multisite I installed and network activated BuddyPress. I also added this line to wp-config.php:
define ( 'BP_ROOT_BLOG', 2 );
where 2 is ID of your communitycommunity.mysite.comThat way BP is accessible from an entire network, but profiles are handled only from the network site.
-
Bharat replied to the topic User Sync for multisite in the forum How-to & Troubleshooting 2 years, 3 months ago
After activating multisite I installed and network activated BuddyPress. I also added this line to wp-config.php: define ( ‘BP_ROOT_BLOG’, 2 ); where 2 is ID of your communitycommunity.mysite.com
That way BP is accessible from an entire network, but profiles are handled only from the network site.
-
Bharat started the topic Buddypress Plain text mail compatibility with WP HTML Mail. in the forum Miscellaneous 4 years ago
Buddypress Plain text mail compatibility with WP HTML Mail.
You can add the following code in your bp-custom.php file.
Location: wp-content/plugins/bp-custom.php if file is not there than you can create the bp-custom.php file and add the below code.
add_filter('bp_email_use_wp_mail', '__return_true');add_filter( 'wp_mail_content_type',…[Read more]
-
Bharat replied to the topic Solutions for html email text in the forum Requests & Feedback 4 years ago
add_filter(‘bp_email_use_wp_mail’, ‘__return_true’);
add_filter( ‘wp_mail_content_type’, ‘mathetis_use_html_wp_mail’ );
function mathetis_use_html_wp_mail() {
return ‘text/html’;
}
add_filter( ‘bp_email_get_content_plaintext’, ‘mathetis_get_bp_email_content_plaintext’, 10, 4 );
function mathetis_get_bp_email_content_plaintext( $content = ”,…[Read more] -
Bharat started the topic Buddypress Per Activity comment filter in the forum Ideas 4 years, 5 months ago
Hello Buddypress
Is there any way to add drop-down filter in the comment section, where the user can able to filter comments under each activity comment?
Example: If post-activity have received 100 comments under that article and need to filter that comment by ASC and desc order. Something like feature available with BuddyPress. -
Bharat started the topic How to change single activity slug name /p/234 to /test/234 ? in the forum Miscellaneous 4 years, 5 months ago
Hello
I would like to change a single Activity slug name.
Current slug-like https://example.com/activity/p/417/ and I want to rewrite slug URL like https://example.com/activity/test or author name/417.
Is there any way to fix this kind of issue? or any hook or filter or method where I can use code snippets to fix this issue.Thanks
-
Bharat replied to the topic Problem when i upload avatar in registration page. in the forum Third Party Plugins 4 years, 8 months ago
@arcangelgirl
You can add this code in functions.php file or bp-custom.php
add_filter( ‘bp_attachments_current_user_can’, function( $can, $capability ) {
if ( ‘edit_avatar’ !== $capability ) {
return $can;
}
// This will let all users upload an avatar (not just logged in members).
$can = true;
return $can;
}, 10, 2 ); -
Bharat started the topic Buddypress Registration shortcode in the forum Miscellaneous 4 years, 8 months ago
Hello Buddybpress team
I want to create custom short code for buddypress registration from and i have follow below thing .
1) plugin -> bp-custom.php file in I’ve add copy register.php file code and create short code using same register page code but when i place that shortcode other pages not working .Is there any solution for that ?
Here my…[Read more]
@chavodbharat
Active 2 years, 3 months ago