Replies
- Brajesh Singh on February 19, 2019 at 7:44 pm in reply to: Censoring bad words/ swear words in Buddypress activities and private messages #20998
Hi Edward,
We have profanity filtering plugin(We developed 1.5 year ago). It has been on hold as we could not determine when the admin will want to do the filtering and how do we notify efficiently. Applying regular expression on everything is not the best way.If you can help me understand what filtering you want to do(from site admins point of view), I will push this plugin forward and offer a free copy to you.
Thank you
Brajesh - Brajesh Singh on February 19, 2019 at 1:51 am in reply to: [Resolved] Default Home Tab for Groups #20990
Please use the following to restrict and redirect to group home page
/** * Restrict single group posts on the main blog. */ function buddydev_bcg_single_post_protect() { if ( ! is_singular() ) { return; } $post_id = get_queried_object_id(); $group_id = get_post_meta( $post_id, '_bcg_group_id', true ); if ( ! $group_id ) { return;// not a group post. } $group = groups_get_group( $group_id ); if ( ! $group->id ) { return;// the group was perhaps deleted. } if ( ! is_user_logged_in() || ! groups_is_user_member( get_current_user_id(), $group_id ) ) { bp_core_redirect( bp_get_group_permalink( $group ) ); } } add_action( 'bp_template_redirect', 'buddydev_bcg_single_post_protect' );Regards
Brajesh - Brajesh Singh on February 19, 2019 at 1:38 am in reply to: BuddyPress Ajax Registration – social login #20989
Hi Max,
Thank you for posting.We do not intend to include social login support out of the box. I know that it works with https://wordpress.org/plugins/wordpress-social-login/
Will check with NEXTEND SOCIAL LOGIN in next couple of days. It should work out of the box. If it is not, Will add support for that plugin.
Thank you
Brajesh - Brajesh Singh on February 19, 2019 at 1:35 am in reply to: Change login button link in Community Builder theme #20988
Hi Hugo,
Thank you for posting.We are using wp_login_url() so any plugin filtering on that url should do it automatically.
Here is the filter if the plugin is not doing it
/** * Filter login url. * * @param string $login_url login url. * @param string $redirect where to redirect. * @param bool $force_reauth force reauth. * * @return string */ function buddydev_custom_sso_login_url( $login_url, $redirect, $force_reauth ) { return site_url( '/?auth=sso' ); } add_filter( 'login_url', 'buddydev_custom_sso_login_url', 10, 3 );You can put it in bp-custom.php or child theme’s functions.php and It will work.
Regards
Brajesh - Brajesh Singh on February 19, 2019 at 1:19 am in reply to: [Resolved] BP Member Type Pro issue with Paid Membership Pro #20987
Hi Joss,
I have tested these two plugins today and they seem to work fine.can you please provide me the following details to recreate it(or provide temporary amdin access to check the configuration).
1. For each member type, Please let me know the member type name and the level it is mapped ot
like
Member Type X- Level12. For Pmpro, Please let me level to member type mapping, e.g
Level2 -> Member type 1, member type 2 etc.Either screenshot, or normal details or temporary admin access, any of the above will work for me.
Thank you
Brajesh - This reply has been marked as private.
- This reply has been marked as private.
- Brajesh Singh on February 18, 2019 at 3:14 pm in reply to: [Resolved] Issue with the BP avatar crop tool #20976
Hi Carsten,
marking it resolved.
For others looking at it, It was an issue with one of the plugins causing lazy loading of image.Regards
Brajesh - Brajesh Singh on February 18, 2019 at 3:13 pm in reply to: Enable Administrator Post To Certain Category In Group Post #20975
Hi Propertytips,
I am sorry,This will need a lot of customization as you will need to decide it on per group basis. I don’t see any simple approach as categories will be group specific. How do we know which category to exclude for a group?Please let me know and I might have some idea.
Thank you
Brajesh - Brajesh Singh on February 18, 2019 at 3:10 pm in reply to: [Resolved] Default Home Tab for Groups #20974
Hi Propertytips,
Is the blog post only visible in group page or is it part of your main site too? If it is part of the group page only, It can be easily achieved.Please let me know and I will help.
Thank you
Brajesh