Replies
Hello Emanuele,
Please provide temporary access to your admin as well guest access of your staging site so that I can check what is going on there.
Regards
Ravi- Ravi on March 9, 2021 at 8:31 am in reply to: [Resolved] Blog Categories for Groups – show new post in group activity? #36731
Hello,
Sorry for the inconvenience. I will check it on my end and will update you.
Regards
Ravi - Ravi on March 8, 2021 at 7:47 pm in reply to: [Resolved] Mr. Deoveloper! I want to one function. #36725
Hello,
We have released the plugin. Please take a look here:
https://buddydev.com/plugins/mediapress-set-profile-cover/
Regards
Ravi Hello,
Sorry for the delayed reply. We have added support for BuddyPress Profile Fields. Please upgrade to the latest version of the plugin there is a setting named “BuddyPress – Profile Fields” please enable it and give it a shot.
Regards
Ravi- Ravi on March 8, 2021 at 12:02 pm in reply to: [Resolved] BUDDYPRESS REPORT BUTTON APPEARING TWICE #36701
Hello Deepa,
You have to support Nouveau template through your theme “functions.php”. Please try using the following code.
if ( ! function_exists( 'bdev_buddypress_nouveau_support' ) ) { function bdev_buddypress_nouveau_support() { add_theme_support( 'buddypress-use-nouveau' ); } add_action( 'after_setup_theme', 'bdev_buddypress_nouveau_support' ); }
Please let me know if it works or not.
Regards
Ravi - Ravi on March 8, 2021 at 11:50 am in reply to: [Resolved] BUDDYPRESS REPORT BUTTON APPEARING TWICE #36698This reply has been marked as private.
- Ravi on March 8, 2021 at 11:42 am in reply to: [Resolved] BUDDYPRESS REPORT BUTTON APPEARING TWICE #36693
Hello Deepa,
Sorry for the inconvenience. Please do let me know are you using BuddyBoss theme with BuddyBoss Platform. One more thing, It is Member’s, Group’s or activity directory activity feed you are referring to.
Regards
- This reply was modified 4 years, 5 months ago by
Ravi.
- This reply was modified 4 years, 5 months ago by
- Ravi on March 8, 2021 at 10:47 am in reply to: BuddyPress avatar moderator – Disable placeholder photo? #36690
Hello,
Please first upgrade your plugin. Then try the following code.
It will override placeholder image for user by member type default avatar.
/** * Override avatar moderator placeholder url by member type associated avatar * * @param int $user_id User id. * @param string $type Avatar type. * * @return mixed */ function buddydev_get_member_type_associated_url( $user_id, $type = 'full' ) { $active_types = bpmtp_get_active_member_type_entries(); $associated_avatar_urls = wp_list_pluck( $active_types, 'associated_avatar_urls', 'member_type' ); $user_member_types = bp_get_member_type( $user_id, false ); // Empty member return default url. if ( empty( $user_member_types ) ) { return ''; } $url = ''; foreach ( $user_member_types as $member_type ) { if ( empty( $associated_avatar_urls[ $member_type ] ) || empty( $associated_avatar_urls[ $member_type ][ $type ] ) ) { continue; } $url = $associated_avatar_urls[ $member_type ][ $type ]; break; } return $url; } add_filter( 'bpavmod_placeholder_avatar_url', function ( $placeholder_url, $item_type ) { if ( ! function_exists( 'bpmtp_member_types_pro' ) || 'user' !== $item_type ) { return $placeholder_url; } $user_id = bp_is_user() ? bp_displayed_user_id() : bp_get_member_user_id(); if ( ! $user_id || ! bpavmod_is_in_moderation( $user_id, 'user' ) ) { return $placeholder_url; } $url = buddydev_get_member_type_associated_url( $user_id, 'full' ); return $url ? $url : $placeholder_url; }, 10, 2 ); add_filter( 'get_avatar_url', function ( $avatar_url, $id_or_email ) { if ( ! function_exists( 'bpmtp_member_types_pro' ) || ! function_exists( 'bpavmod' ) ) { return $avatar_url; } $user = is_email( $id_or_email ) ? get_user_by( 'email', $id_or_email ) : get_user_by( 'id', $id_or_email ); if ( ! $user || ! bpavmod_is_in_moderation( $user->ID, 'user' ) ) { return $avatar_url; } $url = buddydev_get_member_type_associated_url( $user->ID, 'thumb' ); return $url ? $url : $avatar_url; }, 15, 2 );
Regards
Ravi - Ravi on March 8, 2021 at 6:13 am in reply to: [Resolved] Links are not working in Visitors Tab #36685
Hello Khalid,
Sorry for the inconvenience.
1. Yes, It seems to be an issue with recent visitors. I will look into it and will update you.
2. Please point me to the site so that I can help you with the style fixing.Regards
Ravi - Ravi on March 8, 2021 at 5:55 am in reply to: Mediapress – Import media from url is not working #36684
Hello SN,
Please let me know have you enabled the following settings option turned on or not.
1. Enable adding media through link?.
2. Enable adding direct link to files from other sites?
3. Download the file to your server?
4. Enable oembed support?You can find these settings under MediaPress > Settings
I have tested it on my end and all options working for me.
Regards
Ravi