Back to vBulletin 4.x Template Modifications

All the avatars of the same dimensions
Mod Version: 1.00, by Allan

vB Version: 4.0.0 Rating: (7 votes - 4.86 average) Installs: 51
Released: 14 Dec 2009 Last Update: Never Downloads: 5
Not Supported Template Edits  

This mod impose all the avatars of the same dimensions.
  • For "postbit": In the "postbit.css" template, find:
PHP Code:
.postbit .postuseravatarlink img {

  • Change to:
PHP Code:
.postbit .postuseravatarlink img {
        
width80px;
        
height80px;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  • For "postbit_legacy": In the "postbit.css", find:
PHP Code:
.postbitlegacy .userinfo .postuseravatar img, .eventbit userinfo .eventuseravatar img {
    
border: {vb:stylevar postbitlegacy_avatar_border};
     
outline: {vb:stylevar postbitlegacy_avatar_outline};
     
max-width: {vb:math {vb:stylevar postbitlegacy_userinfo_width} - {vb:math {vb:stylevar padding}*2}- {vb:math {vb:stylevar postbitlegacy_avatar_outline.borderWidth}*2} - {vb:math {vb:stylevar postbitlegacy_avatar_border.borderWidth}*2}};

  • Change to:
PHP Code:
.postbitlegacy .userinfo .postuseravatar img, .eventbit userinfo .eventuseravatar img {
    
border: {vb:stylevar postbitlegacy_avatar_border};
     
outline: {vb:stylevar postbitlegacy_avatar_outline};
     
max-width: {vb:math {vb:stylevar postbitlegacy_userinfo_width} - {vb:math {vb:stylevar padding}*2}- {vb:math {vb:stylevar postbitlegacy_avatar_outline.borderWidth}*2} - {vb:math {vb:stylevar postbitlegacy_avatar_border.borderWidth}*2}};
        
width80px;
        
height80px;



PS
: You are free to change 80px of course

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024