Replies
Hi,
That’s not the right way to do it as the $fieldname is not available with that hook.here is the code you may use
add_action( 'bp_signup_validate', function () { $bp = buddypress(); if ( ! $bp->signup->errors ) { return; } if ( isset( $bp->signup->errors['field_1'] ) ) { $bp->signup->errors['field_1'] = sprintf( '<div class="bp-messages bp-feedback error"> <p>%s</p> </div>', 'You have to enter name.' ); } } );Regards
BrajeshHi Nitin,
This plugin was dropped in favour of relationship API for BuddyPress. I do have that plugin partially available. I will most probably do a release sometimes in future.Regards
Brajesh- Brajesh Singh on February 12, 2022 at 11:39 pm in reply to: Want to publish PODCAST through Buddyblog Pro Form #43150
Hi Sachin,
Thank you.
Our team will check the player next week and get back to you.Regards
Brajesh - Brajesh Singh on February 12, 2022 at 11:38 pm in reply to: Buddypress Auto-Follow from other registeration page #43149This reply has been marked as private.
- Brajesh Singh on February 12, 2022 at 11:37 pm in reply to: [Resolved] Auto Join not working for new users #43148
Hi Raymond,
Thank you.I see that your users are registering via WooCommerce. In this case, there are only 2 cases where the action will be applied.
1. When a user registers
2. When a user updates their profileIn the first case(when user registers via WooCommerce), the xprofile data is not available for the user(I still need to look into WooBuddy to verify when they add it). So, only global lists(without any condition will match on this action).
In case of profile update, xprofile data is available, so it will match any list containing conditions. Please try updating a user’s profile.
For the 1st case(Registration), Please allow us to check the WooBuddy plugin next week(Monday/Tuesday) and we will have a better idea if we can change our hook’s priority to support it or not.
Thank you
Brajesh Hi Léonard,
I am sorry for the delayed reply.Your Page header background is set to white “#FFF” and that is making it invisible.
Please visit Dashboard->Appearance->Customize->Styling-> Page Header
You will find the background option there(color). Please add transparency(there is a color picker that allows it). The cover image will be visible then.
Regards
Brajesh- Brajesh Singh on February 12, 2022 at 11:20 pm in reply to: [Resolved] Suspended users able to access information through API if already logged in #43146
Hi Nifty,
Thank you for the patience.The JWT plugin uses determine_current_user hook to mark a user as logged and the plugin does not give us any option to check for external conditions. Our only solution is to hook to the same filter at a lower priority. I am not very comfortable with this idea as a general solution.
Still, you can put this code and it will work.
/** * Disallow current to be accepted as logged if they are suspended. */ add_filter( 'determine_current_user', function ( $user_id ) { if ( ! $user_id || ! function_exists( 'bpmts_is_user_suspended' ) ) { return $user_id; } if ( bpmts_is_user_suspended( $user_id ) ) { return false; } return $user_id; }, 100 );Regards
Brajesh - Brajesh Singh on February 10, 2022 at 5:24 pm in reply to: [Resolved] Buddyblog Pro – allow user to select only one category when posting #43129
Hi Niculae,
Thank you for confirming.Regards
Brajesh - Brajesh Singh on February 10, 2022 at 5:23 pm in reply to: Want to publish PODCAST through Buddyblog Pro Form #43128
Hi Sachin,
can you confirm that the player uses post type for storing the media and data etc?Regards
Brajesh - Brajesh Singh on February 10, 2022 at 5:22 pm in reply to: [Resolved] BuddyDev Username Availability Not working with BuddyBoss theme #43127
Hi Tarak,
Nickname and usernames are different. I am sorry, this plugin does not work for nickname.
Regards
Brajesh