Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
2 registered members (TheBrit, Zarzal), 46 guests, and 202 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Mark J.Cairns
Mark J.Cairns
Northern Ireland, UK
Posts: 38
Joined: September 2009
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 18
isaac 14
TheBrit 10
SteveS 8
Zarzal 6
Morgan 5
Ruben 4
jorb 4
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
Avatar #39280
01/23/04 03:37 AM
01/23/04 03: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 04:22 AM
01/23/04 04: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 05:27 AM
01/23/04 05: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 03:27 AM
01/27/04 03: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
update multilanguage site problem
by Zarzal. 12/15/18 04:20 PM
Char coding utf-8 and older forums
by Zarzal. 12/15/18 03:59 PM
table issue
by TheBrit. 12/13/18 06:05 PM
testing table layout
by TheBrit. 12/13/18 11:16 AM
header.php after update from 7.5.x to 7.6.x
by Zarzal. 12/12/18 05:29 AM
Forum Statistics
Forums36
Topics35,180
Posts191,677
Members12,122
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2