Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I have an feature request for this software. Id would really nice when it is possible to let the user choose with a checkbox that he want to user the realname or not.
Is there an easy way to do this?
Thanks in advanced
Frank
Comments
Comment #1
hass CreditAttribution: hass commentedThis may be a useful privacy feature. Should be possible from my point of view.
Comment #2
zgurb CreditAttribution: zgurb commentedI was looking for same feature for a while and I found a dirty method finally that could be useful. (with rules module)
1. First, create two text fields named as field_real-name (required) and field_real-name-hidden (hidden from users)
2. Than create a third list/check-box field named as field_hide-real-name (required) that ask users "Do you want to hide your real name? -Yes -No"
3. Set Real Name pattern as field_real-name-hidden
4. Go rules and create a rule like this:
Events - Before saving a user account, after updating a user account
Conditions - Data comprasion -> Parameter: Data to compare: [account:field-hide-real-name], Data value: No
Action - Set a data value -> Parameter: Data: [account:field-real-name-hidden], Value: [account:field-real-name]
5. Create cross rules "After updating an existing user account" event If user decides to hide/unhide his/her real name.