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 )

31583 put(a) pogledan, 13 odgovor(a) 20.9.2011. 16:53:53Kreirao(la) rovvy
khorvat

khorvat

26.9.2011. 14:06:20
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
livcons

livcons

26.9.2011. 14:24:16
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

Ovaj sadržaj još nije ocijenjen. 
986 Reputacija 121 Ukupno objava
khorvat

khorvat

26.9.2011. 15:06:39
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
1 2