Hello,

When a user adds a comment to an article on my site - since I have anonymous commenting available, the username associated with the comment always says ANONYMOUS. How can I change this setting so that the user gets an extra field to add their own name for that comment? Thanks!

Comments

gpk’s picture

Go to admin -> content management -> content types then click the content type in question, at the bottom you have the options you need (comment settings).

gpk
----
www.alexoria.co.uk

sleddoggin’s picture

Thank you - that worked perfectly. My next question is whether or not you can enable the posting of Stories/Pages with an author that is NOT a user in the drupal database. Say, someone sends me an article and I would like to post it - but would like to author name to display as the person's name, instead of ADMIN or ANONYMOUS. As of now in my installation, you can only select either ADMIN, or any of the user names in the database. Any thoughts? Thanks!

gpk’s picture

If you look in the {node} table you will see that the author is stored as the uid of the user who created the post.

What you might be able to do is add a separate field, using CCK, to store the author (if not the user creating the post). Then in a node template you could print this info if not blank, otherwise just print the actual username as per the uid/username in the database {users} table.

gpk
----
www.alexoria.co.uk

slee713’s picture

So helpful! Thanks