Support » Plugin: BuddyPress First Letter Avatar » Hide First Letterr on Groups

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Dev49.net

    (@dev49net)

    Hi there,
    Well, there is no option to turn it off. I assumed that having group letter avatars is a desired feature. You should be able to change in the code, though. If you go to buddypress-first-letter-avatar.php file and navigate to line 446, you will see this:
    } else if ($object == 'group'){ // we're filtering group
    If you change this line to this:
    } else if ($object == 'group'){ return $html_data;
    It should work the way you want.

    Please keep in mind that this will be overwritten after you update the plugin.

    Kind regards,
    Daniel Wroblewski

    Jeffrey

    (@dcsenterprise)

    De49.net,
    Nice try but I really wanted to hide all avatars fro gorups. I” look around the code to see what I can come up with and let you know of any success. It’s not really important.

    Plugin Author Dev49.net

    (@dev49net)

    Hmm, you want to hide all group avatars? Try changing this line to this:
    } else if ($object == 'group'){ return '';

    Jeffrey

    (@dcsenterprise)

    Thanks, that did the trick. Since is use BP-
    Cover the avatar isn’t needed with the group background picture.

    Plugin Author Dev49.net

    (@dev49net)

    That’s great, thanks for letting me know.
    Please remember to do the same thing after updating the plugin.

    Kind regards,
    Daniel Wroblewski

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hide First Letterr on Groups’ is closed to new replies.