Hi.
I installed avatar selection in my drupal, uploaded my avatar to my user (I see my avatar in my page profile), but I didn`t see my avatar in my forum/blog comments... do I need change anything?
Thanks.

Comments

stella’s picture

Status: Active » Fixed

That's nothing to do with the avatar selection module, but rather with your theme. In your theme's directory you should have a comment.tpl.php template file. If you want user pictures to be displayed on comments you need a line like the following to be present in it.

  <?php print $picture ?>

Cheers,
Stella

gregolin’s picture

Status: Fixed » Active

:Hi Stella.
I have this line... see (I have a debug code too):

if ($comment->status == COMMENT_NOT_PUBLISHED) print ' comment-unpublished'; ">
 if ($picture) {
    print $picture;
  }
print "<h2>xxxxxx".$picture."yyyyy</h2>"; 

And in my page I see only:

xxxxxxyyyyy

stella’s picture

Status: Active » Fixed

It's still not a problem with the avatar selection module. It doesn't handle the display of images. If the picture is being displayed on your page profile, but not on the comments, then it's a fault of the theme. I'm not an expert in themes, so I can't help you further, but I recommend asking your theme's maintainer or on the #drupal-themes irc channel.

Cheers,
Stella

gregolin’s picture

Ops, my problem is other, then...
I change my theme to GARLAND, and the avatar doesn`t display yet... I`m try other things and I will post the results.
Thanks.

gregolin’s picture

Status: Fixed » Postponed (maintainer needs more info)

Hi Stella.
I did a test in my local Drupal and I had the same problem... so, I think that my problem is with configuration... can you explain detais?
After I install the module, what do I need to do? I think that is any problem with permissions or similar.
Thanks.

stella’s picture

Well the only permission that affects end users that is provided by the avatar selection module, is the "access avatars" one which controls who can see the selection list and who can't.

I really don't believe this is a problem with the avatar selection module. Try uploading an image instead of selecting one from the list. I bet you have the same problem where it doesn't appear in comments.

As I said earlier, if the picture is showing elsewhere, such as on the user's profile page, then this is nothing to do with the avatar selection module.

Cheers,
Stella

gregolin’s picture

Hi Stella...
I've a basic error...
I forgot to enable picture in comments, in global options... there was only the picture posts... sorry my questions...
Now it's working no problems.
Thanks.

gregolin’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Hi Stella...
I've a basic error...
I forgot to enable picture in comments, in global options... there was only the picture posts... sorry my questions...
Now it's working no problems.
Thanks.

gianluca.b’s picture

Can you explain where to set this global option?

I've got the same problem...

stella’s picture

Option can be found at admin/build/themes/settings