Replies
- This reply has been marked as private.
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- Brajesh Singh on April 26, 2017 at 7:09 pm in reply to: BuddyPress Member Type Generator – Showing content to specific BuddyPress Member #8767
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.
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- Brajesh Singh on April 26, 2017 at 5:01 am in reply to: [Resolved] WordPress Restrict Email Domains not working #8759
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 - Brajesh Singh on April 24, 2017 at 8:29 pm in reply to: [Resolved] Alllow one more role than admin to see "private" gallaries #8746
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 - Brajesh Singh on April 24, 2017 at 8:26 pm in reply to: BuddyPress Bookmarklet – Only plugin is abandonded #8745
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 - Brajesh Singh on April 24, 2017 at 8:24 pm in reply to: [Resolved] Change font color of Group Activity Inner #8744
Hi Dandy,
thank you for posting.Please attach a screenshot to denote the section.
Thank you
Brajesh 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
BrajeshHere is the code used for loading the members list
In case they need to know it.