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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | comment-replace-theme-username-by-theme-comment-username-1181484-1.patch | 2.38 KB | vlkff |
Comments
Comment #1
vlkff commentedHere is a simple patch what replaces theme_username by theme_comment_username.
Comment #2
vlkff commentedComment #3
fuzzy76 commented+1
Comment #4
skoehn180 commentedCan 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!
Comment #5
skoehn180 commentedComment #6
fuzzy76 commentedThis is still an active bug, isn't it?