Replies
- Brajesh Singh on October 22, 2019 at 5:46 am in reply to: Check how many favourites the displayed user has / display a link if zero #26058
Hi Kir,
There are no direct methods to do the count. You may use this though.$count = count( mppftc_get_featured_media( 'component_id' => $user_id, 'per_page'=> -1 ) );That should most probably give the count. You will need to update the $user_id.
Internally, featured media are simply ‘attachment’ post type with meta ‘_mppftc_featured’ set to 1. You can do a direct count for efficiency.
Regards
Brajesh Hi Nik,
Thank you for using MediaPress.1.Is there any way for members to set the privacy option when uploading images?
No. The privacy is managed by the gallery they are uploading to. If the gallery is public, the media will be public and so on.2. Can members set a default privacy setting for their own uploads?
When the user create a gallery, they can choose their privacy. This ats as the default privacy for all uploads to that specific gallery.3. Are images set to “friends only” excluded from the activity stream for “non-friends”?
Any privacy other than public marks the activity as private.4. What happens if an image was originally “public” but then changed to “friends only” ie. will it be removed from the activity stream for non-friends?
The activity will not be removed but the image will not be visible to non friends.
Regards
Brajesh- Brajesh Singh on October 22, 2019 at 4:59 am in reply to: [Resolved] Make site to be able to handle too many comments. #26056
Hi,
We don’t have any plans for it currently.As of your issue, Please check your mysql error log, that should give you some pointer.
Regards
Brajesh - Brajesh Singh on October 21, 2019 at 12:08 pm in reply to: Community builder theme – Vimeo embed not rendered properly #26050
Hi Hugo,
Thank you for reporting.
Seems like a bug. I will update you within 24 hours.Regards
Brajesh - Brajesh Singh on October 21, 2019 at 12:07 pm in reply to: [Resolved] Using BuddyPress Member Types as profile field Visibility Levels #26049
Hi Hans,
both have same function names. That’s why you are getting fatal error.You can not use them together.
You will need to adapt the code from the tutorial to the plugin.
regards
Brajesh - Brajesh Singh on October 21, 2019 at 11:40 am in reply to: How do I hide counts for MediaPress and BuddyCommerce? #26047
Hi Carsten,
Please use css to hide them. They are wrapped in spans and should be easily hidden with css.regards
Brajesh - Brajesh Singh on October 21, 2019 at 4:00 am in reply to: Activate Button for users with no toolbar #26042
Hi Jacqui,
Thank you.Please upgrade to 1.2.0. It fixes the issues.
Regards
Brajesh - Brajesh Singh on October 21, 2019 at 3:55 am in reply to: Customize private group announcement #26041
Hi Hugo,
Thank you for the question.
I do not see a simple way to customize it on per group basis.
There are two ways to customize it.
1. Using the filter ‘bp_group_status_message’ or
2. Modifying buddypress/groups/single/home.php in your theme.Here is an example using the filter.
function buddydev_custom_group_status_message( $message, $group ) { if ( 'private' !== $group->status ) { return $message; } // now handle all the cases(invited, pending etc) and modify the $message return $message; } add_filter( 'bp_group_status_message', 'buddydev_custom_group_status_message', 10, 2 );Regards
Brajesh - Brajesh Singh on October 21, 2019 at 3:48 am in reply to: [Resolved] Using BuddyPress Member Types as profile field Visibility Levels #26040
Hi Hans,
Did you copy both part of the tutorial?Regards
Brajesh - Brajesh Singh on October 20, 2019 at 2:58 am in reply to: Activate Button for users with no toolbar #26036
Thank you for the details.
Just 1 more question.Did you login with a deactivated user account? If yes, didn’t their profile show an “Activate” button? It should be at the same place where deactivate is.
If it is not showing. Please let me know. It could be a bug. I will be testing the same today too and update you.
Regards
Brajesh