Hey Guys,
a question is it possible that alle user have the same Avatar?
only Temporary for a Event maybe over the CSS/HTML Settings?
regards,
Imperator
The discussion revolves around temporarily setting the same avatar for all users on a Discourse forum. Imperator initially asked if this is possible, suggesting a temporary event and using CSS/HTML settings. dax proposed disabling all avatars and gravatars from the admin settings, but zogstrip noted that this method only disables uploaded avatars, and instead recommended using CSS to override all user avatars.
zogstrip provided an example CSS code to achieve this:
img.avatars {
content: url(https://global.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/120/47362_1.png);
}
TechnoBear confirmed that this method works, sharing an example of a site that changed all user avatars to clowns for April Fools. soraiden later asked if this is still the best option to override avatars, implying that it has been some time since the initial response.
Hey Guys,
a question is it possible that alle user have the same Avatar?
only Temporary for a Event maybe over the CSS/HTML Settings?
regards,
Imperator
I’m not sure, but I think you can disable all avatars and gravatars from your admin settings (search avatar). After that everyone should have the user icon ![]()
Probably this is the easy way to do what you want (but wait for others reply, I’m on a live forum and I can’t test those changes!)
Yes, CSS is the way to go if you want to override all user avatars.
img.avatars {
content: url(https://global.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/120/47362_1.png);
}
No, that’s not possible. You can only disable uploaded avatars via the site settings.
I can confirm it works, too. SitePoint changed all user avatars to clowns (which rotated on mouseover) for April Fools.
(It was surprisingly disconcerting, and more difficult to keep track of who was who than we might have imagined.)
我意识到已经过了一段时间了。这仍然是覆盖头像的最佳方案吗?