|
Joined: Sep 2005
Posts: 44
Member
|
Member
Joined: Sep 2005
Posts: 44 |
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.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
I don't think you, as admin, would be limited to the size of your avatar.
|
|
|
|
Joined: Sep 2005
Posts: 44
Member
|
Member
Joined: Sep 2005
Posts: 44 |
I tried it on a test account. It allows me to have an avatar of any size.
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
There's no way for the code to determine the dimensions of an image, thus no way to enforce a size.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
Yeh, if this where PHP we could probably play with the getimagesize function  .
|
|
|
|
Joined: Jan 2006
Posts: 3
Junior Member
|
Junior Member
Joined: Jan 2006
Posts: 3 |
Ok, I'm a first time poster, so no flaming, remember?  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?
|
|
|
|
Joined: Jan 2000
Posts: 5,833 Likes: 20
UBBDev / UBBWiki Owner Time Lord
|
UBBDev / UBBWiki Owner Time Lord
Joined: Jan 2000
Posts: 5,833 Likes: 20 |
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...
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 417
Joined: November 2001
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|