The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Change avatar size at post info
We upgraded to VB5 and our users want bigger size avatars (64x64 is really small?)
So we changed in to 130x200 in css_b_avatar.css Code:
.b-avatar--m { } & .b-avatar--m > img {} Full size avatar path - Shows on first page load Code:
http://www.mysite.com/forum/core/image.php?userid=1&dateline=1399359366 Code:
http://www.mysite.com/forum/core/image.php?userid=1&thumb=1&dateline=1399359366 I found that it's this condition that changes the avatar in conversation_userinfo Code:
<vb:elseif condition="$conversation['senderAvatar'] AND $conversation['senderAvatar']['avatarpath'] AND $conversation['senderAvatar']['hascustom']" /> <a href="{vb:url 'profile', {vb:raw conversation}}" class="b-avatar b-avatar--m b-avatar--thread h-margin-bottom-l"> <img src="{vb:raw baseurl_corecdn}/{vb:raw conversation.senderAvatar.avatarpath}" alt="{vb:raw conversation.authorname}" title="{vb:raw conversation.authorname}" /> </a> <vb:elseif condition="$conversation['avatar'] AND $conversation['avatar']['avatarpath'] AND $conversation['avatar']['hascustom']" /> <a href="{vb:url 'profile', {vb:raw conversation}}" class="b-avatar b-avatar--m b-avatar--thread h-margin-bottom-l"> <img src="{vb:raw baseurl_corecdn}/{vb:raw conversation.avatar.avatarpath}" alt="{vb:raw conversation.authorname}" title="{vb:raw conversation.authorname}" /> </a> Also my avatars path is something like this: Code:
http://www.mysite.com/forum/core/image.php?userid=1&dateline=1379298462 Code:
http://www.vbulletin.org/custompics/forum/avatars/avatar65230_3.gif |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|