Email as Display Name

MIT license Latest Stable Version Total Downloads Donate

This extension offers two features:

  • Use user emails as their "display name" in Flarum.
    • Permission to see for own user
    • Permission to see for all users (be careful with this one)
  • Removes usernames from login and sign up forms. New users are assigned a random string as username.
    • Must be enabled in the settings modal

Installation

composer require clarkwinkelmann/flarum-ext-email-as-display-name

Support

This extension is under minimal maintenance.

It was developed for a client and released as open-source for the benefit of the community.
I might publish simple bugfixes or compatibility updates for free.

You can contact me to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Links

6 months later

claireclaire
tolgaaaltas

To clarify, you can request the extension from the FreeFlarum discussion, but note that this is not guaranteed to get it installed. As it stands at present though, you cannot use this extension on FreeFlarum.

14 days later

Perhaps this could be extended to allow other fields to be used as the display name, such as the users real name (this would require a new field in the db). Depending on the type of community keeping the users real name private is not important and it would be beneficial to be known to the other users. I don't know if the second feature to randomize usernames is mandatory, but I do not think it should be if it is.

    ctml this extension implements a very specific use-case I had for a client where Flarum is used as a framework for a management app and where usernames were completely not needed.

    This extension uses a Flarum feature known as "DisplayName" to change the visible name of a user. Any extension can use this feature. What you describe seems to be what the https://discuss.flarum.org/d/21238-nickname-changer extension does.

    8 months later
    2 months later

    Version 1.2.0

    • Added compatibility with Flarum 1.0+
    • Allowed to set "view own" permission to guests so suspended and non-activated users can be selected