All notification emails I receive contains "Anonymous" made a comment, even if the user filled in the form with a different name.

CommentFileSizeAuthor
#1 833454.patch361 bytescodeforkjeff
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

codeforkjeff’s picture

FileSize
361 bytes

In D7 core, the comment module always populates [comment:name] with "Anonymous" if user isn't registered.

There is a "[comment:author]" token that uses the name value instead. Attached is a patch to change the default template to use this.

For existing installations, go to Configuration screen for comment notify, and manually change "[comment:name]" to "[comment:author]"

greggles’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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