The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Minimum Avatar Size [REQ]
Hey there,
Right now I have my forum set so that the maximum avatar size is set at 150x150 pixels. But what I cannot do is set the minimum so that the users don't upload a tiny avatar. My minimum is enforced verbally at 100 width and 150 height. Is there a hack I could get that could automatically prevent users from uploading an avatar that's below the minimum? Thanks , domokun Having a fixed size avatar would also help if there's no way to have a minimum size. Thanks again , domokun |
#2
|
||||
|
||||
I need it too!
Any idea how to set a minimum avatar size? |
#3
|
||||
|
||||
I've always edited the postbit and/or postbit_legacy templates and defined the width/height of the avatar. If you don't mind doing that then...
Find: Code:
<img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /> Code:
<img src="$post[avatarurl]" width="x" height="y" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /> Replace "x" with width size and "y" for height size. It doesn't matter what size the image upload is as it'll be forced to display your specified dimensions. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|