Replies
- 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 Hi,
Thank you for the details. I have been a bit away. will look into it and get back to you in next 24 hours.Regards
Brajesh- Brajesh Singh on October 21, 2022 at 12:48 am in reply to: Image uploaded not seen in backend #47043
Hi Dev,
I am glad that issue is fixed. Will check your other issue about the file as required field not working properly and will get back to you in next 24 hours.Regards
Brajesh - Brajesh Singh on October 21, 2022 at 12:47 am in reply to: [Resolved] Conditional Profile Fields for BuddyPress – Fields still showing up in BuddyBoss #47042
Hi Peter,
Thank you.
It’s wonderful to know that you have been to India around Diwali. It’s one of the most amazing festival we have here.I hope you enjoyed your stay here.
Yes, the plugin will be available in early November.
1. The issue with xprofile upload seems to be your wp-content/upload is not being writable/readable. It is thrown by WordPress when we ask it to handle the upload but the upload file is not readable.
Please check uploads directory and its permissions.
Regards
Brajesh Hi Daniel,
You are welcome.
I had suggested the registration plugin as you had asked for a solution to block gmail. I am glad you have already done this.Regards
Brajesh