Score:1

Comments on user profile not working

mp flag

I want to add comments to user profiles. I added the comments in user profile under Configuration > People > Account settings, but when I add the field, the option to select the comment type is showing empty. What is the correct way to allow other users to give comments on user profiles?

Score:5
cn flag

Each Comment Type can only be applied to one type of entity (nodes (content), users, and taxonomy terms are examples of different types of entities).

By default, Drupal core only provides a comment type for nodes.

So, to add comments on users, you will need to create a user comment type.

  1. Go to /admin/structure/comment.
  2. Select Add comment type.
  3. Add a Label such as User comments.
  4. For Target entity type, select Users.
  5. For the comments field at /admin/config/people/accounts/fields, select your new user comment type.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.