I want my users to use a different "screen name" other than their account username.

Use case:
I do not want my forum users associated (display wise) with their account username/UID. So, if their account username is "Kevin" I don't want "Kevin" displayed as the author of topics or comments. This is a privacy concern on my site.

I believe this may require a custom module. Here is what I have done so far to get started. I created a text field in the profile called "Forum screen name" (field_forum_sn) for users to enter a unique forum screen name (I'm using project/field_validation to maintain uniqueness). Now I just need AF to use "field_forum_sn" as the author instead of User/username. And i don't want "field_forum_sn" to be a link.

I'm looking for feedback and maybe suggestions on a better approach.

thank you

Comments

Michelle’s picture

Status: Active » Fixed

Have you looked at https://www.drupal.org/project/realname ? If not, I'd start there and see if that will work for you.

If you do something custom, you can just hook into the template preprocess of either Author Pane or AF's default author area. This shouldn't require any changes to the module itself.

https://www.drupal.org/node/435866 can help you with the Author Pane template.

Hopefully that gets you pointed in the right direction. :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.