Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
comment.module
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
9 Jul 2009 at 17:51 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidPatches for D7 and D6 for review.
Comment #2
dave reidThe original issue from Gravatar is #512978: Update logic if anonymous comments' e-mail is not available. This can also be used in conjunction with #381802: Have theme_username() show hostname for anonymous users if available if we want to display the hostname for anonymous comments on the comment admin interface.
Revised patches for D7 and D6 with the hostname addition to comment.admin.inc.
Comment #3
akahn commentedPatch looks clean. Tested on D7 and comments work as expected. Perhaps you should also add hostname as a variable to be available in comment.tpl.php by modifying template_preprocess_comment: http://api.drupal.org/api/function/template_preprocess_comment/7.
Comment #4
dave reidRevised patches for D7 and D6 with akahn's suggestion.
Comment #5
akahn commentedThanks for adding that. This looks good and works as expected on D7.
My only concern is that your modifications to comment.admin.inc don't belong here, but rather in #381802: Have theme_username() show hostname for anonymous users if available. This would be a better approach to what are working to solve in that issue.
Comment #7
dave reidComment #9
dave reidThis has actually been fixed with the comment API revamp in D7. Still needs to be fixed for D6.
Comment #10
theorichel commentedWell. I have just recently upgraded to D6 and really really hope that this patch will be fixed for D6.
Many thanks
Comment #11
mcurry commentedWhat work needs to be done to get this in D6?