Mono Support user avatar 

Viewed 32844 time(s), 13 post(s), 9/20/2011 4:53:53 PM - by rovvy
9/26/2011 2:06:20 PM
15993 Reputation 2214 Total posts

Hi,

I thought that you have set the GravatarType to Avatar in the web.config (please check this) as this settings is reflected to the UserAvatar WebPart. If you didn't Avatar will be shown only in the UserProfile WebPart and not the other WebParts that you use.

Let me know if changing the GravatarType globally did the trick ?

Regards

11
9/26/2011 2:24:16 PM
986 Reputation 121 Total posts

Hi,

Currently in web.config we have:

<!-- Available values: identicon, monsterid, wavatar,
full URL-encoded http address or virtual path of an image that should be served
as a default image if there is no image for a particular address:
http%3A%2F%2Fexample.com%2Fimages%2Fexample.jpg -->

<add key="GravatarType" value="/App_Themes/Common/img/avatar_blank.jpg" />

What you said is that we should use the commented line of
code instead?

<add key="GravatarType" value="wavatar" />



We want a default functionality that every user who is
entering into site to be able to set the avatar image without accessing the web
part properties.


As a remark based on the latest (previous with avatar no
set!) information we have set in:


UserAvatar file

private MonoSoftware.MonoX.Blog.Gravatar.GravatarType
_gravatarRenderType = MonoSoftware.MonoX.Blog.Gravatar.GravatarType.Avatar;



What scenario is more appropriate for what we want?



/Gabriel

12
9/26/2011 3:06:39 PM
15993 Reputation 2214 Total posts

Hi,

this is more oriented to the following settings:

Turn on the Avatars by the following settings
    <!-- indicates if avatars are shown -->
    <add key="ShowBlogAvatars" value="true" />
Turn off gravatars with this setting
    <!-- indicates if gravatars are shown -->
    <add key="ShowBlogGravatars" value="false" />
Leave this as is
 
    <!-- Available values: identicon, monsterid, wavatar, full URL-encoded http address or virtual path of an image that should be served as a default image if there is no image for a particular address: http%3A%2F%2Fexample.com%2Fimages%2Fexample.jpg -->
    <add key="GravatarType" value="/App_Themes/Common/img/avatar_blank.jpg" />

Let me know if this is working now.

Regards

13
1 2
This is a demo site for MonoX. Please visit Mono Software for more info.