PDA

View Full Version : Avatar / Profile Pic Max Filesize Limited to 65536 bytes


Kier
Mon 16th Jun '03, 7:47am
Run the following query to allow larger avatars and profile pictures on your board:
ALTER TABLE usergroup
CHANGE avatarmaxsize avatarmaxsize INT UNSIGNED NOT NULL,
CHANGE profilepicmaxsize profilepicmaxsize INT UNSIGNED NOT NULL

a43079
Mon 16th Jun '03, 10:50am
Run the following query to allow larger avatars and profile pictures on your board:ALTER TABLE usergroup
CHANGE avatarmaxsize avatarmaxsize INT UNSIGNED NOT NULL,
CHANGE profilepicmaxsize profilepicmaxsize INT UNSIGNED NOT NULL

i rand the query and i got this any ideah?
Database ero running on localhost

Error
SQL-query : ALTER TABLE usergroupCHANGE avatarmaxsize avatarmaxsize INT UNSIGNED NOT NULL,CHANGE profilepicmaxsize profilepicmaxsize INT UNSIGNED NOT NULL
MySQL said:
Unknown column 'avatarmaxsize' in 'usergroup'
that was in phpmyadmin

Kier
Mon 16th Jun '03, 11:48am
You are running vB3, right?

Dark Shogun
Mon 16th Jun '03, 2:47pm
Seems to have worked. I got no errors.

Dark Shogun

Chris M
Mon 16th Jun '03, 3:33pm
Thanks Kier:)

Satan

a43079
Mon 16th Jun '03, 7:08pm
You are running vB3, right?

yes it is vb3 fresh install i had to many hacks on my versioni 2 so i did a fresh install...

Pogo
Tue 17th Jun '03, 7:35am
yes it is vb3 fresh install i had to many hacks on my versioni 2 so i did a fresh install...

If you are using a table prefix you have to add it befire the usergroup tabla name.

If your table prefix is vb3_ your query would look like thisALTER TABLE vb3_usergroup
CHANGE avatarmaxsize avatarmaxsize INT UNSIGNED NOT NULL,
CHANGE profilepicmaxsize profilepicmaxsize INT UNSIGNED NOT NULL

a43079
Tue 17th Jun '03, 5:27pm
thank you it worked