Profile Pic instead of Gravtar

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
5/26/2009 9:11:17 PM
Gravatar
Total Posts 8

Profile Pic instead of Gravtar

Hi Joe,

How can I let the user to upload a simple profile picture instead of a Gravtar ?

- Vishnu

5/27/2009 5:39:48 AM
Gravatar
Total Posts 18439

Re: Profile Pic instead of Gravtar

Hi Vishnu,

Its not currently implemented to allow users to upload their own profile picture, though it is something I will implement at some point.

It is possible for an admin to upload user photos into the /Sites/[SiteID]/avatars folder and the admin can specify which photo is used for the user in user management.

There are some related Web.config settings and notes in Web.config

 <!-- Gravatars
http://www.gravatar.com/ is a service that allows users to have the same Avatar across different sites.
I implemented support for this in mojoPortal 2008-08-13
I added this setting as a kill switch so that Gravatars can be disabled installation wide
in case there is ever a security or performance problem due to using this external service.
I don't expect any problems but just in case you can disable it here.
RatingType { G, PG, R, X } determine what rating is acceptable. Users rate their Avatars like movies.
-->
<add key="AllowGravatars" value="true" />
<add key="GravatarMaxAllowedRating" value="G" />
<!-- the old cheesy avatar system was just choices from a few cartoons
if you want to use it you can set AllowGravatars=false and set DisableOldCheesyAvatars=false
-->
<add key="DisableOldCheesyAvatars" value="true" />
<!-- you could replace the cheesy cartoon avatars with pictures of your staff/members but then you would want to set this to true
so only the admin user can pick the avatar, otherwise users would see a list of all the avatars and nothing forcesthem to choose the correct one.
-->
<add key="OnlyAdminsCanEditCheesyAvatars" value="false" />

Hope it helps,

Joe

5/27/2009 5:55:33 AM
Gravatar
Total Posts 8

Re: Profile Pic instead of Gravtar

Yep, I just saw that, please consider the profile pic as feature request :-)

Thanks,

Vishnu

8/17/2009 3:47:29 AM
Gravatar
Total Posts 5

Re: Profile Pic instead of Gravtar

I'd just like to "+1" and say that the ability to upload your own avatars is my single most wanted feature. ^^

8/26/2009 3:35:54 PM
Gravatar
Total Posts 13

Re: Profile Pic instead of Gravtar

me too ;o)

Thierry

8/27/2009 7:29:34 AM
Gravatar
Total Posts 18439

Re: Profile Pic instead of Gravtar

I'm hearing you loud and clear guys. You could buy me a beer now and then to increase my motivation to prioritize work on this. ;-)

Best,

Joe

9/4/2009 3:09:03 PM
Gravatar
Total Posts 18439

Re: Profile Pic instead of Gravtar

fyi, I've implemented this for the next release. You can try it now on demo.mojoportal.com. There is now a site setting for "Avatar System" with options None, Gravatar, and User Upload. If User Upload is selected, users can upload their own avatar. The max width and height is determined by web.config settings and images larger than the settings are resized.

I've removed the old cartoon avatar system.

Best,

Joe

10/29/2009 7:17:24 AM
Gravatar
Total Posts 5

Re: Profile Pic instead of Gravtar

Awesome, Joe!

An appreciation beer is coming up :)

10/29/2009 7:37:10 AM
Gravatar
Total Posts 18439

Re: Profile Pic instead of Gravtar

Thanks!

I should have updated this thread after releasing it, but the latest version 2.3.1.9 has user uploadable avatar system and even supports cropping a larger picture.

Best,

Joe

3/30/2010 12:19:00 AM
Gravatar
Total Posts 15

Re: Profile Pic instead of Gravtar

Joe,

How can I change the label "Avatar" to something else, perhaps "User Photo"

I have been all over the profileview.aspx file and am unable to find where I change the label.

Sam
 

3/31/2010 10:31:59 AM
Gravatar
Total Posts 18439

Re: Profile Pic instead of Gravtar

Hi Sam,

The label is not customizable, it comes from a resource file so it can be localized to other languages but unfortunately not customized.

Best,

Joe

3/31/2010 1:07:53 PM
Gravatar
Total Posts 15

Re: Profile Pic instead of Gravtar

Ok, I changed this in resource.resx and it seems to work. Or should I have created a copy and made a custom resource.resx file?

<data name="UserProfileAvatarLabel" xml:space="preserve">
<value>Photo</value>

Sam

You must sign in to post in the forums. This thread is closed to new posts.