BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Lightbox remove white box #3928

    Hi Christian,

    Please do the following modification to the MediaPress plugin code.

    1. open file “mediapress/core/ajax/class-mpp-ajax-lightbox-helper.php” and change the following code from line no. 175

    mpp_get_template_part( ‘gallery/media/views/lightbox-comment’ );

    to

    mpp_get_template_part( ‘gallery/media/views/lightbox’ );

    2. And modify the css file “mediapress/assets/css/mpp-core.css”

    find “.mpp-lightbox-media-container” and change width to 100%. Also “.mpp-lightbox-media-meta” change width to 100%

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Sitewide Gallery browsing layout is broken on mobile #3927

    Hi Tyler

    Welcome to BuddyDev. Most probably this is due theme you are using. Please point me to the site so that I can help you with css.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Lightbox remove white box #3925

    Hi Christian

    I looked into it and found there is no hook present in the code. Only way for now is to modify the code? will you be ok with that?

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hi Brian

    Good to know that it is working. If I were you, I would have used the activation hook instead to be sure that the post is created when accounts are activated. Using ‘bp_core_activated_user’ this hook and code should be in bp-custom.php

    All the best with your project.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Lightbox remove white box #3922

    Hi Christian,

    I am looking into it and Will let you know at day end.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: MediaPress Media List widget #3876

    Hi Christian,

    Please put the following code in Your theme style.css file. It will fix the bug.

    
    
    .widget .mpp-media-title {
        display: none;
    }
    
    

    Thank You
    Ravi

    • This reply was modified 8 years, 6 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hi Javier,

    Please try the following code in your theme functions.php file and let me know it works or not.

    
    function buddy_new_reset_password_email( $message, $key, $user_login, $user_data ) {
        
        // get the user data is user object you need to fetch xprofile email value. user $user_data->data->ID to fetch the details
        $user_email = 'ravivats89@gmail.com'; 
        
        if ( is_multisite() ) {
            $blogname = $GLOBALS['current_site']->site_name;
        } else {
            $blogname = wp_specialchars_decode(get_option('blogname'), ENT_QUOTES);
        }
    		
        $title = sprintf( __('[%s] Password Reset'), $blogname );
        
        if ( $message && ! wp_mail( $user_email, wp_specialchars_decode( $title ), $message ) )
    		wp_die( __('The email could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function.') );
        
        $message = '';
        
        return $message;
    }
    add_filter('retrieve_password_message','buddy_new_reset_password_email' );
    

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hi Jonas,

    FYI. It won’t work with the old comments.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hi Jonas,

    Bug is fixed now. It is marking the post as read when you click on the notification. You can clone or downloaded the updated code from git and let me know if it is working or not. Please refer the following url.

    https://github.com/buddydev/bp-notify-post-author-on-blog-comment.git

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Latest galleries not listed #3858

    Hi Terjemk,

    Please use [mpp-list-gallery status=”loggedin”] this shortcode to list gallery marked as logged in.

    Thank You
    Ravi