Skip to:
Content
Pages
Categories
Search
Top
Bottom

Custom avatar attribution

  • @guillaumer

    Participant

    Hi,

    I work on a WordPress Theme with bbpress integration and the user account are linked with the forums. But the Avatars are not working properly.
    If the users use facebook connect to create their account, bbpress use their facebook avatar, whether they change their account avatar or not. I want to customize code to make sure bbpress always use the user account avatar but I can’t find where is the logic behind this.
    Can you give me some elements as to where I need to make modifications?

    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • @guillaumer

    Participant

    up ? 🙂

    @guillaumer

    Participant

    Nobody can help on this point ?

    @robin-w

    Moderator

    bbpress uses the wordpress function

    https://codex.wordpress.org/Function_Reference/get_avatar

    to get the avatar, so you probably need to poke into how wordpress does this.

    @guillaumer

    Participant

    Ok thanks for the answer. Can you tell me in which files of BBpress the function get_avatar is used ?

    @robin-w

    Moderator

    bbpress/includes/common/widgets.php
    bbpress/includes/replies/template.php
    bbpress/includes/topics/template.php
    bbpress/includes/users/template.php
    bbpress/templates/default/bbpress/user-details.php

    @guillaumer

    Participant

    nice thank you !

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