Here's another one you might to take a look at.

The comment section doesn't recognize user names, instead if says all comments were left by Anonymous.

This is trivial to fix. I'm not a Drupal pro so I don't know if my fix is done 'by the book' but seems to Work For Me (tm). There's at least one caveat lurking, though: my fix doesn't reveal if the comment was left by an anonymous user who just chose some name for him/herself, or if the comment was left by an actual registered user account.

---
function admire_grunge_comment_submitted($comment) {
return t('@day @datetime by !username',
array(
- '!username' => theme('username', $node),
+ '!username' => $comment->name,
---

Comments

thejaba’s picture

Adding the support for identifying anonymous/actually registered users was a snap, too :-)

---
function admire_grunge_comment_submitted($comment) {
+ if ($comment->pid == "0") {
+ $comment->name=$comment->name." (not verified)";
+ }
return t('@day @datetime by !username',
array(
- '!username' => theme('username', $node),
+ '!username' => $comment->name,

sakib000’s picture

Status: Active » Fixed

fixed in new version.

Thanks to thjaba

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.