Replies
- Brajesh Singh on October 25, 2022 at 2:20 am in reply to: [Resolved] BuddyPress registration not working #47076
Hi Kristian,
Welcome to BuddyDev support forums.I am glad the issue was not related to BuddyPress and is resolved now.
Regards
Brajesh - Brajesh Singh on October 25, 2022 at 2:09 am in reply to: Redirect auto logged out users to frontpage on next visit to site #47075
Hi Carsten,
Thank you for the question.BuddyPress does a proper redirect if you refresh and login. Are you using any custom plugin for login? It is probably related to that. Please try disabling any custom login feature and check this again.
Regards
Brajesh - Brajesh Singh on October 25, 2022 at 2:05 am in reply to: Display “My group” with short code? #47074
Hi Soren,
Thank you for the question.
That shortcode is specific to our theme.We are in the process to releasing a free shortcodes plugin for BuddyPress(expect it within 2 weeks) which should give you this feature/
Regards
Brajesh Hi Irina,
Welcome to BuddyDev support forums.1. You should not use BuddyPress and BuddyBoss together. The error seems to be a product from that. As far as I see, You have activated BuddyPress not BuddyPress User Profile Tabs Creator and that’s why the BuddyBoss Platform pro is throwing error.
Please delete BuddyPress and your site will work fine. Also, Here is a link to profile Tabs Creator Pro,
https://buddydev.com/plugins/buddypress-user-profile-tabs-creator-pro/This is the plugin you will need with BuddyBoss for custom tabs.
Regards
Brajesh- 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
Brajesh