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 إعجابات

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

7 إعجابات

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)

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)

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 إعجابات

Got it, thanks for clarification on this.

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

إعجابَين (2)

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 إعجابات

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 إعجابات

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

4 إعجابات

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)

I see there’s a system user setting now.

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

إعجاب واحد (1)

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)

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)

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)

لا يزال هذا هو الحال، ولم يتم اختباره بعد. ومع ذلك، نحن نعمل على توفير صورة افتراضية أكثر ودية للمستخدم النظام بدلاً من :gear:

7 إعجابات

يبدو أن هذا السلوك لا يزال قائماً. لقد قمت بإعادة تسمية مستخدم النظام إلى “BetterTogether” وتغيير إعدادات المسؤول لمستخدم النظام لتتطابق مع اسم المستخدم الجديد، ولكن بين الحين والآخر يعود اسم مستخدم النظام إلى “system” دون سابق إنذار.

ما هي الآلية التي تعيد اسم المستخدم إلى “system”، وكيف يمكنني منع حدوث ذلك؟

شكراً لك.

3 إعجابات

مرحبًا. أنا جديد هنا :wave:

نظريًا، هل يمكنني الاكتفاء بإنشاء دالة مساعدة/طريقة في طبقة العرض لاستبدال كلمة “system” باسم مخصص يحدده المستخدم؟ وبالتالي، فإن اسم المستخدم المخصص للنظام سيؤثر فقط على طبقة العرض. قد يكون هذا حلاً شبه دائم.

في الوقت الحالي، أريد التركيز على بناء سمة مخصصة لـ Discourse، لذا لا أريد القلق كثيرًا بشأن الأمور المتعلقة بالخلفية.

أفضل أن تستخدم جميع الحسابات الرسمية في موقعي تنسيق <SiteName> <AccountName>، وكنت أتساءل عما إذا كانت هناك حلول تركز على الواجهة الأمامية لإعادة تسمية مستخدم “system” بدلاً من إنشاء حساب مستخدم آخر قد لا يقوم بأي شيء آخر.

مع ذلك، فإن الاضطرار إلى فحص متغيرات اسم المستخدم واحدة تلو الأخرى في كل مرة للبحث عن اسم مستخدم محدد يبدو أكثر تكلفة مقارنة بخيار إنشاء مستخدم آخر.

ما رأيكم؟