The discussion explores how to enforce username and avatar policies to prevent users from sharing private information. abc123 seeks a way to limit usernames and avatars to generated combinations (e.g., animals, fruits, colors) while avoiding real names and personal photos. pfaffman suggests using an external authentication system with DiscourseConnect for SSO, and notes that a custom plugin could enforce username rules, possibly using the built-in username suggester. bloomexperiment recommends the selectable avatars feature and proposes a two-word username system (e.g., adjective + noun) that could be customizable via admin settings, with randomization options. They also mention that such features are common in apps like Auxy and coding platforms for kids. abc123 asks if usernames can match existing website logins, to which bloomexperiment replies that DiscourseConnect can enable this integration.
We would like to keep users from sharing any private information. How can we limit users to specific usernames and avatars, or create an avatar & username using a generation tool with select words (ex: animals, fruits, colors, etc.) that may be used as usernames?
Basically, we want to stop users from being able to upload photos of themselves & stop them from using their real name as a username… But, we’d still like to make it semi-personalized & fun. Any ideas or advice would be much appreciated - Thanks!
I guess you could make a plugin that somehow limited what usernames could require certain things only. It’s hard to imagine how it wouldn’t be frustrating, like a “here are our bizarre password rules, good luck following them” system. But maybe if it was just fruits and numbers it’d be OK? Maybe the plugin could use the suggester to suggest names that it liked somehow. Sounds like a couple days work after you’d figured out the code to implement it.
edit: Well, maybe it’s easier than I thought. It looks like the username suggester has stuff built in to make that somewhat easier, though I can’t quite make sense of it in 4 minutes.
For the limited selection of avatars, there is the selectable avatars feature
With the generated usernames, yeah that would require a custom plugin, I think.
I guess it’s not so uncommon e.g. a music app, Auxy, has generated names for projects
A coding app for kids that I used has this feature, as well, for usernames (they also had an adjective followed by a noun, but was much broader than just animals)
In terms of scope, maybe it could start with a two word system. And you could add separate vocabulary sets for the first word and second word, through admin settings (so that the lists can be updated and edited more easily).
Maybe users could click to randomise with a new combo each time, not sure how you might want it from there
(If you would like for someone to build a custom plug-in, usually jobs like that can be posted in the Marketplace if you have a budget)