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: 25468
    Brajesh Singh on in reply to: Profile Fields #8769
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: [Resolved] Email message #8768

    Hi Swati,
    Thank you for the details.

    1. My question is still not answered. what is interest? Is it a new component or something else?

    3. Your code is fine. It allows sending message without any issue. The problem seems to be related to something else.

    4. Popup window with email:- Sorry, but we may not be able to help you with that. you can take some inspiration from our BuddyPress extended friendship plugin for how to show popup and provide the message sending functionality. It needs time to implement and right now, I don’t have that.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Marko,
    Thank you for asking.

    I have done it for multiple clients of ours.

    It is similar to how you will do the things to show different content for different users based on roles.

    in case you want to check for a specific member type, you can use the following function

    
    
    bp_has_member_type( bp_loggedin_user_id(),  'your_members_type' );
    
    

    Hope that helps you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: problem wiith Media uplad in stream #8766

    Hi Thomas,
    Thank you.
    yes, I did receive it a few hours ago. will check and get back to you in a day.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Charlotte,
    I am sorry but we are unable to support a premium plugin/theme from another vendor which have non standard behaviour.

    The plugin works with BuddyPress, WordPress and multisite. Its behaviour is unknown with the plugins that hack around registration process. Since wplms is a pro theme, we are not able to support integration with it. You should ask its developer about the process and support.

    We have issued a refund as we are unable to support in your case.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Christien,

    I am fine, thank you.
    I am sorry to keep you waiting.

    there are two things that have been causing discomfort to me on this issue.

    1. How do we allow you to select the user on a large site. It can have implications
    2. How does the new owner knows about the gallery? If it works for you, Can I provide a temporary box where you can put the user id to whom you want to move the gallery.

    We do plan to provide a full featured UI and auto suggestion for user etc but unable to have it in current schedule.
    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Gregg,
    Thank you for posting.

    The plugin looks interesting. Can you please list the enhancements you are looking to it?

    We need to see if we can manage it in our current schedule.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468

    Hi Dandy,
    thank you for posting.

    Please attach a screenshot to denote the section.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: [Resolved] Email message #8743

    Hi Swati,
    Welcome to BuddyDev.

    1. What is interest? Is it a custom plugin or code by you? if yes, you can always use wp_mail() top send new email

    2. Something like this should work. Please put it in bp-custom.php and update as you prefer.

    
    
    function buddydev_custom_send_notification_on_friendship_rejection( $friendship_id, BP_Friends_Friendship $friendship ) {
    
    	$initiator_user = get_user_by('id', $friendship->initiator_user_id );
    	$rejected_by_user = get_user_by( 'id', $friendship->friend_user_id );
    
    	$message =<<<'EOT'
    Hi %1$s,
    %2$s has rejected your friendship request.
    
    Team
    Xyz Site
    EOT;
    $message = sprintf( $message, $initiator_user->display_name, $rejected_by_user->display_name );
    	wp_mail($initiator_user->user_email, "Friendship Rejection", $message );
    
    }
    add_action( 'friends_friendship_rejected',  'buddydev_custom_send_notification_on_friendship_rejection', 10, 2 );
    
    

    3. Can you please tell me the issue with the private message button?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25468
    Brajesh Singh on in reply to: Featured Members #8736

    Here is the code used for loading the members list

    https://github.com/buddydev/bp-featured-members/blob/master/core/bp-featured-members-functions.php#L28

    In case they need to know it.