View Full Version : [FIXED] Avatar and profile picture max. filesize limited to 65535 bytes
Pogo
Mon 16th Jun '03, 5:54am
1. Custom Avatar Maximum File Size and Profile Picture Maximum File Size in Usergroup Manager is limited to 65535 bytes.
2. Problem exists in newly installed forums as well as in upgraded forums.
3. Change either of these values to 70000 and go back to the page. You will see 65535 instead of 70000.
4. The fields avatarmaxsize and profilepicmaxsize should be mediumint instead of smallint.
Kier
Mon 16th Jun '03, 8:45am
Run this query:
ALTER TABLE usergroup
CHANGE avatarmaxwidth avatarmaxwidth SMALLINT UNSIGNED NOT NULL,
CHANGE avatarmaxsize avatarmaxsize INT UNSIGNED NOT NULL,
CHANGE profilepicmaxwidth profilepicmaxwidth SMALLINT UNSIGNED NOT NULL,
CHANGE profilepicmaxsize profilepicmaxsize INT UNSIGNED NOT NULL
(I am using INT not MEDIUMINT, as MEDIUMINT is not allowed in non-MySQL database systems)
Emrys
Mon 16th Jun '03, 8:49am
Didn't fix anything for me. After running that query.
Kier
Mon 16th Jun '03, 8:59am
Emrys - sorry I posted the wrong query. Run the edited query above and it will sort you out.
Emrys
Mon 16th Jun '03, 8:32pm
yup, that did the trick, thanks Kier....
Bungie
Mon 16th Jun '03, 9:02pm
Just a note for people who added prefix's in their new installs of vB3... Don't forget to add them to this query as well. ;)
vBulletin® v3.8.0 Beta 3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.