MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

user avatar  (Mono Support )

Viewed 29181 time(s), 13 post(s) 9/20/2011 4:53:53 PMby rovvy
khorvat

khorvat

9/26/2011 2:06:20 PM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
livcons

livcons

9/26/2011 2:24:16 PM
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

This content has not been rated yet. 
986 Reputation 121 Total posts
khorvat

khorvat

9/26/2011 3:06:39 PM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
1 2