Replies
- Brajesh Singh on December 12, 2022 at 1:55 pm in reply to: [Resolved] Buddyblog activity button #47599
Hi Tosin,
I will recommend against this one. You are going to have a very bad experience as clicking on delete will make users move from current location in stream to profile or some other page.Regards
Brajesh - Brajesh Singh on December 12, 2022 at 1:54 pm in reply to: MediaPress Media Moderator with Buddy #47598
Hi,
Thank you for using the plugin.
No, It is not compatible with BuddyBoss and will need a complete rewrite to work with BuddyBoss. It will be 5-10 hours of custom work.Regards
Brajesh - Brajesh Singh on December 11, 2022 at 9:05 pm in reply to: [Resolved] Changing XProfile field Topic #47583
Hi Daniel,
You will not loose any data.
Please feel free to edit the field name.Regards
Brajesh - Brajesh Singh on December 11, 2022 at 9:04 pm in reply to: [Resolved] buddypress: can comment for user role option? #47582
Hi Amanda,
There is no clean way to do it currently.
There are hooks that allow to buffer and remove the form but they are inconsistent and I will suggest doing a template override.Regards
Brajesh - Brajesh Singh on December 11, 2022 at 9:03 pm in reply to: [Resolved] Buddyblog Pro – Issue with Oembed Type #47581
Thank you.
- Brajesh Singh on December 11, 2022 at 9:03 pm in reply to: [Resolved] Buddyblog Pro – Elementor Loop Item Shortcode as Post Template on User Profile #47580
Hi Vitor,
Thank you for the question.
I have limited experience with elementor. So, I may not be able to assit much.Do you know a way you can achieve the same for a standard post type? If yes, you need to apply the same for BuddyBlog post types.
The entry(single/loop) comes from a slightly modieifd buddyboss entry file.
You can copy it from buddyblog/buddyboss/default/entry-content.php to your child theme/buddyblog/buddyboss/default/entry-content.phpRegards
Brajesh - Brajesh Singh on December 11, 2022 at 1:01 pm in reply to: Image field not working in BuddyBoss app #47577
Hi Henrik,
Welcome to BuddyDev.The field rendering in BuddyBoss app is handled by the BuddyBoss App. Please contact their support and report the issue.
Please let me know if they suggest any change from our side.
Thank you
Brajesh - Brajesh Singh on December 9, 2022 at 11:31 pm in reply to: [Resolved] Send PUT remote request with BuddyPress checkbox #47570
Hi
Thank you for the reply.1. Can you please share the code for your endpoint as it seems you are probably checking the string value for checkbox incorrectly.
2. I was not referring to any issue. My suggestion was to put an extra set of isset there to avoid notice if the field is not updated, this will cause php notice.
Regards
Brajesh - Brajesh Singh on December 9, 2022 at 11:25 pm in reply to: [Resolved] buddypress: can comment for user role option? #47569
Hi Amanda,
Thank you for the question.you can update the
function buddydev_is_restricted_commenter( $user_id ) { // Never restrict super admin from commenting or no user found. if ( is_super_admin( $user_id ) ) { return false; } $user = get_user_by( 'id', $user_id ); // Roles those will be restricted. $restricted_roles = array( 'contributor', 'subscriber' ); // Restrict only if the user has restricted roles. if ( $user && array_intersect( $user->roles, $restricted_roles ) ) { return true; } return false; }with
function buddydev_is_restricted_commenter( $user_id ) { // Never restrict super admin from commenting or no user found. if ( is_super_admin( $user_id ) ) { return false; } $user = get_user_by( 'id', $user_id ); // Roles those will be allowed. $allowed_roles = array( 'contributor', 'subscriber' ); // Do not restrict if user has atleast one of the allowed roles. if ( $user && array_intersect( $user->roles, $allowed_roles ) ) { return false; } return true; }Please feel free to change the $allowed_roles.
Regards
Brajesh - Brajesh Singh on December 9, 2022 at 11:18 pm in reply to: [Resolved] Buddyblog Pro – Issue with Oembed Type #47568
Are you putting the shortcode inside the post content?
Can you please share me the steps to re-create it?Thank you
Brajesh