Replies
- Brajesh Singh on August 2, 2016 at 9:26 pm in reply to: [Resolved] Videos Not Opening in Lightbox #4894
Hi Simon,
It is by design at the moment. It is possible to open but our implementation/use of magnific popup does not support it. Please do not use lightbox tag here. That will link the gallery to their individual page and users should be able to view the videos.We will explore in future on enabling the lighbox for videos too.
- Brajesh Singh on August 2, 2016 at 9:22 pm in reply to: [Resolved] Media Title Not Showing Up Under Thumbnail or in Lightbox #4893
Thank you Simon.
In the same way you can override all the template(even the lightbox too). The lightbox template is in templates/default/gallery/media/views/lightbox-comment.php.
You can cop that to yourtheme/mediapress/default/gallery/media/views/lightbox-comment.phpHope that helps.
All the best 🙂 Hi Simon,
Yes, We have an update available. Please download it from here and give it a try
https://github.com/mediapress/mpp-media-ratingThank you
Brajesh- Brajesh Singh on August 2, 2016 at 9:16 pm in reply to: [Resolved] BP deactivate account plugin and Paid Membership Pro question. #4890
Hi Mark,
Thank you for posting.
Here is the code that you can useif ( function_exists( 'bp_account_deactivator' ) ) { bp_account_deactivator()->set_inactive( $user_id ); }Hope that helps.
Hi Lavish,
Thank you for looking at it. I will check a little more and will post back later. I am not sure about the reason. The MailGun plugin overrides wp_email and using the above filter forces BuddyPress to use wp_email instead of new methods.Will have more details once I do a few tests today.
Hi Mike,
Thank you. Always happy to help 🙂Hi Lavish,
I looked at the mailgun plugi and BuddPress implementation both. If you enable plaintext email, Mailgun will be able to deliver(Since Mailgun overrides wp_mail) but if you need html template, Then A specific implementation for BP_PHPMailer is required.To enable fallback, you can put following in your bp-custom.php
add_filter( 'bp_email_use_wp_mail', '__return_true ' );Hope that helps.
- Brajesh Singh on August 2, 2016 at 2:35 am in reply to: [Resolved] How to open gallery media in lightbox #4869
Thank you. Glad you fixed it. Thank you for marking resolved.
- Brajesh Singh on August 2, 2016 at 2:34 am in reply to: [Resolved] BP Custom Background For Users Profile plugin #4868
Hi Andrew,
no problem.
Please use this code instead.
http://pastebin.com/VyqiYCuLHope that helps.
- Brajesh Singh on August 2, 2016 at 2:28 am in reply to: [Resolved] Media Title Not Showing Up Under Thumbnail or in Lightbox #4867
Hi Simon,
Welcome to BuddyDev.
Thank you for using MediaPress.I am sorry for the inconvenience. We did disable the title in default template sometime ago(on grid pages but kept on single).
There are multiple ways to add it back. Here is the simplest way to do it. Please put it in your functions.php
add_action('mpp_after_media_item', 'mpp_media_title');All it does is puts the title at the bottom. You may use the action ‘mpp_before_media_item’ to put at the top.
Another way is you can completely control the output of mediapress. All you need to do is create “mediapress” template in your theme or child theme and then copy the relavant files from wp-content/plugins/mediapress/templates/mediapress to hare and modify.
The second approach is best suited for theme authors, since you are looking for small modification, i will suggest using the first approach.
Hope that helps.
Thank you
Brajesh