Replies
- Brajesh Singh on October 11, 2017 at 10:18 am in reply to: BuddyPress Private Message Rate Limiter #11048
Hi,
you don’t have to pay anything. I will either post the code here or add it to Rate Limiteer/other plugin. Please allow me 24-36 hours to put the changes.Thank you
brajesh - Brajesh Singh on October 11, 2017 at 10:17 am in reply to: [Resolved] Member Type fields in Buddypress registration form not showing correctly #11047
Hi Johan,
Thank you for purchasing the plugin. I just checked and here is what it looks to mehttps://i.imgur.com/wD5XWkk.png
https://i.imgur.com/6dcpRI7.pngThe only thing I see missing is the field description(which BuddyPress 2.9 has moved to the field implementation instead of the theme). We kept that away to support existing theme. I am going to add the test for 2.9 and the description today.
AS for your question:- Is there a chance that you are using multiple member type fields? If yes, we do not recommend it. It won’t have any issue in showing the field. The problem will be synchronizing/updating the field to the user’s actual member type.
Is there any reason you can not use single member type field(multi option or single option).
Please let me know and I will assist further.
Thank you
Brajesh - Brajesh Singh on October 10, 2017 at 11:38 pm in reply to: BuddyPress Moderation – Report Users/Groups #11044
Hi Matthias,
It is on our radar for future. No ETA as of now though.Regards
Brajesh Hi,
I am sorry I forgot to reply.Please put this code in your bp-custom.php
// Hide activity of the user from directory, and single function buddydev_hide_activity_conditions( $where_conditions, $args ) { if ( ! function_exists( 'bp_profile_visibility_manager' ) ) { return $where_conditions; } // Do not hide on user profile. if ( ! bp_is_user() ) { // change it to bp_is_my_profile() to only show for the user. $sql_hidden = bp_profile_visibility_manager()->get_users_sql( 'bp_profile_visibility', 'self' ); $where_conditions[] = "a.user_id NOT IN ({$sql_hidden})"; } return $where_conditions; } add_filter( 'bp_activity_get_where_conditions', 'buddydev_hide_activity_conditions', 10, 2 );Please feel free to customize it as needed.
Hope it helps.
Regards
Brajesh- Brajesh Singh on October 10, 2017 at 11:25 pm in reply to: BuddyPress Private Message Rate Limiter #11042
Hi amv,
Is there a chance that you were logged in as super admin while testing the plugin.The plugin does not apply any limit when the message sender is super admin.
For limit to admin, this plugin is not suitable for that purpose. This plugin is mostly aimed at restricting message flooding.
We do have the message privacy plugin that partially does the job. The problem is that plugin does not have an option to disable the settings for users yet.
If you want, I can post some code that will allow admin only message. Please do note that it won’t work with the Rate limiter plugin.
Please let me know and I will do the needful.
Regards
Brajesh - Brajesh Singh on October 8, 2017 at 4:17 pm in reply to: Display Bp Featured Member on template #11039
Hi Edwrd,
Welcome to BuddyDev.The simplest way will be to use the shortcode. Using shortcode is much more flexible(options).
for template(using php), there is no better way than this.
Hope that helps.
Regards
Brajesh - Brajesh Singh on October 8, 2017 at 3:28 pm in reply to: [Resolved] BP anonymous activity NOT working. #11036
Closed the other topic. Closing it too now.
Thank you
Brajesh - Brajesh Singh on October 8, 2017 at 3:27 pm in reply to: [Resolved] BP anonymous activity NOT working. #11034
Closing it and marking as resolved in favour of
https://buddydev.com/support/forums/topic/bp-anonymous-activity-not-working-2/Thank you
Brajesh - Brajesh Singh on October 8, 2017 at 3:26 pm in reply to: [Resolved] BP anonymous activity NOT working. #11033
You are welcome. Thank you for marking it as resolved.
- Brajesh Singh on October 8, 2017 at 12:03 pm in reply to: [Resolved] BP anonymous activity NOT working. #11031
Thank you.
We can easily do that using the following code<?php if ( ! bp_is_anonymous_activity( bp_get_activity_id() ) || is_super_admin() ) : ?> <?php $member_id = bp_get_activity_user_id(); echo '<div class="name">' . bp_core_get_user_displayname( $member_id ) . '</div>'; echo '<div class="nice-name">@' . bp_core_get_username( $member_id ) . '</div>'; ?> <?php endif ;?>Hope it works for you.
Regards
Brajesh