I have just begun operating a small discourse for real life friends and I wanted to enforce a Real Name policy.
I’ve required full name on sign up and an approval only policy, but after sign up users can edit their Full Name. I want to disable this so that an approved user’s full name is essentially locked after sign-up, but an admin can still edit the field.
I was looking at where this check happens and it seems there’s no logic that will let me enforce this policy exactly:
Username and e-mail have settings that relate to whether a user can self-edit them, but there are no such settings for full names. Is this true? Is there some work around?
Yes, I changed the preferences template, so the little pencil from avatar on preferences page is a link that send people to the avatar change page in another system. Our avatars were handled outside Discourse and integrated with the setting default avatars.
Interesting. I have a similar requirement for a Membership site.
In my case we will carry over Real Names from a separate site with registration using SSO. We will allow users to adopt usernames for taking part in the Discourse conversation, but we want them to always be linked to a Real Name on their profile, and so do not want them to be able to change it once it has been populated during registration.
He estado buscando durante 20 minutos y no consigo encontrar la plantilla de preferencias. He encontrado fragmentos de ella, pero no la plantilla en sí. ¿Alguien podría indicarme dónde está?
Gracias, pero creo que @Falco podría estar refiriéndose a Administración > Personalizar > Texto. Por ejemplo, puedo encontrar este fragmento:
js.user.change_avatar.title
y esperaba que también existiera una plantilla de nivel superior que definiera toda la página de preferencias del usuario y contuviera ese fragmento. Al eliminar la sección de avatar de esa plantilla, se podría evitar que los usuarios cambien su avatar. (O su nombre completo, que es lo que quiero hacer.)
Sin embargo, todavía no puedo encontrar la plantilla que define la página de preferencias de los usuarios.