Avatars

@Rho Delta, the thread has been removed from public view. But to quote @Lawrence:
Lawrence said:
Make sure the one php file you are about to edit, you have a back-up of, :)

If you open this php file: yourinstalldirectory/library/XenForo/Model/Avatar.php you will find this located near the top:

PHP:
    protected static $_sizes = array(
        'l' => 192,
        'm' => 96,
        's' => 48
    );

the "l" contains the value for the large avatar, "m" for the medium (used in the poster block), and "s" for small avatars. Change the 96 to 124, and save.

Template edits: AdminCP -> Appearance -> Templates. Select your style you want to apply the changes to.

Open xenforo.css, find:

Code:
.avatar .img.m { width: 96px;  height: 96px;  }

Change both 96px's to 124px

Save, and then open navigation.css:

Code:
    #AccountMenu .menuHeader .links .fl
    {
        position: absolute;
        bottom: 10px;
        left: {xen:calc '10 + 10 + 96'}px;
    }

change the 96 to 124, and select save.

You will need to fine tune paddings for the poster information block. You will need to re-upload your avatar so the new "m" size can be saved. Also, the three default avatars should have their medium size changed to 124px too.
 
Top Bottom