👻 Halloween Treat: Our biggest-ever 25% OFF memberships — use SPOOKYSOCIAL before Nov 3! 🎃

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Javier,
    you can replace this line

    
    
     $user_email = 'ravivats89@gmail.com'; 
    

    By following

    
    $field_id = "Your email field ID";
    $email = xprofile_get_field_data( $field_id, $user_data->id );
    
    if ( !is_email( $email ) ) {
        $email = $user_data->user_email;
    }
    
    

    That will do it.

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Javier,
    do you have the email field setup?

    You can filter on ‘retrieve_password_message’ and send mail right there. After that return empty string and WordPress will not send another email.

    hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Jonas,
    Welcome to BuddyDev.

    1. Thank you for reporting. @ravisharma is looking at it and will get back to you.
    2. Notification if someone directly replies to a comment may be a good idea
    3. Notifying friends. I don’t think that is a good idea. It will lead to a lot of notification.

    Thank you for your efforts in translation, Please send me the files at support@buddydev.com

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: Buddypress and Yoast #3863

    Hi Alexandra,
    Please remove the code from above post and give it a try

    
    function buddydev_author_redirect_to_profile() {
    
        if ( is_author() && function_exists( 'bp_core_redirect' ) ) {
    
            $author_id = get_queried_object_id();
            bp_core_redirect( bp_core_get_user_domain( $author_id ) );
        }
    }
    add_action( 'template_redirect', 'buddydev_author_redirect_to_profile' );
    
    

    Put it in your functions.php and let me know if it works or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Luca,
    Thank you for the comment.
    I have pushed the new update on wp.org and you should be able o upgrade to 1.1.4 now.

    Please do note that it will link to the comments for new comments after the upgrade and not for the old comment.

    Please do let me know if it works for you or not?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: [Resolved] Latest galleries not listed #3852

    Hi,
    Either the galleries are private or the user has not uploaded anything to it.

    By default, the above shortcode will only list public galleries.

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi,
    Welcome to BuddyDev forums.

    Thank you for reporting the issue. I am looking at it and will get back to you in next couple of hours.

    About the 2nd issue, At the moment, BuddyPress does not allow us to store any content with the notification. If we ant to display the content, It is doable but will need extra queries(which I am not sure if it is worth it).

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203
    Brajesh Singh on in reply to: Sitewide gallery #3846

    Hi Clay,
    Yes, You can do that by using shortcode. Please take a look at the mpp-list-media shortcode

    https://buddydev.com/mediapress/topics/getting-started/shortcodes/mpp-list-media/

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi Bjoern,
    Thank you for the details here and I am sorry that I missed your yesterday’s mail.

    I will give you the condition to put in widget logic but before that please let me experiment a little today and see if I can directly exclude it via the Visibility plugin itself.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25203

    Hi George,
    Thank you for the reply.

    1. You are right about the issue with the limit. I will try to explore and see what we can do. If you have suggestions, please do let me know. It will be an issue only in case of playlists(audio/video)

    2. I agree with the order/sorting option. Will include it in next update.

    Thank you
    Brajesh