[dev] Re: [PATCH] Agora avatar support

Chuck Hagenbuch chuck at horde.org
Sun Mar 27 20:49:48 PST 2005


Quoting Andrew Hosie <ahosie at gmail.com>:

> Submitting patch for agora avatar support.
> Supports:
> * Site-installed gallery
> * Off-site images
> * User uploaded images
> * Image restrictions (file size, dimensions and mime type)
> http://www.faerun.com.au/~ahosie/agora.tgz

I've gone ahead and committed most of this with some changes. I didn't 
commit the gallery yet, or the upload functionality, since I wanted to 
get some feedback from folks on whether the included avatars should be 
in the VFS, as submitted, or more directly from the filesystem/theme. 
Anyone?

I have those files locally cleaned up to match my other changes, and 
will get to them at some point. Would love the feedback, though.

> Requires patch against horde to support user-submitted avatars:
> diff -r horde/templates/prefs/begin.inc horde.base/templates/prefs/begin.inc
> 1c1
> < <form method="post" name="prefs" <?php
> if(function_exists($app.'_multipart_form')): ?>
> enctype="multipart/form-data"<?php endif; ?> action="<?php echo
> Horde::selfURL() ?>">
> ---
>> <form method="post" name="prefs" action="<?php echo Horde::selfURL() ?>">

For this, let's just have an avatars/upload.php script that handles 
this if necessary. Andrew - thanks much. Please feel free to claim the 
bounty for this. :)

-chuck

-- 
"But she goes not abroad in search of monsters to destroy." - John 
Quincy Adams


More information about the dev mailing list