Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jul 2006
Posts: 21
Junior Member
Junior Member
Offline
Joined: Jul 2006
Posts: 21
I found the problem/solution. It is a simple typo in the changebasic.inc.php file (in /scripts).

I outlined the change here: UBBCentral

For everyone that doesn't want to click on the link (and have to scroll down)...

Find:
Code
$imagehw = getimagesize("{$config['UPLOADED_AVATAR_URL']}/$Picturefile");

Replace with:
Code
$imagehw = getimagesize("{$config['UPLOADED_AVATAR_PATH']}/$Picturefile");

Basically it is a typo, changing 'UPLOADED_AVATAR_URL to 'UPLOADED_AVATAR_PATH.

Change this 1 line, resave the file and your gold, no need to change or remove any of the size stuff anywhere else.

Edit: One last thing, this only fixes the future avatars, any that are currently uploaded by the users need to be reuploaded. This is because a size of 80x80 is already "set" in the user database because with the typo it couldn't "find" the file to check for file sizes so it put the max (80x80). Having the users reupload their avatars after you make this change will correct it.

Last edited by Fred Johnson; 03/20/2007 3:57 PM.
Sponsored Links
Entire Thread
Subject Posted By Posted
[7.x] Fix the Avatars Gizmo 03/08/2007 7:31 AM
Re: [7.x] Fix the Avatars ADWOFF 03/08/2007 9:19 AM
Re: [7.x] Fix the Avatars Gizmo 03/08/2007 9:31 AM
Re: [7.x] Fix the Avatars Fred Johnson 03/20/2007 8:41 PM
Re: [7.x] Fix the Avatars Fred Johnson 03/20/2007 10:00 PM
Re: [7.x] Fix the Avatars Gizmo 03/21/2007 12:10 AM
Re: [7.x] Fix the Avatars sirdude 06/21/2007 4:39 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2525
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 7
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)