Download & Extend

Avatar doesn`t display in comment page

Project:Avatar Selection
Version:6.x-1.5
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

#1

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

#2

Status:fixed» active

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

<?php
if ($picture) {
    print
$picture;
  }
print
"<h2>xxxxxx".$picture."yyyyy</h2>";
?>

And in my page I see only:

xxxxxxyyyyy

#3

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

#4

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.

#5

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.

#6

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

#7

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.

#8

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.

#9

Can you explain where to set this global option?

I've got the same problem...

#10

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

nobody click here