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: 25472

    Thank you. You can add the following snippet in your child theme to show the follow/unfollow button.

    
    // add follow button below single post content.
    add_filter(
    	'the_content',
    	function ( $content ) {
    		if ( is_single() &&
    		 function_exists( 'bp_get_add_follow_button' ) &&
    		 is_user_logged_in() &&
    		 get_current_user_id() != get_the_author_meta( 'ID' )
    		) {
    			$content .= '<div class="author-follow-meta">Follow Author: ' . bp_get_add_follow_button( get_the_author_meta( 'ID' ), get_current_user_id() ) .'</div>';
    		}
    
    		return $content;
    	}
    );
    
    

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi David,
    Thank you for reporting. I am sorry for the issue.
    Please allow us 1 day to investigate and get back to you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: [Resolved] Update the user xprofile field #42192

    Hi Vlad,
    You will need to write a form handler. Something that will handle the submission of your form. in order to do that, you need to identify your form.

    I had a look at your form code above and I am not sure what you want to achieve with it. Can you please help us understand what you are trying to achieve with it? Ravi or I will be able to assist you better then.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi Chris,
    Thank you for sharing the details and solution.

    Yes, that could have corrupted the image and caused this issue. Thank you for letting us know.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: Elementor Shortcode in Profile tab blows avatar layout #42190

    Hi April,
    Thank you for the screenshots.
    It seems like some kind of css conflict and not a generic issue. Please link to a profile page on your site and we will assist you.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi Robert,

    I am sorry for the issue. I see that you have marked it resolved. Is it resolved or do you still need assistance with it?

    Please let me know and I will assist.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: [Resolved] add media to forum post #42188

    Hi Judi,
    Thank you for the question.
    Have you tried this plugin.
    https://wordpress.org/plugins/gd-bbpress-attachments/

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi John,
    Thank you for the patience.

    Please upgrade to 1.5.2 and the issue will be resolved.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472

    Hi Mary,
    Thank you for your questions and interest in the plugin. The current plugin is not compatible with existing cloud storage plugins.

    The reason is use of 2 different hooks than WordPress core.
    In case of MediaPress, we are using 2 different hooks than what is expected by the above cloud plugins.

    The reason was to avoid generating extra images sizes registered by the theme when an image was uploaded via MediaPress.

    These hooks are ‘mpp_generate_metadata’ in place of ‘wp_generate_attachment_metadata’ and ‘mpp_handle_upload’ instead of ‘wp_handle_upload’.

    I will ask my team to do a proxy for these 2 hooks and check with the cloud plugins. Please allow us 2 working days to get back to you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25472
    Brajesh Singh on in reply to: Custom page for user and group backgrounds. #42163

    Hi,
    Thank you for the reply.

    In my earlier encounter with that specific theme, we found a lot of hooks missing and got that reported to the theme authors via one of our members. I am not sure if they updated o not.

    Please link me to a user profile on your site and I will assist.

    Regards
    Brajesh