Replies
Hi,
Can you please upgrade to 1.0.5 and see if it works for you or not?
https://buddydev.com/plugins/bp-force-profile-photo/Thank you
Brajesh- Brajesh Singh on June 16, 2016 at 12:48 am in reply to: [Resolved] BP Profile Visibility Manager #4262
Hi Tom,
Welcome to BuddyDev.Please put this code in your bp-custom.php or your theme’s functions.php
function buddydev_disable_filtering_users() { if ( function_exists( 'bp_profile_visibility_loader' ) && current_user_can( 'manage_options' ) ) { bp_profile_visibility_loader()->set_data( 'is_visible', true );//all users will be visible } } add_action( 'bp_before_members_loop', 'buddydev_disable_filtering_users' ); //do you want to disable visibility after the loop? function buddydev_reenable_filtering_users() { if ( function_exists( 'bp_profile_visibility_loader' ) && current_user_can( 'manage_options' ) ) { bp_profile_visibility_loader()->set_data( 'is_visible', false );//all users will be visible according to their preference } } add_action( 'bp_after_members_loop', 'buddydev_reenable_filtering_users' );It is the simplest way to enable/disable filtering.
The current_user_can() function takes capability for checking. For the Capabilities, Please see https://codex.wordpress.org/Roles_and_Capabilities
Please do let me know if it works for you or not?
- Brajesh Singh on June 16, 2016 at 12:27 am in reply to: Hide Comments – Site Wide Activity Widget #4261
Hi Jason,
No problem. Please do let me know if you need help with the display in your theme. I just need to know where you want to disable it.Thank you
Brajesh Hi Lee,
seems like a bug. Updating in an hour.Hi Christian,
There can be many reasons. I am sorry but I am on linux and may not be of much help right now.Can you please check this
http://stackoverflow.com/questions/6944679/html5-mp4-video-does-not-play-in-ie9Does any of the answer applies to your case?
Hi Victor,
The gravatars are not allowed by this plugin. If it is happening, It is an issue. we are looking and we will get back to you today/tomorrow with more updates.Thank you for your patience.
Regards
Brajesh- Brajesh Singh on June 15, 2016 at 6:48 pm in reply to: Sitewide Gallery browsing layout is broken on mobile #4252
Thank you. We are looking at it.
- Brajesh Singh on June 15, 2016 at 6:47 pm in reply to: [Resolved] Question about gallery image size #4251
Hi Tyler,
In MediaPress, we have restricted the larger image size to 800×600 and that seems to be doing it.It is this code snippet doing it in mpp-init.php
mpp_register_media_size( array( 'name' => 'large', 'height'=> 800, 'width' => 600, 'crop' => false, 'type' => 'default' ) );We can override it by putting this in our bp-custom.php
function mpp_custom_setup_custom_image_size() { mpp_register_media_size( array( 'name' => 'large', 'height' => 1000, //change it 'width' => 1000, 'crop' => false, 'type' => 'default'// can be photo/video/audio/doc, default applies to all media type ) ); } add_action( 'mpp_setup_core', 'mpp_custom_setup_custom_image_size' );Hope that helps.
Regards
Brajesh Hi Tiziano,
You can modify the posts.php template of BuddyBlog to get the grid layout.Please see my reply here for the details about BuddyBlog template structure.
Hope that helps.
Regards
Brajesh- Brajesh Singh on June 15, 2016 at 6:39 pm in reply to: Show custom field in post with BP Simple Front End Post #4249
Hi Tiziano,
I am sorry but we don’t have much of the documentation available. I will explain the things here1. The BuddyBlog uses 3 template files to generate the posts list, single post and Create/edit post screens
2. These three screens use 3 associated template files. BuddyBlog comes with the fallback templates but if a user keeps these templates in his/her theme the template files from theme are used.
3. To provide the templates, you will need to create a directory named “buddyblog” in your theme and put three files
-buddyblog/posts.php – This file is used for listing all the posts
-buddyblog/single.php – Displaying single post on the profile
-buddyblog/edit.php for showing the new/edit post formThese files contain WordPress template tags specially the ones used in The Loop
https://codex.wordpress.org/The_Loophttps://codex.wordpress.org/Template_Tags
To see the xact loop, Please check the corresponding file in wp-content/plugins/buddyblog/template/buddyblog directory. You can copy content from these files to your theme directory as explained above and modify as per your requirement.
As pre this thread’s requirement, all you need is to use the_terms() tag in the loop
https://codex.wordpress.org/Function_Reference/the_termsHope that helps.