Replies
- Mayzfieldtv on November 30, 2021 at 4:22 pm in reply to: [Resolved] mediapress with buddyboss issue #41832
ok its all the mediapress pages on the members profile when they are on the gallery tab
- Mayzfieldtv on November 30, 2021 at 4:17 pm in reply to: [Resolved] mediapress with buddyboss issue #41831
It’s the actual add media page.
- Mayzfieldtv on November 29, 2021 at 11:23 pm in reply to: Sync mulsitsite Buddypress to show same content across network. #41807
* for profile covers?
- Mayzfieldtv on November 29, 2021 at 11:12 pm in reply to: Sync mulsitsite Buddypress to show same content across network. #41806
That works thanks. And I also made the avatars sync across the network. But what about the covers?
What are the equivalents of “bp_core_avatar_upload_path” and “bp_core_avatar_url”, for profile avatars?
I’m using this:
/***sync avatar across multisite network***/ function bpdev_fix_avatar_dir_path( $path ){ if ( is_multisite() && BP_ENABLE_MULTIBLOG ) $path = ABSPATH . 'wp-content/uploads/'; return $path; } add_filter( 'bp_core_avatar_upload_path', 'bpdev_fix_avatar_dir_path', 1 ); //fix the upload dir url function bpdev_fix_avatar_dir_url( $url ){ if ( is_multisite() ) $url = network_home_url('/wp-content/uploads') ; return $url; } add_filter( 'bp_core_avatar_url', 'bpdev_fix_avatar_dir_url', 1 );
- Mayzfieldtv on November 28, 2021 at 6:57 pm in reply to: How to auto assign a role on multisite buddypress (buddyboss) network #41786
If I enable Multi-Network, it will work?
- Mayzfieldtv on November 28, 2021 at 6:38 pm in reply to: How to auto assign a role on multisite buddypress (buddyboss) network #41785
Multi Network isn’t enabled. Buddyboss is activated network wide on a normal multisite installation with the first blog as the home base.
- Mayzfieldtv on November 27, 2021 at 3:17 am in reply to: How to auto assign a role on multisite buddypress (buddyboss) network #41757
with backtick:
/** * Change user role on first login */ function buddydev_change_user_role_on_first_login( $user_login, $user ) { if ( ! function_exists( ‘buddypress’ ) || user_can( $user->ID, ‘manage_options’ ) ) { return; } // check for user’s last activity. $last_activity = bp_get_user_last_activity( $user->ID ); if ( empty( $last_activity ) ) { $role = ‘author’; // please change with your desired role. $user->set_role( $role ); } } add_action( ‘wp_login’, ‘buddydev_change_user_role_on_first_login’, – 1, 2 );
- Mayzfieldtv on November 25, 2021 at 8:00 pm in reply to: buddyblog pro: share to friends only? #41735
Ok, that’s what I wanted. So private buddyblog posts aren’t like me setting posts as private in the wp admin? So if the author sets it as private, other users can still see the post but it will only show up on their profile, right?
- Mayzfieldtv on May 16, 2021 at 8:07 pm in reply to: Mediapress gives an error if I don't include text in the activity post form #38664
What about adding in the text space so the person can just upload the media? How can I do that because I think that’s what rtmedia does, but I’m not sure.
I am commenting on this because what I actually wanted is to be able to use circles as privacy options. So, I am asking why you said that if you are using buddyboss, you are not sure if you can provide newsfeed privacy, I mean is this because buddyboss is different? I just need to understand. *I was using youzer before and it was not really buddypress so I know how integrations can cause issues sometimes.