Full name at Sign Up went missing

Hi all!

Total discourse noob here :raising_hand_man:t3: - bear with me
I’m knee-deep in the process of setting up an instance for a small community of around 80 people. I was supposed to have this up and running come 2025 :sweat_smile:

We need people to Sign up with their full name. When I initially set Discourse up, I had Full name required and everything was working as expected.
Now the Sign up form does not show the field at all and I’m not sure at what point it went missing.
The only change I have made since is installed this plugin Majal / discourse-available-locales · GitLab to narrow down the languages available.
I have tried removing the plugin but the full name field was still missing.
I have Full name requirement set to “Required at signup”.
Adding a custom user field works as expected.

Any help would be appreciated :pray:t3:

5 Likes

Welcome :wave:

You can ensure this by visiting admin/logs/staff_action_logs. Maybe you missed some setting change that could cause your issue?

Also a bit off topic, but you may want have a look at Available Locales Plugin - #5 by angus since it seems to provide the same feature as your plugin, but is maintained (yours seems not).

3 Likes

Could you take a look at that setting again? Last week a new feature was added. The setting is now called full_name_requirement.

Also, check whether the enable_names site setting is enabled as well.

5 Likes

This staff action log seems super helpful. Hadn’t even noticed it before :man_facepalming:t3:
I’ll start looking through the logs more closely.

Also, I’ll def. switch to the maintained plugin thanks.

3 Likes

Thanks for the link.

I have triple-checked all settings but still cannot get the full name field to appear.

Full name requirement: required at signup
Enable names: checked

I am stumped.

EDIT:
I had a look around on github, wonder if this PR could have anything to do with my issue??

3 Likes

I updated my instance to check out the new setting.

I set the same values:
Full name requirement: required at signup
Enable names: checked

And the name field appears on the sign up page.

:thinking:

Btw, the placeholder is just “Name”, which isn’t clear enough to me (I’m aware there’s a setting to show a description below the field), so I changed it to “Full Name” in admin/customize/site_texts after doing this test.

3 Likes

Thanks for taking the time to help :pray:

Could the plugin I added have broken something?
After I installed it, I removed all languages exept 3.
That was why I installed it.

2 Likes

If:

  • Safe mode doesn’t change anything

  • You don’t see anything related in admin/logs/staff_action_logs

  • You don’t see anything related in non-default setting values

  • You don’t see anything in logs/

  • There’s no clue in JS console or in the network tabs of your browser’s dev tools

  • Don’t see anything in the HTML code (in case some CSS or browser extension would hide the field)

  • Updating Discourse (ideally, rebuilding from the command line) doesn’t fix it

  • If you don’t have any recent backup in which the field was visible

You can continue to search and wait for help, or maybe save some time and sweat by reinstalling Discourse. It’s not necessarily an overkill solution, especially if your installation is fresh.

But it’s also frustrating not understanding why this issue happens.

That said, to me, it looks like either a setting quirk, or a bug. :bug:

4 Likes

Neither Safe mode or staff_action_logs yielded any results or clues.

However :thinking:

First sign that something is fishy.
Screenshot from the Web developer tool in firefox :point_down:t3:

I obscured my domain. (and thensome cause i don’t know if it’s sensitive or not :man_shrugging:t3: :sweat_smile:)

These errors go waaaay over my understanding.
Maybe somebody knows what to make of these?

Well,
I made a backup diskimage on the server, right after I got Discourse installed, so I can always get a fresh start.

But as you pointed out:

It really is.
I could have reverted to the fresh image long ago, and saved alot of time, but somehow I always take the long way home :smile:

2 Likes

Do those errors happen only on the sign-up screen? Do they disappear in safe mode?
The URLs aren’t sensitive (the domain part is at your discretion though). :slight_smile:

1 Like

No. They appear on every page. Even after refresh of page.

Yes they do! :face_with_raised_eyebrow:

2 Likes

I can’t reproduce your issue either. Can you look at the site settings page and check the “only show overriden” checkbox in the top right to see if there are any other adjacent settings that might affect your instance?

3 Likes

I reverted the server to an early (post Discourse install time) using a snapshot. The problem was still present.
I’m starting fresh and this time around be more careful with all settings and plugins I install.

Thanks to all who took the time to help me with this :man_bowing:t3:

EDIT: Oh shoot, my bad.
It was unintentional - won’t happen again :sweat_smile:

5 Likes

We don’t do this mistake here

6 Likes

Were you able to fix the issue? I’m facing the same problem right after updating to Discourse 3.4.0.beta4-dev.

Both settings are correct:

Full name requirement: required at signup
Enable names: checked

But the full name field still doesn’t show up on the sign up screen like it did before…

5 Likes

Issue still alive and well.
I’ve been busy trying to pinpoint the cause.

Can you check something on your Discourse instance?
Does the name field re-appear to the signup form if you uncheck the “login required” box? :thinking:

7 Likes

I think you are correct. The login required setting is the game changer :clap:

Login required disabled, name field is shown as expected:



Login required enabled, name field is missing:

7 Likes

It does come back! Super weird. Why on Earth are the two related? So, yes, to confirm, I uncheck the “login required” box and the full name field does appear again. Any additional thoughts on how to fix without having to make the community’s content wide open to the public? Thanks!

2 Likes

Thank you all for cracking this mystery, here’s a PR to fix the bug:

9 Likes

Yes. The first thing I would do is remove is and see if it’s the problem. Safe mode works to disable it only if they did everything right.

Edit: Oops. Apologies if you did remove it and I didn’t understand

1 Like