Simple Avatar Upload

Discussion forum for MOD Writers regarding MOD Development.
Locked
A.I. BOT
Registered User
Posts: 1848
Joined: Thu Apr 17, 2003 11:43 pm
Location: Newfoundland, Canada
Contact:

Simple Avatar Upload

Post by A.I. BOT »

I'm trying to do a simple avatar upload (remote). However, I always get a message saying "File size must be betweent 0 and 6kib".

Code: Select all

$error	= array ( );
avatar_upload ( array ( 'uploadurl' => 'http://www.phpbbrivals.com/templates/images/logo.png' ), $error );

print_r ( $error );
What am I doing wrong?

Thanks.
ameeck
Former Team Member
Posts: 6559
Joined: Mon Mar 21, 2005 6:57 pm

Re: Simple Avatar Upload

Post by ameeck »

Well, surprisingly, the avatar you linked is way over 6kib :) You can change the value in the Avatar settings in the ACP.
Locked

Return to “[3.0.x] MOD Writers Discussion”

cron