Previous Thread
Next Thread
Print Thread
Rate Thread
#184518 01/29/2006 1:56 PM
Joined: Sep 2005
Posts: 44
G
God Offline OP
Member
OP Offline
Member
G
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.

Sponsored Links
#184519 01/30/2006 12:22 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
Offline
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.


- Allen wavey
- What Drives You?
#184520 01/30/2006 12:47 PM
Joined: Sep 2005
Posts: 44
G
God Offline OP
Member
OP Offline
Member
G
Joined: Sep 2005
Posts: 44
I tried it on a test account. It allows me to have an avatar of any size.

#184521 01/30/2006 7:59 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Offline
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.
#184522 01/30/2006 8:36 PM
Joined: Jan 2000
Posts: 5,813
Likes: 13
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,813
Likes: 13
Yeh, if this where PHP we could probably play with the getimagesize function wink .


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Sponsored Links
#184523 01/31/2006 7:39 AM
Joined: Jan 2006
Posts: 3
C
Junior Member
Offline
Junior Member
C
Joined: Jan 2006
Posts: 3
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?

#184524 01/31/2006 6:46 PM
Joined: Jan 2000
Posts: 5,813
Likes: 13
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,813
Likes: 13
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.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,555
Posts293,845
Members13,842
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 515
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 9
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,813
Greg Hard 4,625
Top Posters(30 Days)
Morgan 3
isaac 2
Top Likes Received
isaac 69
Gizmo 13
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
isaac 3
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20201211)
Responsive Width:

PHP: 5.4.45 Page Time: 0.051s Queries: 28 (0.020s) Memory: 3.3060 MB (Peak: 3.5277 MB) Data Comp: Zlib Server Time: 2021-05-09 13:48:17 UTC
Valid HTML 5 and Valid CSS