Avatar doesn`t display in comment page
gregolin - September 6, 2008 - 02:57
| Project: | Avatar Selection |
| Version: | 6.x-1.5 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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.

#1
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
:Hi Stella.
I have this line... see (I have a debug code too):
<?phpif ($picture) {
print $picture;
}
print "<h2>xxxxxx".$picture."yyyyy</h2>";
?>
And in my page I see only:
xxxxxxyyyyy
#3
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
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
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