By chris_huh on
Is there a way for admins (or logged in users) to view the email address a visitor left while posting a comment. I can't see it listed on the comments page (admin/content/comment).
Is there a way for admins (or logged in users) to view the email address a visitor left while posting a comment. I can't see it listed on the comments page (admin/content/comment).
Comments
you'll want to start by
you'll want to start by working with your comment.tpl.php file (i dont recall if thats part of the default theme or not)... inside that file, you can displays the various $user attributes of the commenter...
hope that helps get you started... :)
Allowing Admins to See Commenter E-mail Address
Hi,
I have the same problem. The e-mail address and homepage is requested by default but the e-mail address is nowhere to be found after submission. Any help with this would be greatly appreciated. I can't seem to figure this one out...
_
Its stored in the comments table-- the easiest way to get at it is to create a comments view that includes those fields. It's also part of the $comment object so you can print it out in a custom comment.tpl.php if you want.
@WorldFallz or anyone,I
@WorldFallz or anyone,
I think this is a view
admin/content/comment
It shows the fields
Subject
Author
Posted in (node)
Time
ie the one that shows by clicking 'Content Management/Comments' in the Admin menu.
Is it possible to edit this view to add the email field? Looking at my list of views in admin/build/views I can't see this view in the list.
Thanks
_
it's not listed at admin/build/views because it's actually not a view-- it's a menu call back provided by core.
Ok thanks - I could create my
Ok thanks - I could create my own view but I might lose the 'approval queue' tab and the admin/content/comment admin menu link. I know it is generally not good to hack core but would it be easy for me to just add the email field to the relevant code?
Thank you