0

I need to display the same username for users of a specific role as comment author.

I have a Role 'Board Moderator'. When users with this role are commenting, a uniform name 'OneUserNameForAll' should be displayed as author of a comment.

How can I get this done?

7
  • Can you just change the author uid of that comment on submit if the user is in a certain role?
    – Kevin
    Commented Dec 27, 2018 at 16:04
  • It is not possible to have duplicate usernames, see this post
    – user78966
    Commented Dec 27, 2018 at 18:41
  • I don’t think the ask is for duplicate usernames. Hence the suggestion to just change the UID on comment submit.
    – Kevin
    Commented Dec 27, 2018 at 19:26
  • Changing the UID is a good idea. So far I was thinking of using the real name or another field from user profile.
    – deelite
    Commented Dec 28, 2018 at 11:04
  • How can I change the UID of an author on submit? I tried rules but there's no action to change the author.
    – deelite
    Commented Dec 28, 2018 at 11:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.