I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Support #1807

No Gravatar Appears

Added by Arlo Carreon over 13 years ago. Updated over 13 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
18 Jul 2011
Due date:
18 Jul 2011
% Done:

0%

Redmine version:
External issue:

Description

I am new to ruby and I have been digging around to see what the problem might be. I really have no clue where the function “avatar(member, :size ⇒ members.count == 1 ? “100” : “80")” really resides.

I looked at the svn logs and noticed that the gravatar plugin was onced used, but now it is not? Where is avatar function residing at the moment?

user_profile.png View (140 KB) Arlo Carreon, 18 Jul 2011 16:46

History

#1 Updated by Andriy Lesyuk over 13 years ago

  • Status changed from New to Open

Thanks for report!
It has been moved to app/views/author/_profile.rhtml. The avatar should be still shown. What version of Redmine are you using? Does the older version of the plugin work?

#2 Updated by Arlo Carreon over 13 years ago

Good question. Let me find out what redmine version I have. I haven’t downloaded the older version, what would the svn path be for the older version?

#3 Updated by Andriy Lesyuk over 13 years ago

Better use files

#4 Updated by Arlo Carreon over 13 years ago

The original question was: Where is the avatar() method defined/declared/implemented? I can see it is used in app/views/author/_profile.rhtml, but where is the logic for that method?

I am extremely new to ruby, so excuse my ignorance.

#5 Updated by Arlo Carreon over 13 years ago

I downgraded to version 0.0.1 and restarted redmine. I see in Administer >> PLugins >> Author shows version 0.0.1. I still do not see any gravatars. I see the Developer names and the boxes that surround the links to the developer profiles, but no gravatars. Any suggestions?

#6 Updated by Andriy Lesyuk over 13 years ago

Is gravatar shown on other pages (e.g. user’s profile)?

You wrote that “the gravatar plugin was onced used”... Sorry, I misunderstood. I thought gravars worked earlier... Please switch back to the recent version.

I guess it’s not an issue in my plugin... At least I want to believe in this. However to tell exactly I would like to test... So tell me your Redmine version (and answer the question above).

Function avatar() is defined in app/helpers/application_helper.rb.

#7 Updated by Arlo Carreon over 13 years ago

Thank you for your time with me on this issue.

  1. Redmine 1.2.0.stable (MySQL)
  2. Gravatar does not show on user profile. I am attaching a screen shot of user profile.

I also upgraded back to 0.0.2, same thing.

#8 Updated by Arlo Carreon over 13 years ago

OMG!! Sorry, I see what you were saying. I went back to settings and I saw there is an option for Display User Gravatars.

I am completely new to Redmine, so I had no idea this option existed. Sorry to waste your time.

Everything works fine now.

#9 Updated by Andriy Lesyuk over 13 years ago

  • Due date set to 18 Jul 2011
  • Status changed from Open to Won't Fix

No problem! Glad to help you.

Also available in: Atom PDF

Terms of use | Privacy policy