Replies
- Brajesh Singh on June 2, 2021 at 1:01 pm in reply to: [Resolved] Buddypress moderation button shortcode #38914
Hi Tosin,
Thank you.I am sorry, we haven’t been able to make any progress as I caught covid mid April. I have recovered since then but I am not sure when we can push an update for this.
For the time being, Can you please use the code snippet?
Regards
Brajesh - Brajesh Singh on June 1, 2021 at 12:58 pm in reply to: Problem with BuddyPress Friends Suggestions Pro #38909
Done. Please check again.
Regards
Brajesh - Brajesh Singh on June 1, 2021 at 9:21 am in reply to: Problem with BuddyPress Friends Suggestions Pro #38907
Hi Sandra,
I am sorry, I see the issue now. You are using 1.0.1 which had bug with multi fields and we released a fix later.I will share a copy of the latest plugin with you via mail now.
Regards
Brajesh - Brajesh Singh on May 31, 2021 at 7:57 pm in reply to: [Resolved] Enforce strong passwords in Buddypress General Settings #38905
Hi Tosin,
Thank you for the question.1. Doing server side check does not provide right user experience. So, I do not recommend the above code. The code does not include any validation function, it just lets the implementer define their own logic.
2. If you still wish to implement server side checkup, you can include this library https://github.com/bjeavons/zxcvbn-php and use it.
WordPress does not include any php function for testing the password strength currently. It does include the zxcvbn javascript library to test it at the client side(Which BuddyPress already uses).
Regards
Brajesh - Brajesh Singh on May 31, 2021 at 7:53 pm in reply to: [Resolved] Little loading image not in main activity box #38904
Thank you Lisa.
- Brajesh Singh on May 31, 2021 at 2:47 pm in reply to: [Resolved] Hiding elements from the register page #38901
Hi Carsten,
Thank you for the question.The page id selector should work fine. Have you checked your the css specificity? Your css may begetting overridden. Please check in the developer console using the element inspector.
Regards
Brajesh - Brajesh Singh on May 31, 2021 at 2:44 pm in reply to: Problem with BuddyPress Friends Suggestions Pro #38900
Thank you.
- Brajesh Singh on May 31, 2021 at 2:44 pm in reply to: [Resolved] Counter displaying pending friends requests instead #38899
Hi Carsten,
I personally think using css is your best option here.Regards
Brajesh - Brajesh Singh on May 31, 2021 at 12:01 am in reply to: [Resolved] Little loading image not in main activity box #38894
Hi Lisa,
I am sorry for the delayed reply.The theme is working as expected on mac Big Sur and chrome.
Please have look.
https://www.awesomescreenshot.com/video/3941964?key=006a688c13dadc4a3a002f75cf647e93Regards
Brajesh - Brajesh Singh on May 30, 2021 at 3:16 pm in reply to: [Resolved] Enforce strong passwords in Buddypress General Settings #38892
Hi John,
Thank you for the question.I am posting a sample code below for the settings page. Please update with your custom validation check.
// add validation logic to BuddyPress password update. add_filter( 'bp_members_validate_user_password', function ( $errors, $pass, $confirm_pass, $userdata ) { // already has error. if ( $errors->has_errors() ) { return $errors; } // add your validation logic here. $is_strong_password = false;// set it to true/false based on your validation logic. if ( ! $is_strong_password ) { $errors->add( 'weak_password', __( 'Please use strong password.' ) ); } return $errors; }, 10, 4 );You can update the validation logic by using your validate_password to achieve your goal.
hope that helps.
Regards
Brajesh