Previous Thread
Next Thread
Print Thread
Hop To
#39280 01/23/2004 4:37 AM
Joined: Jan 2004
Posts: 7
stranger
stranger
Joined: Jan 2004
Posts: 7
I don't allow "url" avatars, but for moderators I want to make an exception. So when I assign a "url" avatar to a moderator, I turn the option on, edit the profile and put the option off again. The size of the avatar sometimes is not correct; Have a look at the avatar in this topic. The avatar is 80 x 53, you can see that if you go directly to the url , but the displayed size is 48 x 48.

I have following settings:

If allowing users to add pictures, what is the maximum width allowed: 90


If allowing users to add pictures, what is the maximum height allowed: 90

I read somewhere that the bug of size display has been solved; am I doing something wrong??

Thanks for any help,

Paulus

#39281 01/23/2004 5:22 AM
Joined: Jun 2006
Posts: 742
enthusiast
enthusiast
Joined: Jun 2006
Posts: 742
It doesn't read the actual avatar size unless you use the Upload avatar function. If you just provide a URL, it'll use former dimentions if it has them, or the default if you don't.

You can adjust the size for the user with this SQL command:

UPDATE w3t_Users
SET U_PicHeight = 'xxx',
U_PicWidth = 'yyy'
WHERE U_Username = 'zzzzzzzzzz'

Hope that helps. <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />


Joshua Pettit
Web Developer
www.ThreadsDev.net | www.JoshuaPettit.com
#39282 01/23/2004 6:27 AM
Joined: Jan 2004
Posts: 7
stranger
stranger
Joined: Jan 2004
Posts: 7
What do you mean by "former dimensions" And the deafult is 90 x 90, so thta's not it.. Suddenly it resizes the image to 48 x 48. I don't want to use the "upload avatar" option, because I don't want all users to use this avatar. Would't it be logical

#39283 01/27/2004 4:27 AM
Joined: Jun 2006
Posts: 742
enthusiast
enthusiast
Joined: Jun 2006
Posts: 742
I'm saying it remembers the former avatar dimentions and the database doesn't get updated if you don't "upload" an avatar or pick a stock avatar. So it uses whatever size it has for that user in the database.

48x48 seems like the dimention to a "stock avatar". So if you change from a stock avatar to one you're just linking to, you'll need to override the dimentions.

You need to run that query I posted to adjust the avatar size for the user. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />


Joshua Pettit
Web Developer
www.ThreadsDev.net | www.JoshuaPettit.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)