The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
first post avatar fullsize and the rest scaled down.
anyway to do this? either by making the first post avatar larger (150%) and then setting a restriction on avatar size OR prefered to leave first avatar the full size and then scale rest of thread avatars to 50%
|
#2
|
||||
|
||||
Quote:
HTML Code:
<style> .postbitlegacy .userinfo .postuseravatar { <vb:if condition="$post['isfirstshown']"> height:150%; width:150%; <vb:else /> height:50%; width:50%; </vb:if> } <style> |
#3
|
||||
|
||||
In the postbit_legacy, try adding this code here:
Code:
<vb:if condition="$show['avatar']"> <a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}"> <img <vb:if condition="$post[postcount] == 1">style="width:150%"</vb:if> src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" title="{vb:rawphrase xs_avatar, {vb:raw post.username}}" /> |
Благодарность от: | ||
wilford brimley |
#4
|
|||
|
|||
scanu, that makes it so only the first post is shown.
ill try that one lynn. it works. can you add a code to make everyone else 50%? either that or im going to just resize everyone avatars |
#5
|
||||
|
||||
To make everyone else's 50% try this one
PHP Code:
|
#6
|
|||
|
|||
how can i make it do both, 150% first and 50% the rest. i tired combining the code and got double avatars.
|
#7
|
||||
|
||||
Quote:
|
Благодарность от: | ||
wilford brimley |
#8
|
|||
|
|||
works great. i set it to 75% and it looks perfect. thanks alot.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|