Replies
- Brajesh Singh on June 10, 2016 at 10:38 am in reply to: [Resolved] BuddyPress Force Profile Photo has stopped working #4181
Hi lavish,
We are looking at it. We will get back to you later today.Thank you
Brajesh - Brajesh Singh on June 10, 2016 at 10:29 am in reply to: [Resolved] Buddypress Blog Categories for group – Select Terms empty #4180
Hi M,
My apologies for the inconvenience. Have you updated the Admin settings for this plugin and selected categories as the taxonomy? Also, which version of WordPress/BuddyPress are you using? Hi Javier,
It is mostly a personal preference. If you are just putting small modifications, I will suggest going with bp-custom.php.
If you are going for more customization and need flexibility, writing a plugin is better option to manage all codes(You can create modules/files for each component specific functionality to keep things managed in the plugin).Hi Christian,
our hands are full at the moment. I will ask Ravi to look into this.Btw, it seems you have enabled playlist view for videos. try enabling Grid view and pagination will appear.
At the moment, a use can upload an image but in future FFMPEG support is coming.Hi Philippe,
Thank you. I will post the details this weekend(Sunday).
Sorry for the delay.- Brajesh Singh on June 10, 2016 at 10:04 am in reply to: [Resolved] Get total elements count inside one gallery (by id) #4176
Hi,
Here are the methods:-1. Without considering privacy mpp_gallery_get_media_count( $gallery_id ) will give the count of all media inside the gallery
2. There is no builtin API for the count with privacy, so we will write a new function like this
function mpp_custom_get_media_count( $gallery_id ) { $gallery = mpp_get_gallery( $gallery_id ); $args = array( 'gallery_id' => $gallery->id, 'status' => mpp_get_accessible_statuses( $gallery->component, $gallery->component_id ), 'fields'=> 'ID', 'per_page' => -1, 'nopaging'=> true, ); $gq = new MPP_Media_Query( $args ); $count = $gq->post_count; return $count; }and we can use it as we wish. Please do not overuse it, it is database intensive operation.
Hope it helps. - Brajesh Singh on June 10, 2016 at 7:21 am in reply to: [Resolved] Get total elements count inside one gallery (by id) #4174
Hi Minoo,
There are multiple ways to do it. Do you want to consider the visibility of media while showing the count or not?If we do not consider the visibility of media, the count will be very efficient.
Hi Javier,
Thank you for posting. Give the user editor role and a custom capability ‘bp_moderate’ and he should be able to moderate almost all things BuddyPress.Hope that helps.
regards
Brajesh- Brajesh Singh on June 8, 2016 at 9:22 pm in reply to: Activity Comment Notifier redundant notifications? #4157
Hi Jamie,
I am sorry for the delayed reply. I have looked at it in details and the update of the plugin will take me some time. There are issues that I have noticed. For example, some of the notifications were deleted automatically. I am planning to rewrite the whole experience to use new BuddyPresss advances(like notification meta etc) in next 1-2 weeks. For the time being, Please download the updated version from here for a temporary fix(Instead of duplicate notifications, It uses individual user in the message for notifications)https://github.com/sbrajesh/bp-activity-comment-notifier
Hope that helps.
Hi Javier,
You are doing it correctly if you are using the conditional redirect to redirect users. That is the standard way in WordPress community.About the individual media url, though you can restrict it using .htaccess etc, It is not recommended. It is not scalable solution and even facebook does not restrict it. Try copying a private media url and then opening it directly in another browser from facebook. So, that is standard industry practice at the moment.
Hope that helps.
Regards
Brajesh