Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Hello #4263

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on 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?

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: [Resolved] Activity as Wire PHP error #4255

    Hi Lee,
    seems like a bug. Updating in an hour.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: video upload and view internet explore #4254

    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-ie9

    Does any of the answer applies to your case?

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Hello #4253

    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

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Thank you. We are looking at it.

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on 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

  • Keymaster
    (BuddyDev Team)
    Posts: 25273
    Brajesh Singh on in reply to: Buddyblog post grid layout #4250

    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.

    https://buddydev.com/support/forums/topic/show-custom-field-in-post-with-bp-simple-front-end-post/#post-4249

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25273

    Hi Tiziano,
    I am sorry but we don’t have much of the documentation available. I will explain the things here

    1. 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 form

    These files contain WordPress template tags specially the ones used in The Loop
    https://codex.wordpress.org/The_Loop

    https://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_terms

    Hope that helps.