Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding a frame in user profile avatars


  • erikreuff
    Participant

    @erikreuff

    I want to add frames to the avatars of the users depending on certain conditions, first of all where is the code snippet or loop that defines the div that contains the avatar image?, for example in the forum (bbpress)I can modify the avatar background in the loop-single-reaply.php, is there something similar for the users profile?

Viewing 4 replies - 1 through 4 (of 4 total)

  • shanebp
    Moderator

    @shanebp

    In BP, for example, look at this bp_displayed_user_avatar() in this file
    buddypress\bp-templates\bp-legacy\buddypress\members\single\member-header.php


    erikreuff
    Participant

    @erikreuff

    Thanks for you answer, but changes in the code in that file doesnt show in the page. any other suggestion?


    shanebp
    Moderator

    @shanebp

    That was an example. If you allow header images, look in cover-image-header.php.
    If you use the Nouveau template pack, then look in bp-templates\bp-nouveau\buddypress\members\single\, etc.


    erikreuff
    Participant

    @erikreuff

    Thanks, I found the file. another question can you point me out where the source of the function bp_displayed_user avatar() is>?

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