Replies
- Brajesh Singh on October 5, 2018 at 5:15 am in reply to: [Resolved] Allow user to upload images #17830
Hi Saxena,
1. Yes, the issue was fixed in the following commit
https://github.com/buddydev/mediapress/commit/6aa6ce846fc344c9030c9553f12eacf23bb979abI have yet to release this on wp.org
2. For [mpp-uploader gallery_id=695]. It will only allow the user wo created it or the site admin to upload.
For sitewide gallery, there are 2 approach that works
1. Let users create gallery and upload to their gallery
2. Or let all users upload to single gallery. In this case, you will need to use the MediaPress Global Shared Gallery addon.If I understand correctly, you want to go with approach 1?
About MediaPress Release:- There is one more feature that I need to add in current release. Optimized loading of the media in the lightbx. Currently it loads all media from context which is not optimized if your gallery has hundreds of images. I am paginating the loading and then will release MediaPress.
Thank you
Brajesh - Brajesh Singh on October 5, 2018 at 5:09 am in reply to: [Resolved] a bug on bp simple frontend post #17828
You are welcome.
- Brajesh Singh on October 5, 2018 at 5:09 am in reply to: [Resolved] buddyBlog comments not entering buddyPress activity feed #17827
Hi Richard,
Please seehttps://codex.buddypress.org/plugindev/post-types-activities/
Also, Please ,ake sure you are not using any code from here
Regards
Brajesh - Brajesh Singh on October 4, 2018 at 6:37 pm in reply to: BuddyPress Avatar Moderator. Not replace old avatar with placeholder #17821
Hi Max,
The Old avatar preserving will come around first week of November(or a week before it).Thank you
Brajesh - Brajesh Singh on October 4, 2018 at 6:32 pm in reply to: [Resolved] buddyBlog comments not entering buddyPress activity feed #17820
Hi Richard,
Are you using a custom post type for BuddyBlog? That seems the only explanation as I am using posts post type and the tracking is working for me.https://i.imgur.com/xDCZYIX.png
BuddyPress needs us to do a few things extra to enable the activity tracking for custom post type.
- Brajesh Singh on October 4, 2018 at 2:46 pm in reply to: [Resolved] buddyBlog comments not entering buddyPress activity feed #17816
Hi Richard,
I am sorry for the inconvenience.Please Visit Dashboard-> Settings->BuddyPress->Components and let me know if “Site Tracking” is enabled? If not, please enable it and try posting a comment.
Regards
Brajesh Hi Mimi,
Welcome to BuddyDev.Here is abetter strategy. We buffer the page content and discard it.
/** * Start Buffering the members directory content. */ function buddydev_start_members_dir_buffering() { ob_start(); } add_action( 'bp_before_directory_members', 'buddydev_start_members_dir_buffering', - 1 ); /** * Discard the members directory content. */ function buddydev_end_members_dir_buffering() { // discard. ob_end_clean(); } add_action( 'bp_after_directory_members', 'buddydev_end_members_dir_buffering', 100001 );You can put it in your bp-custom.php or in your theme’s functions.php
Hope it helps
Regards
BrajeshHi CDS,
Thank you for the details. Let me try this code on a site of mine and get back to you later today.
Thank you
Brajesh- 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