Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter 001122334455

    (@dkanika)

    Also one more issue – the plugin by default works (i.e. changing the display name to FN + LN) BUT only if I change something in the profile + saved it.

    By default, the display name was the username.

    Hello,

    This will work out of the box for new users, but for existing members you will need to “Update Existing Users”. This can be done under:

    Settings > Force First Last > (button).Update Existing Users

    This should work to update the names of your users.

    Kim W

    Thread Starter 001122334455

    (@dkanika)

    Hello,
    So there were 2 issues:
    1) FN + Initial of LN –> I solved this via a new php snippet so now it displays as I wanted

    2) However, the display name of new users is still the username by default. I need to open the user -> click save, and only then it gets updated to the display name set by the plugin.

    I tried to change the priority

    add_action( ‘user_register’, ‘ffl_fix_user_display_name’, 20 );

    to 100, but no luck.

    Any thoughts?

    Thanks

    Thread Starter 001122334455

    (@dkanika)

    Seems like I was able to fix this with chatgpt… so seems like it’s solved. I’ll circle back if something related to this comes up

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display name to FN + LN initial + dot’ is closed to new replies.