Replies
Making the change made it so that in the Profile Gallery tab, the gallery names for Wall Gallery are being changed to include the member’s name.
My Gallery page for the sitewide gallery is a page with the shortcode
[mpp-list-gallery]
Should I be using something else for my Gallery directory page?
- wingflap on December 20, 2023 at 5:53 pm in reply to: Trying to integrate WP ULike with MediaPress #51174
I added the code to functions.php in my theme folder and still don’t see the ‘Like’ button appearing. I’m wondering if it has anything to do with the settings in WP ULike. In the settings, there is a tab for Post Type. I can toggle the display of the Like buttons in Posts, BuddyPress Activity, and bbPress. I’m wondering if WP ULike is even aware of the Single Media page and the Lightbox?
Is the code to display the Like button that you’ve provided going to even register within WP ULike? Is this even possible without having to mess with thw WP ULike plugin itself?
- wingflap on December 19, 2023 at 6:11 pm in reply to: Trying to integrate WP ULike with MediaPress #51167
I tried it in Twenty-Twenty-Four and it still doesn’t work.
I created the file’bp-custom.php’ in /wp-content/plugins.
It now reads:
<?php // your php custom code goes below this line. add_action( 'mpp_before_gallery_entry', 'buddydev_modify_gallery_title' ); remove_action( 'mpp_after_gallery_entry', 'buddydev_modify_gallery_title', 10 ); function buddydev_modify_gallery_title() { add_filter( 'mpp_get_gallery_title', function ( $title, $gallery_id ) { if ( mpp_is_gallery_directory() && mpp_is_wall_gallery( $gallery_id ) ) { $gallery = mpp_get_gallery( $gallery_id ); if ( 'groups' === $gallery->component ) { $title = sprintf( '%s wall gallery', bp_get_group_name( $gallery->component_id ) ); } else { $title = sprintf( '%s wall gallery', bp_core_get_user_displayname( $gallery->user_id ) ); } } return $title; }, 10, 2 ); }
Both the Sitewide Gallery and the gallery in the member profile still just shows “Wall photo Gallery”.
- wingflap on December 16, 2023 at 1:33 am in reply to: Request to add Lightbox for single page view in Mediapress #51152
Looks pretty good. I wonder if maybe a link could be added to the lightbox which says “View Original” or something similar which would be the same link as the one behind the date link. It just doesn’t seem intuitive for a user to be able to know to click the date link to get to the original picture.
Also, I’d like the ability to click the original picture and have it open a lightbox.
- wingflap on December 5, 2023 at 12:55 am in reply to: Request to add Lightbox for single page view in Mediapress #50976
I’ll try it out tonight or tomorrow and then give feedback. Thanks so much for your time and effort. This is a great plugin!
- wingflap on December 2, 2023 at 5:42 pm in reply to: Request to add Lightbox for single page view in Mediapress #50951
Great! I can’t wait to test it out.
- wingflap on December 1, 2023 at 2:04 am in reply to: Request to add Lightbox for single page view in Mediapress #50943
Any progress yet?
- wingflap on November 13, 2023 at 6:21 pm in reply to: Request to add Lightbox for single page view in Mediapress #50862
Hi,
Just checking in to see if there is any update on this?