Hi there,
Thanks a lot for the plugin!
Currently when a user upload a photo and opens it she see the Lightbox. Then if she click on the photo inside the lightbox she would see a dedicated page for that photo. We don’t want that because we don’t want users to leave a buddypress group.
Can we disable that second click? I mean once the lightbox opens and the user click on the photo once again she shouldn’t see anything
Hi elias ,
Welcome to BuddyDev.Please visit Dashboard->MediaPress->settings->Theming
Please adjust the lightbox settings there(enable/disable etc).Currently, we do not have the option to link to media.
If you want to do it, you will need to override a template file? Please let me know if you are comfortable with that and I will share how to do it.
Regards
BrajeshHi,
Please copy plugin/mediapress/templates/mediapress/default/buddypress/activity/views/grid-photo.php to
Your theme/mediapress/default/buddypress/activity/views/grid-photo.phpNow, you will see somethin like this
<a href="<?php mpp_media_permalink(); ?>"
change the
<?php mpp_media_permalink(); ?>
with
<?php mpp_media_src( 'original' ); ?>
Regards
BrajeshThanks, Brajesh!
Sorry, do I need to put grid-photo.php to the /MYSITE/wp-content/themes/MYTHEME/mediapress/default/buddypress/activity/views/grid-photo.php ?
If yes I assume I need to create all this folders myself (/mediapress/default/buddypress/activity/views/) ?
Yes, you are right.
you will need to create these folders in your currently active theme.
Regards
Brajesh
You must be logged in to reply to this topic.