Replies
Hello Neil,
I have not checked it with Membership2. Let me check with this and will get back to you.
Thank you
RaviHello Audiomonk,
Good to know. Marking this topic as resolved.
Regards
RaviHello AudioMonk,
Thank you for the acknowledgement. You can achieve this by overloading the widget template with name ‘grid-photo.php’. Just follow the following steps.
1. Copy Template ‘mediapress/templates/mediapress/default/widgets/grid-photo.php’.
and paste it to active theme directory like ‘wp-content/themes/twentysixteen/mediapress/default/widgets/grid-photo.php’2. Replace the following content
<a href="<?php mpp_media_permalink(); ?>" <?php mpp_media_html_attributes( array( 'class' => 'mpp-item-thumbnail mpp-media-thumbnail mpp-photo-thumbnail', 'data-mpp-context' => 'widget', ) ); ?>> <img src="<?php mpp_media_src( 'thumbnail' ); ?>" alt="<?php echo esc_attr( mpp_get_media_title() ); ?> "/> </a>with
<a href="<?php mpp_media_src(); ?>" <?php mpp_media_html_attributes( array( 'class' => 'mpp-item-thumbnail mpp-media-thumbnail mpp-photo-thumbnail responsive_lightbox', 'data-mpp-context' => 'widget', ) ); ?>> <img src="<?php mpp_media_src( 'thumbnail' ); ?>" alt="<?php echo esc_attr( mpp_get_media_title() ); ?> "/> </a>Please let me know if it works or not.
Regards
RaviHello Julia,
Thank you for posting. I have checked this on my local server and it is working fine. Can point me to the site with some demo details so that I can check. Also if possible provide me your BuddyPress settings page tab screenshot it will help me.
Thank You
RaviHello Audiomonk,
I am on it. please let me know are you using any WordPress plugin for custom lightbox Or you have some custom code for it.
Regards
Ravi- Ravi on January 18, 2018 at 12:56 pm in reply to: [Resolved] mpp-list-media status=friends returns everything #12993
Hello Richard,
Thank you for the acknowledgement. I am glad that I could help.
Regards
Ravi - Ravi on January 18, 2018 at 11:03 am in reply to: [Resolved] mpp-list-media status=friends returns everything #12990
Hello Richard,
Thank you for the acknowledgement. Please download the latest code of MediaPress from the following url
https://github.com/buddydev/mediapress
and use the following code if you want to list media of loggeded-in user friends
function buddydev_list_friends_media( $args ) { if ( empty( $args['include_users'] ) && is_user_logged_in() ) { $args['include_users'] = bp_get_friend_ids( bp_loggedin_user_id() ); } return $args; } add_filter( 'mpp_shortcode_list_media_defaults', 'buddydev_list_friends_media' );Thank You
Ravi- This reply was modified 8 years, 9 months ago by
Ravi.
- This reply was modified 8 years, 9 months ago by
- Ravi on January 18, 2018 at 6:57 am in reply to: File Upload: Canceling image shows previous file in list #12986
Hello David,
Sorry for the late reply. I have checked the issue on your site. The problem might be because media queue is not clearing that is why it keeps on showing. I am looking into it and will get back to you.
Thank You
Ravi - Ravi on January 18, 2018 at 6:52 am in reply to: Problem Using Conditional Profile Fields for BuddyPress Plugin #12985
Hello Bob,
Thank You for posting. Please point me to the site and also provide me with a screenshot of your field conditions so that I could help
Thank You
Ravi - Ravi on January 18, 2018 at 5:20 am in reply to: [Resolved] mpp-list-media status=friends returns everything #12984
Hello Richard,
Sorry for the inconvenience. Please replace
status="friends"to
status="friendsonly"And let me know if it works or not
Thank You
Ravi