Replies
- Ravi on December 26, 2018 at 6:53 pm in reply to: [Resolved] Question about Blog Categories For Groups setting #19738
Hello Bin,
Thank you for the acknowledgment. Please remove the previous code and use the following code. It will work. Please let me know if there is an issue.
/** * Filter categories on group create screen * * @param array $args An array of get_terms() arguments. * @param array $taxonomies An array of taxonomies. * * @return array */ function buddydev_bcg_filter_categories( $args, $taxonomies ) { if ( ! function_exists( 'buddypress' ) || ! bp_is_active( 'groups' ) ) { return $args; } if ( bp_is_group_creation_step( 'blog-categories' ) || bp_is_group_admin_screen( 'blog-categories' ) ) { // Replace category ids with your category ids you want to show from the page. $args['include'] = array( 33, 35 ); } return $args; } add_filter( 'get_terms_args', 'buddydev_bcg_filter_categories', 10, 2 );Thank You
Ravi - Ravi on December 26, 2018 at 6:17 pm in reply to: [Resolved] Latest upgrade to BCFG brought down my server #19736
Thank You for acknowledgment.
- Ravi on December 26, 2018 at 6:13 pm in reply to: [Resolved] Latest upgrade to BCFG brought down my server #19734
Hello George,
Sorry, I took things differently. The plugin still works even if you don’t have BP Simple Frontend plugin active and Make plugin completely dependent over Simple Frontend. But I have fixed the bug in the latest version. Please download the latest version.
Sorry for the inconvenience.
Thank You
Ravi - Ravi on December 26, 2018 at 4:24 pm in reply to: [Resolved] Latest upgrade to BCFG brought down my server #19732
Hello George,
Sorry for the inconvenience. But it seems you have deactivated BuddyPress Groups module or BuddyPress Simple Frontend plugin missing. This is the only case plugin throwing this error. But this is a bug of the plugin and I have fixed this by the newer version. Please download the latest version of the plugin. Please let me know if there is an issue or not.
Plugin Url: https://buddydev.com/plugins/blog-categories-for-groups/
Thank You
Ravi - Ravi on December 25, 2018 at 12:09 pm in reply to: [Resolved] Question about Blog Categories For Groups setting #19706
Hello Bin,
Thank you for posting. It can be done easily. Please use the following code in your “bp-custom.php” file and let me know if it works or not.
/** * Filter categories on group create screen * * @param array $args An array of get_terms() arguments. * @param array $taxonomies An array of taxonomies. * * @return array */ function buddydev_filter_categories_on_group_create_screen( $args, $taxonomies ) { if ( ! function_exists( 'buddypress' ) || ! bp_is_active( 'groups' ) || ! bp_is_group_creation_step( 'blog-categories' ) ) { return $args; } // Replace category ids with your category ids you want to show from the page. $args['include'] = array( 33, 35 ); return $args; } add_filter( 'get_terms_args', 'buddydev_filter_categories_on_group_create_screen', 10, 2 );Thank You
Ravi Hello Mike,
We have updated the plugin. Now you can modify email from Emails menu in the backend. Please let me know if it works or not. Please download the latest version of the plugin.
https://buddydev.com/plugins/recent-visitors-for-buddypress-profile/
Thank You
Ravi- Ravi on December 24, 2018 at 6:48 am in reply to: Translation issue with plugin "BuddyPress User Circles" v1.0.2 #19674
Hello Thorsten Wollenhöfer,
I have added German translation file to the plugin. Please download the latest plugin version and let me know if it works or not.
Thank You
Ravi - Ravi on November 27, 2018 at 4:53 am in reply to: [Resolved] MediaPress set Profile Photo: There was a problem cropping your profile photo. #19061
Hello Panos,
Thank you for the acknowledgment.
Regards
Ravi - Ravi on November 26, 2018 at 8:36 am in reply to: [Resolved] MediaPress set Profile Photo: There was a problem cropping your profile photo. #19005
Hello Panos,
I have tested the plugin on my local development server and it is working fine. Please let me know which version of the plugin you are using it was a bug in older version but fixed by the new version.
Thank You
Ravi - Ravi on October 13, 2018 at 7:08 pm in reply to: [Resolved] How to disable public and private messages for specific users #18058
Hello Tosin,
Thank you for the acknowledgment. Yes plugin is conflicting with our custom code. Please use the following code and let me know it works or not.
function buddydev_hide_buttons() { if ( ! is_user_logged_in() ) { return; } $restricted_user_ids = array( 5, 26, 10, 4 ); // Replace by yours user ids. if ( ! in_array( get_current_user_id(), $restricted_user_ids ) ) { return; } if ( function_exists( 'bp_profile_message_ux_init' ) ) { remove_all_filters('bp_get_send_public_message_button'); remove_all_filters('bp_get_send_message_button'); } add_filter( 'bp_get_send_public_message_button', '__return_false' ); add_filter( 'bp_get_send_message_button_args', '__return_false' ); } add_action( 'bp_init', 'buddydev_hide_buttons', 11 );Regards
Ravi