Replies
- Brajesh Singh on October 4, 2018 at 1:39 pm in reply to: [Resolved] Buddypress Anonymous Activity Language Translation #17812
Hi Kerem,
Thank you.
Please remove this line
define ('WPLANG', 'my new file name');or change it to
define ('WPLANG', 'YourLocaleName');The WPLANG should be set to the locale(e.g en_US fr_FR). What is your current locale, I can suggest the proper value.
Regards
Brajesh Hi CDS,
You have done it correctly by addingadd_filter( 'bp_core_default_avatar_user', 'buddydev_set_default_use_avatar_based_on_member_type', 10, 2 );That line is required.
I am hoping that example.com is replaced with the correct url path.
Also, I will suggest that you should try changing a user’s member type and see if it has any effect on the avatar. Your code seems fine to me.
Regards
Brajesh- Brajesh Singh on October 4, 2018 at 4:31 am in reply to: Disabling Buddypress Group Deletion Non Site Admin #17804
Hi Kerem,
Thank you for posting.BuddyPress 3.0 has changed the way functions are loaded and this function is loaded conditionally now. That might be the reason.
I was unable to recreate it. Still, you can use the following code to avoid any such notice.
/** * Disable group deletion by non site admins. */ function buddydev_disable_group_delete_by_non_site_admin() { if ( ! bp_is_group() || is_super_admin() ) { return; } $parent = groups_get_current_group()->slug . '_manage'; bp_core_remove_subnav_item( $parent, 'delete-group', 'groups' ); // BuddyPress seems to have a bug, the same screen function is used for all the sub nav in group manage // so above code removes the callback, let us reattach it // if we don't , the admin redirect will not work. if ( function_exists( 'groups_screen_group_admin' ) ) { add_action( 'bp_screens', 'groups_screen_group_admin', 2 ); } } add_action( 'groups_setup_nav', 'buddydev_disable_group_delete_by_non_site_admin' );Regards
Brajesh - Brajesh Singh on October 4, 2018 at 4:17 am in reply to: [Resolved] Buddypress and Woocommerce #17801
Thank you for letting me know.
Glad that you found a solution.
Regards
Brajesh Sure. All the best.
You are welcome.
- Brajesh Singh on October 4, 2018 at 4:15 am in reply to: BuddyBlog error leaving a comment and uploading media #17798
Hi Kreatsya,
You are welcome. Glad that it is resolved.Yes, disabling minification will have performance ramifications.
Most of the minify plugins provide a way to exclude certain files. Please notify the developer of minify plugin that it is causing problem with front end usage of WordPress media uploader and they should be able to help.
Regards
Brajesh - Brajesh Singh on October 4, 2018 at 4:12 am in reply to: [Resolved] Buddypress Anonymous Activity Language Translation #17797
Hi Kerem,
Thank you for using the plugin.You will need some translation tool to translate a file.
I suggest using POEdit. You may find this guide useful
https://www.hostinger.com/tutorials/wordpress/how-to-translate-wordpress-theme-using-poedit
Regards
Brajesh Hi Hervé,
Welcome to BuddyDev forums.No, The plugin can not post to multiple blogs at one time. It can post to one site.
You will need some kind of syndication plugin to move sync contents between blogs.
Regards
BrajeshHi Irene,
Thank you for posting.Please see the guide here.
https://buddydev.com/docs/buddypress-member-types-pro/assigning-paid-memberships-pro-memberships-based-on-member-type/Hope it helps.
Regards
Brajesh