Replies
Hi Ethan,
I am not seeing any issue with your code.You have htis
bp_core_remove_nav_item( 'pdf' ); bp_core_remove_nav_item( 'groups' ); bp_core_remove_nav_item( 'mediapress' );It is removing 3 top level tabs and all of their sub tabs.
Regards
Brajesh- Brajesh Singh on June 9, 2022 at 12:58 am in reply to: [Resolved] Buddyblog change author if post is published in a specific category #45261
You are welcome 🙂
I am glad to be of service.Regards
Brajesh - Brajesh Singh on June 9, 2022 at 12:57 am in reply to: Issues with registration member types. #45260
Hi Ethan,
Where can I see the code? Is it in bp-custom.php?Regards
Brajesh - Brajesh Singh on June 9, 2022 at 12:52 am in reply to: BuddyPress Auto Friendship Pro + BuddyPress Featured Members Feature Suggestion #45259
Hi Tosin,
Will it work if we supplied you some code instead.We do plan to change the way the users are selected but that will need some significant time as we hope to have a better maintainable and future adaptable solution for multiple custom sources of users.
If you need a quick solution, Ravi or I can put some code quickly.
Regards
Brajesh Hi Tosin,
Thank you for the explanation.It is always good to know about the reasons driving a decision.
Regards
BrajeshHi Tosin,
Thank you for the suggestions.I am sorry, at the moment, we lack the time to add it to Branded login any time soon.
Regards
BrajeshHi Shaston,
Welcome to BuddyDev support forums.Thank you for pointing the issues and helping us correct it.
I have updated the documentation with the fix.
Regards
Brajesh- Brajesh Singh on June 8, 2022 at 9:40 pm in reply to: [Resolved] Buddyblog change author if post is published in a specific category #45251
Hi Tosin,
Thank you for the patience.There was a slight mistake on my part.
Please use the updated code
/** * Update BuddyBlog Author when a post is submitted in a specific category. */ add_filter( 'bblpro_post_submission_prepared_data', function ( $post_data, $form_id, $post, $is_submission ) { // update author if the category was selected. Don't do anything on edit. $anonymous_cat_id = 1487; $anonymous_user_id = 4766806; if( ! $is_submission ) { return $post_data; } $selected_terms_ids = isset( $_POST['tax_input'] ) ? (array) $_POST['tax_input'] : array(); $selected_categories = isset( $selected_terms_ids['category'] ) ? (array) $selected_terms_ids['category']: array(); if( ! $selected_categories || ! in_array( $anonymous_cat_id, $selected_categories ) ) { return $post_data; } // Update. $post_data['post_author'] = $anonymous_user_id; // keep current user data for future? if ( ! empty( $post_data['ID'] ) ) { update_post_meta( $post_data['ID'], '_bbl_original_post_author', get_current_user_id() ); } return $post_data; }, 10, 4 );I had used $post_data(which only contained basic details) instead of $_POST.
Regards
Brajesh - Brajesh Singh on June 8, 2022 at 8:03 pm in reply to: [Resolved] Xprofile Field – Country Select #45250
Hi Quint,
Please upgrade to 1.2.3. The plugin supports the BP Profile Search for Country field.Regards
Brajesh - Brajesh Singh on June 8, 2022 at 7:24 pm in reply to: Mediapress strongly downgrade images when posting them – URGENT #45248
Hi Giuseppe,
Can you please link me to your activity stream.
It seems, I am not looking at the same thing as you.you are probably thinking thumbnail and original as same thing.
Thank you
Brajesh