Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Johan Linnarsson
    Participant

    @linnarsson

    I made a “solution” until someone have a better suggestion!

    With file “bp-fbconnect.php” explained above:
    if ( !$height ) {
    if ( ‘thumb’ == $type )
    $height = constant( ‘BP_AVATAR_THUMB_HEIGHT’ );
    else
    $height = constant( ‘BP_AVATAR_FULL_HEIGHT’ );
    }

    I just “removed” it completely by adding /* */ like this:

    /*
    if ( !$height ) {
    if ( ‘thumb’ == $type )
    $height = constant( ‘BP_AVATAR_THUMB_HEIGHT’ );
    else
    $height = constant( ‘BP_AVATAR_FULL_HEIGHT’ );
    }
    */

    In the “common.php” file found in the “wp-facebookconnect” folder go to line -66 and add “$dims2” like this:
    function render_fb_profile_pic($user, $dims = 32, $dims2 = 10, $size = ‘square’ ) {

    And change width=”{$dims}px” on line -68 to:
    width=”{$dims2}px”

    This was my quick “solution” using the standard bp-theme! Not the best but better than having the error message.


    Johan Linnarsson
    Participant

    @linnarsson

    I have this problem too!

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar