Skip to:
Content
Pages
Categories
Search
Top
Bottom

is there a way to set a default cover pic / profile pic

  • @atfpodcast

    Participant

    Was wondering so when a new user creates an account it will have a default cover pic and profile in the new features?

Viewing 9 replies - 1 through 9 (of 9 total)
  • @fidelduque

    Participant

    Hi, could you get it done? I’m looking for the same thing.

    @atfpodcast

    Participant

    sadly no. 🙁

    @sharmavishal

    Participant

    @atfpodcast

    Participant

    i try to upload a picture to the cover and it says it works but i don’t see it. This is using it natively.

    @atfpodcast

    Participant

    Those are old and dont work very well.

    @modemlooper

    Moderator

    You can do this by hooking into the filter for cover image

    function bp_custom_filter_cover_image() {
        return 'https://i.ytimg.com/vi/tntOCGkgt98/maxresdefault.jpg';
    }
    add_filter( 'bp_attachments_pre_get_attachment', 'bp_custom_filter_cover_image' );

    @atfpodcast

    Participant

    i wonder why it does not work on this site but on another site it works via default? even though she has not added a covver picture but others have..

    @epgb101

    Participant

    This works great and new image shows – BUT – when I turn off Settings > Buddypress > Disable Cover Image Uploads – no image at all is shown! How do I show the new image AND disable Cover Image uploads? Thanks 🙂

    function bp_custom_filter_cover_image() {
    return ‘https://i.ytimg.com/vi/tntOCGkgt98/maxresdefault.jpg’;
    }
    add_filter( ‘bp_attachments_pre_get_attachment’, ‘bp_custom_filter_cover_image’ );

    @shanebp

    Moderator

    Don’t use the filter.
    Overload this template:
    ...wp-content\plugins\buddypress\bp-templates\bp-nouveau\buddypress\members\single\home.php

    And then replace <?php bp_nouveau_member_header_template_part(); ?>
    with a call to the image you want to use.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.
Skip to toolbar