Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on 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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    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.php

    Hope that helps.
    All the best 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: Rating / voting plugin #4892

    Hi Simon,
    Yes, We have an update available. Please download it from here and give it a try
    https://github.com/mediapress/mpp-media-rating

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    Hi Mark,
    Thank you for posting.
    Here is the code that you can use

    
    
    if ( function_exists( 'bp_account_deactivator' ) ) {
    	bp_account_deactivator()->set_inactive( $user_id );
    }
    
    

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: BP emails are plain text not html #4877

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: [Resolved] Widget Format #4873

    Hi Mike,
    Thank you. Always happy to help 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25454
    Brajesh Singh on in reply to: BP emails are plain text not html #4870

    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.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    Thank you. Glad you fixed it. Thank you for marking resolved.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    Hi Andrew,
    no problem.
    Please use this code instead.
    http://pastebin.com/VyqiYCuL

    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25454

    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