Replies
- Ravi on January 19, 2021 at 5:51 pm in reply to: [Resolved] Unable to edit or delete BP posts #35634
Hello Janet,
Thank you for the acknowledgement. I am glad that issue is resolved.
Regards
Ravi Hello Mike,
You can download it from this like:
https://github.com/mediapress/mpp-global-shared-gallery/archive/master.zip
Regards
Ravi- Ravi on January 19, 2021 at 4:39 pm in reply to: [Resolved] Unable to edit or delete BP posts #35629
Hello Janet,
Sorry for the inconvenience. I am looking into it and will update you soon.
Regards
Ravi Hello Mike,
Thank you for posting. We have a separate small plugin for making gallery as shared. Please look at here:
https://github.com/mediapress/mpp-global-shared-gallery
Regards
RaviHello Carsten,
Thank you for the acknowledgement and the kind words.
Regards
RaviHello Carsten,
Try the follwing code.
add_filter( 'generate_hook_element_display', function ( $display, $element_id ) { if ( 45256 != $element_id ) { return $display; } // If message component or setting set display to false. if ( bp_is_messages_component() || bp_is_settings_component() ) { $display = false; } return $display; }, 10, 2 );
Regards
RaviHello Scott,
Thank you for the acknowledgement. Please try to add custom link like following way:
http://yourdomain.com/members/me/friends/circle/
Please do let me know if it works or not.
Regards
RaviHello Carsten,
Try the following code.
add_filter( 'generate_hook_element_display', function( $display, $element_id ) { // If element id is 45256 and current component is message. Not display. if ( 45256 == $element_id && bp_is_current_component( 'messages' ) ) { $display = false; } elseif ( bp_is_settings_component() ) { // If is settings component set display to false. $display = false; } return $display; }, 10, 2 );
Regards
RaviHello Carsten,
No, It is not deprecated you can use function with no problem.
Regards
RaviHello Carsten,
Thank you for the acknowledgement. Yes, It seems somehow they forgot to update this. Marking this as resolved.
Regards
Ravi