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 |
#2
|
||||
|
||||
You can move the avatars to the file system in admincp > Avatars > User Picture Storage Type
|
#3
|
|||
|
|||
Thanks for that i will try it.
Any info on the avatar change? |
#4
|
||||
|
||||
Why not just set a CSS override, instead of editing the css templates? It should be kept applied. Worst case, edit the template(s), and remove that class.
|
#5
|
|||
|
|||
What class is that?
This is not happening because of a class it is loading a different image if you click and navigate the pages. |
#6
|
||||
|
||||
This is a bug. http://tracker.vbulletin.com/browse/VBV-12186 (Note, you must first login to the vbulletin.com forums as a Licensed User before you may see the Jira issue.)
|
#7
|
|||
|
|||
It seems that every issue we have on VB5 is a bug and the worst thing is no one is working on them...
Very disappointed in VB5 its a complete disaster for me, never upgrade vbulletin.org to VB5. Thank you for you time guys. |
#8
|
||||
|
||||
The devs are working on them, just perhaps not the bugs that you find most important. You should 'vote' on any issue of importance to you since the managers (who decide which bugs get worked on) do look to see if an issue has any votes.
|
Благодарность от: | ||
DesignMVD |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|