Hello there!
Im using the latest 6.x version, and it won´t work. Not for registered users, and not for the anon either.
When people posts a comment, if they are anon the site default image appear, and if they are registered users and have an image in their profile, that image appears.
It doesn´t matter if I set "Global default user image" or "Gravatar logo" at admin/user/gravatar.
(I´ve checked the permission: Anon and Registered users have "use gravatar" permission).

Maybe it has something to do that I´m using the module WP Comments?
Or maybe because I´m using a custom template comment.tpl.php?
Or maybe because I´ve imagacache installed?

I´m using latest Drupal version too.
Hope someone could help me out, I´m quite clueless why this module is completely ignored.
Thanks!
Rosamunda

Comments

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

Can you copy/paste your site's comment.tpl.php here?

Rosamunda’s picture

Thanks for your reply!! Sure I can:

<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>">
<!-- Resaltar si el comentario es nuevo -->	
    <?php if ($comment->new) : ?>
      <?php print drupal_ucfirst($new) ?>
    <?php endif; ?>

  <div class="chat-bubble">
<!-- Mostrar el título del comentario-->	  
  <div class="titulo_comentario"><?php print $title ?></div>
<!-- Mostrar el contenido del comentario-->	    
    <?php print $content ?>
<!-- Mostrar la firma si tiene-->	  
    <?php if ($signature): ?> <?php print $signature ?><?php endif; ?>
 <div class="chat-bubble-arrow-border"></div>
  <div class="chat-bubble-arrow"></div>
</div><br>
<table border="0"><tr>
<td><?php print $picture; ?></td>
<td><div class="submitted_comentario_autor"><?php print $author; ?></div>
<div class="submitted_comentario_fecha"><?php print t('hace '); ?><?php print (format_interval(time() - $comment->timestamp));?></div>
</td>
</tr></table>

<?php
global $user;
// si el usuario es del tipo admin
if (is_array($user->roles) && in_array('admin', $user->roles)) {
// Muestra los links del comentario, como editar, etc..
print '<div align="right">';
print $links;
print '</div>';
}
?>	  
</div>

THANKS!!!!
Rosamunda

Rosamunda’s picture

Status: Postponed (maintainer needs more info) » Active

...sorry, forgot to change the status :)

Rosamunda’s picture

I´ve deleted the comments.tpl and all format was gone. And still won´t work.

Rosamunda’s picture

Found the problem, but it´s not nice: I´ve disable "imagecache profiles" and it works as it should.
But I need imagecache profiles! :)

Don´t know why this issue didn´t come up yet in any other post.

Rosamunda

Rosamunda’s picture

Category: support » bug

I´ve played with some other modules, enabling and disabling them (the ones that could have some effect on comments), and it won´t work only when enabling imagecache profiles (or when applying a special cache profile preset for comments).
I´m changing this as a bug. If it shouldn´t be considered a bug, please revert it. (Maybe could it be considered some sort of "known issues"?).

Note: I´m only using Gravatars for unregistered users.

Rosamunda

dave reid’s picture

Title: Won´t work at all: After installed and checked perms, it is as if it isn´t even installed » Conflict with ImageCache User Profiles
Status: Active » Closed (duplicate)

Hrm, I wonder if ImageCache User Profiles runs after Gravatar and clobbers the user picture we enter. Actually since 'g' comes before 'i' in the alphabet I'm more than willing to bet they're incompatible. So really this is a duplicate of #334630: Cache gravatar images locally which will solve this problem.

Rosamunda’s picture

Didn´t noticed! THANKS!