選択可能なアバター

Avatars are a big part of anyone’s online identity. Discourse already supports 3 options when it comes to avatars: based on the first letter of your username, your Gravatar or any images you want to upload.

image

But what if you want to provide your users with a limited set of avatars to choose from? It’s now possible thanks to the “selectable avatars” feature!

As an admin, if you click Edit next to the selectable avatars site setting, a modal will pop up and ask you to start uploading avatars.

image

You can either drag & drop up to 10 images at a time or click Upload Picture to browse your computer to select the images you want to upload.

If you want to remove some of the uploaded images, you just need to click on it.

Note: Make sure you click :white_check_mark: after closing the modal to actually save the list.

After enabling the selectable avatars enabled site setting, two things will happen

  • Newly created user will automatically be affected a random avatar from the list.
  • Users will be presented with the same list to choose from whenever they want to change their avatar.

Note: existing users will keep their current avatar until they change it.

Enjoy :heart_eyes_cat:

No cats were armed in the making of this topic.

「いいね!」 58

Since it’s called “selectable avatars”, my expectation would be that they’re selectable but not enforced… Would it be a big change to make these avatars selectable without changing anything else?

Oh, and the logical next step would obviously be to make it possible to include avatar-sets in themes… Or is this already possible?

「いいね!」 11

I know that my home site would really get some usage out of this provided it isn’t enforced that you must have one of these avatars, and that it was just another option alongside the letter/gravatar/custom image. Is that how this works, and if not, could it be an option?

「いいね!」 7

I think the point of the feature is to tightly control the available avatars for branding / theming / safety purposes.

「いいね!」 5

We’re getting reports from users that they are able to use this tool to select avatars for other members, including site administrators…

I haven’t confirmed whether they are able to actually do it (none have been game enough to click the save changes button yet), but they can definitely see the “Change your profile picture” popup if they click on another user’s profile image.

「いいね!」 7

That bug was fixed and will be deployed tomorrow to all our customers.

「いいね!」 12

I would love to use this feature too, but can’t delete profile pics for those who have already uploaded one.

Tight control is not the only valid use case. My site encourages photos but in the absence of photos, we would at least like to be able to visually differentiate users at a glance. The colored letters don’t do that very well; avatars from a list would do it much better.

「いいね!」 5

Agreed with @markschmucker, such tight control of avatars is not the value I was looking for when I went searching for this feature.

Really, I want all of my users just to start out with one of the set avatars I have made instead of off-brand letters, but of course after that I want them to have the freedom to customize their profiles as they see fit.

「いいね!」 13

I hear you :wink: It’s still on my list.

「いいね!」 12

Hello @zogstrip, et al! Today, this feature is good, but with one tweak, it would be perfect!

tl;dr - There seems to be a theme in this thread:

Admins want to be able to fill a pool or list of branded avatars. ( ✓possible ) Admins also want to automatically, and randomly assign a “selectable avatar” to each new user. ( ✓possible ) In conjunction with the last two points, Admins want to allow users to upload their own custom profile picture or avatar if users do not want to use one of the default avatars from the “selectable avatars” pool/list. ( :disappointed_face: not possible, am I right? ) - basically allowing the “selectable avatars” to act the same way the “default avatars” setting currently works.

––––––––––––––––––––––––––––––––––––

Currently, there are some settings that seem to semantically conflict with one another:

  • allow uploaded avatars ❑ Allow users to upload custom profile pictures.
  • selectable avatars enabled ❑ Force users to choose an avatar from the list.

I want to be able to enable “selectable avatars” without forcing users to only use pics from this library. This is why I have the other option selected to “Allow users to upload custom profile pictures.” But that option doesn’t work when the “Force users to choose an avatar from the list.” option selected.

Practical Use Case

When new users join a community, they often do not customize their profile picture or avatar. I’ve developed several communities and evaluated hundreds of sample online communities and have found this to generally be consistent across communities. Getting someone to add a profile pic or avatar is a pretty significant step on the commitment curve. They usually do this after they’ve established their identity and trust with a new community, and plan on sticking around and participating more than just a user who creates an account so they can ask one question, and will probably never return.

So when new members participate in forums, and they all have the same generic profile images, it looks like the same person is responding. Or perhaps it feels like the members are not too engaged. Discourse addresses this on a small level, by changing the background color and the users first initial. But if each new person is auto (randomly) assigned a profile image from a preset pool of images, then when those folks post, the community looks much more friendly and welcoming, and filled with more engaged users.

Here's an example of a good community thread. Some registered members plus some members that never took the time to upload an avatar (illustrated by red arrow)

Here's an example of what we don't want... Everyone has the same avatar.

––––––––––––––––––––––––––––––––––––

I’m not sure about the best way to fix this in the admin settings ¯\ _ (ツ)_/¯

Suggested feature update

One suggestion would be to add another option beneath the “default avatars” option and call it “selectable avatars as default” (or something similar). Then have a description like:
❑ Assign a random avatar from the “selectable avatars” list as a default for new users, until user manually changes avatar."

Based on the logic of the current “default avatars” setting, if you added a setting like that suggestion :up_arrow:︎ You could then change the frontend UI to be something like this…

Note: I added the section beneath the “Custom Picture” as if that were the list of “selectable avatars” uploaded by the admin. The avatar highlighted in grey would be the avatar the system selected. (if the “custom picture” option was toggled then the highlight would probably go away. Then when the “system assigned profile pic” is toggled, the associated avatar from the “selectable avatars library” would be highlighted.

By default, the top option (of the three) would be selected… but the user would still have the other options to use a gravatar or upload a custom picture. If they like the list of “selectable avatars” they could choose a different one that they prefer.

I’m sure there’s a better way to accomplish this than what I’m suggesting but hopefully, this illustrates what I with Discourse would allow with the “selectable avatars” and I think others are asking for this same type of functionality.

「いいね!」 8

One thing I just discovered is that there is a workaround that will allow you to upload a predefined list of “selectable avatars” and set these as the “default avatars,” while also allowing users to change their avatar to a custom profile picture. It appears the following folks were asking for this: @Elliott_Mozley, @D_Friday, @markschmucker, and @orangeandblack5
––––––––––––––––––––––––––––––––––––

Set default avatars for new users, and allow custom avatar/profile pictures:

  1. Visit admin settings and search for “avatar
  2. Find the selectable avatars option and click Edit list
  3. Click the Upload button and select all the files to be used as “default avatars” for new users
  4. Right-click on each of the newly uploaded avatars and select “Copy Image Address
  5. Paste the “image address” for each of the avatars you just uploaded. (be sure to hit ✓ when finished)

Voila! Your list of “selectable avatars” will now be automagically assigned, at random, to new users. They will then be able to go into their account to upload their own, custom profile picture!

Thanks, Discourse team, for making this possible!

「いいね!」 16

「選択可能なアバター」のリストからユーザーが選べるように設定することは、カスタムアバターのアップロード機能を無効にすることなく可能でしょうか?

@jord8on さんが提案された解決策や UI は完璧ですが、Discourse が「選択可能なアバター」とユーザーがアップロードしたアバターのどちらか一方のみを必須とし、両方を同時にサポートできない理由があるのか、確認された方はいますか?

「いいね!」 2

「ユーザーにリストからのアバター使用を強制する」チェックボックスを単に外せばよいでしょう。
そうすれば、ユーザーは残りの 2 つのオプション(文字または自身の写真のアップロード)を利用できます。

「いいね!」 2

そう思うかもしれませんが、「ユーザーにリストからアバターを使用することを強制する」のチェックを外すと、ユーザーはもはやアバターリストにアクセスできなくなります。アバターを「必須」ではなく「利用可能」にする方法を探っています。

何かアイデアはありますか?:slight_smile:

「いいね!」 2

私の理解では、選択可能なアバターの主な目的は、アバターの選択を安全で事前に決定されたリストに限定することです。ユーザーによるアップロードを許可することは、その目的に反します。

「いいね!」 3

それは一つのユースケースです。もう一つは、コミュニティの選択肢を多く保ちつつ、オプションを制限したり、アップロードに慣れていることを求めたりしないようにしたいというケースです。

あなたが説明しているユースケースは理解できますし、Discourse がそれをサポートしていることを嬉しく思います。

ただし、すべてかゼロかの実装を強制せず、コミュニティ管理者に選択の余地を残せば、さらに役立つものになるかもしれません。

「いいね!」 5

システム写真が利用可能な場合はそれを使用し、利用できない場合はリストから選択できるようにしたいと考えています。

なぜなら、システム写真のアップロードがブロックされているユーザーもいれば、許可されているユーザーもいるからです。

ランダムに割り当てるのも一案ですが、その場合は性別や人種を特定しないアバターを使用する必要があります。そのため、ユーザーに選択してもらい、多様性を祝う方を選んだほうがよいと思います。

「いいね!」 3

テーマコンポーネントは、そのような画像を提供できるでしょうか?

「いいね!」 2

アバターセットが限られている場合、モバイルビューの投稿リストにある「返信」機能と相性が悪いことがあります。New World フォーラムの例はこちらです:

これらの 2 つのメッセージは異なる人物への返信ではありませんが、New World フォーラムでは利用可能なアバターセットがかなり限られています(私が経験した限り、使用可能なアバターセットのみを許可しているフォーラムではよくあることです)。この問題は、ユーザー名がアバターの隣に表示されるデスクトップビューでは発生しません:

モバイルからこのようなトピックを閲覧・読んでいると、すぐに混乱してしまいます。

Discourse 側でこのわずかな問題を回避する計画はありますか?現時点では、管理者としてモバイルビューにもユーザー名を追加する以外に解決策が見当たりません。

「いいね!」 5

@here 皆さんにとって良いニュースです :wink:

「いいね!」 10