PDA

Afficher la version complète : Affichage des discussions Tous les avatars de la même dimensions



Allan
14/12/2009, 12h45
Ce mod permet d'afficher tous les avatars à une dimensions voulu
Remerciements


Ce Hack a été traduit en français pour vBulletin-Ressources avec l'autorisation explicite de son auteur. / This Hack was translated into French for vBulletin-Ressources with the explicit authorization of its author.



vBulletin-Ressources et son équipe offrira du support vis-à-vis des hacks traduits, bien sûr, dans la mesure du possible de chacun, autant en terme de temps que de connaissances/ vBulletin-Ressources and its team will offer support for the translated hacks, of course, as far as possible for everyone, as much in term of time that knowledge.



vBulletin-Ressources remercie l'auteur du hack pour avoir fourni son autorisation. / vBulletin-Ressources thanks the author for the hack to have provided its authorization.

Conception


Auteur du Hack / Author Of Hack : Allan
Version du hack / Hack version : 1.0
Version vBulletin Requise / Version vBulletin Required : vB 4.x
Testé / Tested: oui sur 4.0 RC2




Copyright © 2006-2009 vBulletin-Ressources.com - Tous droits réservés Uniquement pour nos traductions / Copyright © 2006-2009 vBulletin-Ressources.com - All Rights Reserved Only for ours translations


Installation

Pour le postbit:


Dans le template "postbit.css", trouver:


.postbit .postuseravatarlink img {
}

Remplacer par:


.postbit .postuseravatarlink img {
width: 80px;
height: 80px;
}~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pour le postbit_legacy:


Dans le template "postbit.css", trouver:


.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}};
}

Remplacer par:


.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}};
width: 80px;
height: 80px;
}


PS: 80px étant la dimension de cette exemple, libre a vous de modifier cette valeur ;)

Spider-Man
14/12/2009, 14h37
Bonjour et merci pour ce hack très intéressant :)

Ombre
14/12/2009, 14h56
Bonjour, merci pour ce mod, tu as du mal avec tes copier coller je crois, ce n'est pas un hack :)

nino42
14/12/2009, 19h50
salut

merci Allan

Bonjour, merci pour ce mod, tu as du mal avec tes copier coller je crois, ce n'est pas un hack :)
:wink3::wink3::wink3::wink3::wink3::wink3:

sunray
14/12/2009, 20h41
Bonsoir,

Merci Allan pour cette astuce :)

Allan
18/12/2009, 14h05
Ajout du postbit_legacy.

suleiman
30/12/2009, 22h56
Merci Allan pour la traduction .

Ombre
30/12/2009, 23h45
Bonsoir, quelle traduction?