After i override the theme_username in the way so it is change the shown username to firstname + lastname from prifile i get an issue with adding a comment (for authorized user), is showed the message that the username is wrong.

After reading of comment.module code it becomes understood, that the comment.module using overrided theme_username() to put username to comment form as default value and in the same time, while validating it searching that value (returned by heme_username()) in db.

Comments

vlkff’s picture

Here is a simple patch what replaces theme_username by theme_comment_username.

vlkff’s picture

Version: 6.20 » 6.22
fuzzy76’s picture

+1

skoehn180’s picture

Can you tell me how this patch works?

I have the same problem with my custom theme, but I have not worked with patches before and am not sure how to implement.

Thanks!

skoehn180’s picture

Status: Active » Closed (works as designed)
fuzzy76’s picture

Status: Closed (works as designed) » Active

This is still an active bug, isn't it?

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.