Replies
- Brajesh Singh on August 11, 2022 at 9:04 am in reply to: [Resolved] BuddyBlog Pro Media Uploader and Article Images #45992
Hi Cristi,
Thank you.
We will have the solution in our next update.It is just a minor filter to disable the existing feature.
Regards
Brajesh - Brajesh Singh on August 11, 2022 at 6:46 am in reply to: [Resolved] MediaPress Shortcode Compatibility with Elementor/BuddyBuilder #45991
Hi Joseph,
Thank you for using MediaPress.Your second shortcode is correct
[mpp-list-media for='displayed' type='photo']If it is not working, Please contact BuddyBuilder support and ask them if
bp_displayed_user_id()function works with their profile?
Regards
Brajesh Hi Tosin,
Here is your updated codeadd_action( 'transition_post_status', function ( $new_status, $old_status, $post ) { if ( 'publish' !== $new_status || ! function_exists( 'bp_featured_members' ) ) { return; } $user = get_user_by( 'id', $post->post_author ); if ( ! $user ) { return; } $users_post_count = count_user_posts( $user->ID, 'post' ); $is_featured = bp_featured_members()->is_featured( $user->ID ); if( 25 == $users_post_count && ! $is_featured ){ bp_featured_members()->add_user( $user->ID ); } elseif( $is_featured && $users_post_count< 25 ) { bp_featured_members()->remove_user( $user->ID ); } }, 10, 3 );Regards
Brajesh- Brajesh Singh on August 11, 2022 at 5:16 am in reply to: [Resolved] Pay Per Post by selling access with WooCommerce #45987
Hi Cristi,
Thank you for reporting the issue.Yes, there were some issue with Pay per Post. we are in the process of releasing it on BuddyDev this weekend and it will have the fix.
Regards
Brajesh - Brajesh Singh on August 10, 2022 at 11:57 pm in reply to: User profiles tabs creator pro – BuddyBoss – doesn’t change existing tabs #45986
Hi George,
Which plugin are you using for Blog tab?Please let us know.
Thank you
Brajesh - Brajesh Singh on August 10, 2022 at 11:22 am in reply to: Sorry, you are not allowed to upload here. #45981
Hi Martin,
Thank you for using MediaPress.Please download this addon.
https://github.com/mediapress/mpp-global-shared-galleryand install/activate it.
After that, Please mark the gallery as Globally shared in the admin edit gallery page. After that, any member of your site can upload to the gallery.
Please let me know if it works for you or not?
Regards
Brajesh Hi Tosin,
The problem is we are not storing any flag/marker to differentiate a user who has been marked as featured manually by the site admin.So, if we start automating the non featuring of user, it will impact that.
Is that fine with you?
Regards
BrajeshHi Carsten,
Thank you.Here is the link for subscribing to our newsletter.
http://newsletter.buddydev.com/I will have it available on BuddyDev soon.
Regards
Brajeshit strictly marks on 2. If you want to mark any user who has more than 24 posts(e.g 26, 28 etc), you change the condition from
if ( 25 == $users_post_count && ! bp_featured_members()->is_featured( $user->ID ) ) { bp_featured_members()->add_user( $user->ID ); }to
if ( $users_post_count >= 25 && ! bp_featured_members()->is_featured( $user->ID ) ) { bp_featured_members()->add_user( $user->ID ); }Regards
BrajeshHi Tosin,
Please give it a try and let me know if it works or not?add_action( 'transition_post_status', function ( $new_status, $old_status, $post ) { if ( 'publish' !== $new_status || ! function_exists( 'bp_featured_members' ) ) { return; } $user = get_user_by( 'id', $post->post_author ); if ( ! $user ) { return; } $users_post_count = count_user_posts( $user->ID, 'post' ); if ( 25 == $users_post_count && ! bp_featured_members()->is_featured( $user->ID ) ) { bp_featured_members()->add_user( $user->ID ); } }, 10, 3 );Regards
Brajesh