Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 77 guests, and 223 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Zarzal
Zarzal
Berlin, Germany
Posts: 1,148
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 21
Ruben 10
Gizmo 8
Geoff 3
FREAK 2
Slaz 2
DennyP 1
Latest Photos
Testing to drag photos
Comfortable Cats
Test
BSA photos
Chinese Buddhist temple.
Previous Thread
Next Thread
Print Thread
Avatar #39280
01/23/04 04:37 AM
01/23/04 04:37 AM
Paulus  Offline OP
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

Re: Avatar #39281
01/23/04 05:22 AM
01/23/04 05:22 AM
JoshPet  Offline
enthusiast
Joined: Jun 2006
Posts: 292
Charlotte, NC
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
Re: Avatar #39282
01/23/04 06:27 AM
01/23/04 06:27 AM
Paulus  Offline OP
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

Re: Avatar #39283
01/27/04 04:27 AM
01/27/04 04:27 AM
JoshPet  Offline
enthusiast
Joined: Jun 2006
Posts: 292
Charlotte, NC
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

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
UBB.threads 7.6.2 - Released
by isaac. 09/17/18 08:08 AM
7.6.2 Changelog Discussion
by isaac. 09/17/18 06:35 AM
Upgrade Documentation
by DennyP. 09/15/18 03:55 PM
PHP 7.2
by Geoff. 09/12/18 10:22 PM
Email Cleanup-Is it possible?
by Ruben. 09/06/18 11:25 AM
Forum Statistics
Forums36
Topics35,139
Posts191,439
Members12,106
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2