أفاتار قابلة للاختيار

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 ستكون مثالية، ولكن… هل حدد أي شخص ما إذا كان هناك سبب يجعل Discourse يتطلب “الصور الرمزية القابلة للاختيار” أو الصور الرمزية التي يرفعها المستخدم، ولا يمكنه دعم كليهما؟

إعجابَين (2)

أقترح ذلك ببساطة بعدم تحديد المربع الخاص بـ “إجبار المستخدمين على استخدام الرموز التعبيرية من القائمة”.
يجب أن يترك ذلك الخيارين الآخرين متاحين للمستخدمين (الحروف أو رفع صورهم الخاصة).

إعجابَين (2)

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

أي أفكار؟ :slight_smile:

إعجابَين (2)

الفكرة الكاملة من الصور الرمزية القابلة للاختيار، كما فهمت، هي تقييد اختيار الصور الرمزية إلى قائمة آمنة ومحددة مسبقًا. السماح برفع الصور من قبل المستخدمين يتعارض مع هذا الهدف.

3 إعجابات

هذه إحدى حالات الاستخدام. أما الحالة الأخرى فهي رغبتك في دعم مجتمعك من خلال توفير خيارات واسعة، دون تقييد خياراتهم أو إلزامهم بالراحة في عملية الرفع.

أتفهم حالة الاستخدام التي تصفها، وأفرح لأن منصة Discourse تدعمها.

هذا لا يعني أنها لن تكون أكثر فائدة لو لم تتطلب تطبيقًا كليًا أو عدم تطبيقه على الإطلاق، وترك الخيار لمديري المجتمع.

5 إعجابات

أود أن يستخدم النظام صورة افتراضية، ولكن إذا لم تتوفر صورة نظام، يتم اختيار واحدة من القائمة.

لماذا؟ لأن بعض المستخدمين يُمنعون من رفع صور نظام، بينما يُسمح لآخرين بذلك.

التعيين العشوائي فكرة جيدة نوعًا ما، لكن ذلك سيتطلب استخدام صور رمزية محايدة من حيث الجنس أو العرق. لذلك، أفضل أن يختار المستخدمون بأنفسهم، مع الاحتفاء بالتنوع.

3 إعجابات

هل يمكن لمكون السمة توفير مثل هذه الصور؟

إعجابَين (2)

أحيانًا لا تتناسب مجموعات الصور الرمزية المحدودة جيدًا مع ميزة الرد في قائمة المنشورات في عرض الهاتف المحمول. مثال هنا على منتدى New World:

هذان الرسالةان لا تردان على نفس الشخص، لكن منتدى New World يحتوي على مجموعة صور رمزية محدودة نسبيًا (كما هو الحال غالبًا في المنتديات التي تسمح فقط بمجموعة محددة من الصور الرمزية القابلة للاستخدام، حسب تجربتي). المشكلة غير موجودة في عرض سطح المكتب لأن أسماء المستخدمين مكتوبة بجانب الصور الرمزية:

عند التصفح وقراءة هذا النوع من المواضيع من الهاتف المحمول، يصبح الأمر سريعًا ومربكًا.

هل توجد خطط من Discourse لتجاوز هذه المشكلة الطفيفة؟ حاليًا، لا أرى طريقة أخرى سوى أن تكون مديرًا وإضافة اسم المستخدم في عرض الهاتف المحمول أيضًا.

5 إعجابات

@here بعض الأخبار السارة لكم :wink:

10 إعجابات