Replies
- Brajesh Singh on July 8, 2020 at 4:12 am in reply to: Buddyblog – Only allow Authors or Contributors to post in one category they pick #31568
Hi Scott,
I am sorry for the messed code. We recently disable one of our code highlighters and that broke almost all old code posts. Have cleaned the blog now for code(still 13 posts remaining).If you visit that post again, you will have the correct code.
Please do note that the above code does not restrict a user to 1 category. we will most probably need to do that at the time of validation.
I will ask one of colleague to look into it and post the code(Or I will do it tomorrow).
Regards
Brajesh - Brajesh Singh on July 8, 2020 at 4:00 am in reply to: [Resolved] Buddypress User Contact Form – Send copy to admin #31566
Hi JJ,
Thank you.I appreciate your help & suggestion on this.
Regards
Brajesh - Brajesh Singh on July 8, 2020 at 3:53 am in reply to: [Resolved] Buddypress User Contact Form code suggestion #31564
Thank you. I appreciate your suggestion for helping us make this plugin better.
Regards
Brajesh - Brajesh Singh on July 8, 2020 at 3:47 am in reply to: [Resolved] Buddypress User Contact Form Character Limit #31562
Hi JJ,
Thank you.I sincerely appreciate you testing it. I am glad it worked.
Regards
Brajesh - Brajesh Singh on July 8, 2020 at 1:17 am in reply to: [Resolved] Custom BuddyPress badges are not available #31558
Hi,
I am sorry for the inconvenience. Please allow me to check it one more time and get back to you in next few hours.Regards
Brajesh - Brajesh Singh on July 8, 2020 at 1:03 am in reply to: [Resolved] Buddypress User Contact Form Character Limit #31556
Hi JJ,
Thank you for the patience.Please upgrade to the latest version. Currently, I have left it to be done via code. Adding a UI option will need more thought(min/max and other conditions for each field).
Please put the following code in bp-custom.php and it will restrict 1000 characters.
add_filter( 'bpucf_form_validation_errors', function ( $errors ) { $message = isset( $_POST['message'] ) ? trim( wp_unslash( $_POST['message'] ) ) : ''; // let us put our conditions here. // is the length is greater than 1000, add error. if ( strlen( $message ) > 1000 ) { $errors->add( 'message', __( 'Message should have 1000 or less characters.' ) ); } return $errors; } );Regards
Brajesh - Brajesh Singh on July 8, 2020 at 12:31 am in reply to: [Resolved] Community Builder Pro Child pagination issues in friends-members page #31555
Hi Sotiris,
Thank you for the patience.Please upgrade to 2.0.9
It fixes the issue.
Regards
Brajesh - Brajesh Singh on July 7, 2020 at 10:08 pm in reply to: [Resolved] Moderation Tools – Report Button position #31550
Marking resolved due to lack of activity.
Regards
Brajesh - Brajesh Singh on July 7, 2020 at 10:05 pm in reply to: BuddyPress Moderation Tools – Pop Up Issue – Off Screen #31549
Hi John,
Thank you fro pushing us for the modal box option in another thread.I hope the new update with modal box option resolves it.
Regards
Brajesh - Brajesh Singh on July 7, 2020 at 10:04 pm in reply to: [Resolved] BuddyPress Moderation Tools #31547
Marking resolved due to lack of replies.
Regards
Brajesh