Can I rename "system" user permanently?

I’ve impersonated the system user to change the name and avatar to make it look way cooler and personalized for my forum. However every time I update the forum it renames the system user back to “system”. It’s not so bad to go in and rename it back, but I’m hoping there is a better way to do this. I guess I could make another user and re-author the system posts, but doing it the way I did just seemed to be the most intuitive.

6 curtidas

I believe that this should be(come) an officially supported action (renaming and re-avataring the system user).

7 curtidas

That would be great. There is also the “site contact username” setting that I change to the same name, although this does stay set so I don’t have to worry about it. I only mention it because I’m pretty sure it was set to “system” when I started the forum, and might be a good part of the potential future system renaming feature.

1 curtida

I was just looking to do the same on my forum. So, what is the best way to do this as of now?

“rename system username and change avatar.”

Changing the system user name should work OK in theory because we refer to the system user by ID and not name in the code … can you confirm @sam?

Do not change the system username, it is the unique identifier for the account.

In any case changing the system user avatar is definitely 100% safe.

1 curtida

no guarantees here, code would need to be reviewed to confirm. we kind of expect the username to be system.

Except for that

  1. Avatar should be changeable eg: Profile - system - Discourse Meta
  2. Long name should be changeable

If either of these are reverted after seeding they should be raised separately as a bug.

3 curtidas

Got it, thanks for clarification on this.

In Russian forum system doesn’t make any sense though.

2 curtidas

we only support alpha in username handles so a much huger and more complex change would be needed.

Not necessarily, the name of the system user could be an admin site setting.

4 curtidas

I know this is an old request but just +1 on this one. Making it an admin configurable setting sounds like an amazing idea.

7 curtidas

Is there any update on whether the system username can be renamed, @codinghorror ?

4 curtidas

This would be appreciated. In our goat farmers community named “Козовод” (means one who farms goats) - I’d configure the system to use exactly that name with Russian letters.

Well, even if still limited to username-allowed symbols, being able to make this change in any way would be very helpful.

1 curtida

I see there’s a system user setting now.

Is it okay to rename the system user by now, or still a problem?

1 curtida

The is a site setting site contact username that allows the automatic messages to come from another user.

Renaming the system user isn’t configurable yet, but changing the automatic messages to an active admin of the site solves that need.

2 curtidas

Oi Rafael,

Right, that’s the setting I was referring to above.

It actually is configurable. An administrator can easily rename the system user via the configuration interface. The question is whether there is internal code that still refers to that user by id as indicated earlier in this thread, or if this is now fixed and it’s fine to rename that user.

2 curtidas

At our forum we’re trying to build personas around the system and bot user which are in line with the theme of the forum. It works very well to rename these users and change their profile but I wonder if there’s any way that I can make these changes persistent when updating the forum?

2 curtidas

Ainda é assim, não foi testado. No entanto, estamos buscando um avatar padrão mais amigável para o sistema em vez de :gear:

7 curtidas

Parece que esse comportamento ainda ocorre. Renomeei o usuário do sistema para “BetterTogether” e atualizei a configuração de administrador para o usuário do sistema para corresponder ao novo nome de usuário, mas de vez em quando o nome de usuário do sistema volta a ser “system” sem aviso prévio.

Qual mecanismo está revertendo o nome de usuário para “system” e como posso impedir que isso aconteça?

Obrigado.

3 curtidas

Olá. Sou novo por aqui :wave:

Teoricamente, consigo me safar apenas criando uma função ou método auxiliar na camada de visualização para substituir “system” por um nome definido pelo usuário? Assim, o nome de usuário personalizado do sistema afetaria apenas a camada de visualização. Pode ser uma solução semipermanente.

No momento, quero focar meu tempo na criação de um tema personalizado para o Discourse, então não quero me preocupar muito com coisas do backend.

Preferiria que todas as contas oficiais no meu site usassem o formato <SiteName> <AccountName>, e fiquei me perguntando se existem soluções focadas no frontend para renomear o usuário “system” em vez de ter que criar outra conta de usuário que talvez não faça nada além disso.

Dito isso, ter que verificar todas as variáveis de nome de usuário, uma por uma, toda vez, procurando por um nome específico parece mais custoso do que a opção de criar outro usuário.

O que vocês acham?