-
-
Notifications
You must be signed in to change notification settings - Fork 994
[ticket/17566] Add default avatars based on username using css & html #6883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Great, I thought this feature would be more complex to implement. |
that makes me think we should not allow usernames to start with a white space? |
Easier way: {{ USERNAME|striptags|trim(' -+_[]', 'left')|slice(0, 1)|upper }} |
39dfdf9 to
6856c09
Compare
PHPBB-17566
PHPBB-17566
viewtopic on desktop:

viewtopic mobile view:

pm view on desktop:

pm view on mobile:

PHPBB-17566
Checklist:
Tracker ticket:
https://tracker.phpbb.com/browse/PHPBB-17566