Replies
- Brajesh Singh on October 23, 2022 at 6:48 am in reply to: BuddyBlog Pro – Group Pluging Posting #47064
Hi Aaron,
Thank you for the details.
Is this happening with ‘post’ post type or have you registered a custom post type?If this is a custom post type, does the post type support featured image(in register_post_type() )?
Regards
Brajesh - Brajesh Singh on October 23, 2022 at 6:46 am in reply to: Trouble finding Badges tab in back end #47063
Hi Brealyn,
Thank you for purchasing from us.
I am sorry for the inconvenience.Please visit Dashboard-> Users->Badges to create badge.
In case you have issue, Please do let me know here and I will assist.
Here is a link to our documentation for reference.Regards
Brajesh - Brajesh Singh on October 22, 2022 at 5:46 pm in reply to: [Resolved] Using code to set category on publishing with BuddyBlog Pay Per Post not working #47060
You are welcome.
Hi Nik,
I will be glad to look into the Event Manager after Diwali(It’s on 24th here) and assit you with it.Using
remove_action( 'parse_query', array( 'EM_Event_Post', 'parse_query' ) );Without scoping is not suggested at all. It is bound to have conflict.
Regards
Brajesh- Brajesh Singh on October 21, 2022 at 3:45 pm in reply to: BuddyBlog Pro – Group Pluging Posting #47056
Hi Aaron,
Welcome to BuddyDev support forums.
Thank you for the feedback.1. I am assuming that you have marked the featured image as required?
2. What is the issue that you are facing selecting the featured image? I am able to do it with BuddyPress and BuddyBoss both.Please share the details about your theme and environment to help me troubleshoot it.
Regards
Brajesh Hi,
Here is your updated code.function createCustomUserId( $user ) { $user_id = intval( $user->data->ID ); $id_prefix = 'pie'; $separator = '-'; $number_format = '000'; $batch_symbol = 'BN'; $batch_size = 10000; $batch_number = 1 + intval( ( $user_id - 1 ) / $batch_size ); $custom_id = $id_prefix . $separator . $number_format . $user_id . ' | ' . $batch_symbol . $batch_number; update_user_meta( $user_id, 'custom_user_id', $custom_id ); } add_action( 'pie_register_after_user_created', 'createCustomUserId', 10, 1 ); function showCustomUserId() { $output = ''; if ( is_user_logged_in() ) { $user_id = get_current_user_id(); $custom_id = get_user_meta( $user_id, 'custom_user_id', true ); $output .= '<div class="custom_id_div">'; $output .= '<p>'; $output .= $custom_id; $output .= '</p>'; $output .= '</div>'; return $output; } } add_shortcode( 'custom_user_id', 'showCustomUserId' );All I have done is added 1 line
$batch_size = 10000;and updated your batch number calculation to this
$batch_number = 1 + intval( ( $user_id - 1 ) / $batch_size );That will add the correct batch number.
Regards
BrajeshThank you Chris
Hi Mike,
After selecting the option, Please save/update the post and the mail will be sent.Regards
BrajeshHi Mike,
If you are using the classic editor, it appears at the right sidebar top.
If you are using Gutenberg, It appears at the bottom of the post as shown here.https://i.ibb.co/DLdy2Qp/Selection-005.png
If you still have issue, Please grant me temporary admin access to your site and I will check and assist you.
Regards
Brajesh- Brajesh Singh on October 21, 2022 at 12:19 pm in reply to: [Resolved] Using code to set category on publishing with BuddyBlog Pay Per Post not working #47049
Hi Tosin,
For the time being, Please change the hook tobblpro_ppp_post_purchase_completedfrom
bblpro_ppp_post_publishedIn your code and it should work as expected.
Regards
Brajesh