When using the Golden Hour theme blog comments all show the author as anonymous, even for logged on authorized users. This may or may not be a Firefox only problem. I cannot confirm if it is also an IE problem. I did not test for other node types. Garland and several other themes show the correct authors for blog comments and they are correct in the database.

Still love this theme. We need to make it perfect.

Have a look.

Comments

jwolf’s picture

My mistake. The comment username is being pulled from $node instead of $comment.

To fix this change line number 6 of comment.tpl.php from:

<div class="submitted"><?php print t('By ') . theme('username', $node) . t(' - Posted on ') . format_date($comment->timestamp, 'custom', "F jS, Y"); ?></div>

to

<div class="submitted"><?php print t('By ') . theme('username', $comment) . t(' - Posted on ') . format_date($comment->timestamp, 'custom', "F jS, Y"); ?></div>

Just replace $node with $comment

I will add this fix to the next official release. In the meantime you can grab the latest development snapshot dated on or after Feb 28th.

Thanks!

jwolf’s picture

Assigned: Unassigned » jwolf
jwolf’s picture

Status: Active » Fixed

This has been fixed with the relase of the 5.x.2.2 version.

jwolf’s picture

Status: Fixed » Closed (fixed)