Replies
- Ravi on March 17, 2022 at 9:06 am in reply to: [Resolved] Predefined user gallery with display name #43867
Hello Jacob,
Please try the following code after removing the existing code:
https://gist.github.com/raviousprime/6493c7e264154a40e740b0b0e749e996
It will create a gallery for users with display names, restrict them from deleting them or modifying gallery titles.
Please make sure the meta key “_mpp_predefined_gallery_photo_1” does not exist for the user you are testing.
Regards
RAvi - Ravi on March 17, 2022 at 5:37 am in reply to: BuddyPress Xprofile Custom Field Types: Tags field #43864
Hello Scoob
Welcome to the BuddyDev Forums. I will check and will get back to you within 24 hrs.
Regards
Ravi Hello Yume,
Thank you for the acknowledgement. For custom post-type, this plugin works just normal as a normal WordPress post. Please enable settings for Post title, Post content under Settings > BP Profanity filter.
You can use the function with the name “bp_profanity_filter_get_parsed_content” on advanced custom fields to get the parsed content.
Regards
Ravi- Ravi on March 17, 2022 at 5:21 am in reply to: [Resolved] Would like to change “Report” to “Feedback” #43862
Hello Brian,
Thank you for posting. We can not modify button text contextually on the user or group pages. But you can use the following code to rename it on the activity directory page.
add_filter( 'bpmts_report_button_args', function ( $args ) { // If not any directory page return args. if ( ! bp_is_activity_directory() ) { return $args; } $args['label'] = __( 'Feedback' ); return $args; } );
We can not modify this on your app as that is a different environment. Please check.
Regards
Ravi - Ravi on March 17, 2022 at 5:10 am in reply to: Custom user info in profile header appear twice in BuddyBoss #43861
Hello Torben,
Sorry for the inconvenience. BuddyBoss does offer custom settings of info in Header as will Directory. You can check these settings under Settings > Profile > Profile Header > Elements. Please check.
Please contact them as they can assist you better with this requirement.
Regards
Ravi - Ravi on March 17, 2022 at 5:03 am in reply to: [Resolved] Predefined user gallery with display name #43860
Hello Jacob,
Thank you for the acknowledgement. I will check and will update you within 24 hrs.
Regards
Ravi - Ravi on March 17, 2022 at 4:50 am in reply to: [Resolved] How Do I Restrict Certain Member Types from Comment Replying #43858
Hello Brian,
Thank you for the acknowledgement. Are you able to locate the reply button in the activity stream?. My code works with the reply button and does not hide the comment button.
Please share the screenshot of the buttons you are referring to so that I can have a clear view.
Regards
Ravi Hello Yume,
Welcome to the BuddyDev Forums.
Which plugin are you are referring to?. Is it BuddyBlog Pro for custom post type and BuddyPress Profanity filter plugin for profanity?.
Please let me know so that I can help.
Regards
Ravi- Ravi on March 16, 2022 at 10:47 am in reply to: [Resolved] How to get opposite member type with common items selected? #43840
Hello Anjan,
Thank you for the detailed reply. You do not need BP_User_Query in favour of the BuddyPress Members loop. You can achieve the same thing we members’ loop.
Member’s loop does support Xprofile query and meta query in case of meta_query it does support only single key.
Please check
Regards
Ravi - Ravi on March 16, 2022 at 10:38 am in reply to: [Resolved] Friendship restrictions change my BuddBoss layout #43839
Hello Renaat,
Thank you for the acknowledgement. I am glad that you have resolved your problem on your own.
Regards
Ravi