UBB.Dev
Posted By: God Avatar Size - 01/29/2006 8:56 PM
6.6
How do I set it so that avatars above a certain size are not allowed? I don't want to use the force avatar size option, because that makes the small avatars all stretched out.

I set the option in the profile permission to 150x150 but I can still use a huge avatar that's far beyond that size.
Posted By: AllenAyres Re: Avatar Size - 01/30/2006 7:22 PM
I don't think you, as admin, would be limited to the size of your avatar.
Posted By: God Re: Avatar Size - 01/30/2006 7:47 PM
I tried it on a test account. It allows me to have an avatar of any size.
Posted By: Charles Capps Re: Avatar Size - 01/31/2006 2:59 AM
There's no way for the code to determine the dimensions of an image, thus no way to enforce a size.
Posted By: Gizmo Re: Avatar Size - 01/31/2006 3:36 AM
Yeh, if this where PHP we could probably play with the getimagesize function wink .
Posted By: Christy Re: Avatar Size - 01/31/2006 2:39 PM
Ok, I'm a first time poster, so no flaming, remember? tipsy Also, I'm not an owner (odd story there), just a volunteer mod for a ubb board, but...

I am admin at another forum (with different software, admittedly). So, I understand about changing avatar sizes.

Is there not an option that allows you to control the file size, rather than the deminsions? If not, is there an easy way to make it?
Posted By: Gizmo Re: Avatar Size - 02/01/2006 1:46 AM
Now that you say that, I have seen some forums with the ability to check size of avatar's that are being uploaded to the server (not remote); the UBB.Classic system (stock code) does not allow for uploading of avatar's by users... I do beleive there is a modification somewhere for this, possibly poke the author...
© UBB.Developers