Click anywhere to close this dialog

Farewell

Great is the art of beginning, but greater is the art of ending
Henry Wadsworth Longfellow

I announce that I cease all development and activity in the programming universe indefinitely. My career has reached the turning point I was not expecting for at least another year, leaving me highly off guard and without laid-out plans for this hobby's continuity. I have begun a 5-year residency program in Neurosurgery which is clearly not compatible, time-wise, with programming.

I gave in all my passion for developing, and you gave me back your loyalty and trust, even when I did not deserve that much. Now it is the time for payback. I release all my present and past work as Open Source software, in the hope some talented developer will continue maintaining and expanding my vision of a modern, sleek forum software. The intrinsic flexibility of MyBB is the true hidden gem of an otherwise outdated codebase; I do hope the project can continue and be updated complying to the latest coding standards.

I hereby thank Euan, kawaii, andrewjs18, Ben, Matt, Omar G., effone, Eric J., Devilshakerz, Wildcard, JordanMussi and all the other team members I have had the opportunity to work with when I was a MyBB team member. I thank Tomm M, my mentor, who inspired me to pick up coding with his piece-of-art plugins. And finally, I thank all of you MyBBoost subscribers who have helped me getting through my toughest university years economically.

Yours sincerely, Filippo

Letter Avatars 1.0.2

10 Oct 2018 Edited
#1
Letter Avatars lets you create Google-style default avatars using usernames' initial letters; give your board an elegant touch without being obtrusive or heavy on server's resources. Letter Avatars uses an external server – ui-avatars.com – to provide crisp dynamic images extracting user's username initials.



You have fine-grain control over the hue range, luminosity, font size, shape and letter case of avatars.

Avatars have an average load latency of 2 ms; you will not even notice them loading, and they will not block page rendering.

You decide how many letters you would like to display. 1 resembles Google the most, but 2 is usually the best choice for style and readability.

Whether if you choose dark or light luminosity backgrounds, the text's color will be automatically adjusted to ensure the best contrast possible.


Minimum requirements


MyBB 1.8.0
PHP 7.1

Installation


Upload Letter Avatars to your MyBB installation maintaining its folder structure integrity. Install and activate from the plugins manager.


This project is licensed under

MIT


A simple license with little to no use restrictions, except for author's crediting. Read the provided LICENSE file for more informations.

Permissions

Commercial use
Modification
Distribution
Private use
Limitations

Warranty
Liability
Conditions

License notice
Copyright notice
Filename Size Downloads
7.67 KB 346
envira, Entity, HMR And 9 others like this post
andrewjs18 12 Jan 2020
#21
@Shade, if you install the plugin with 2 letter avatars and then change it to 1, how do you actually get it to change the avatar to only show 1 letter? I tried purging my CDN and reloading the cache in the admin cp, just to see if it would help and it didn't.
andrewjs18 12 Jan 2020
#22
nevermind...I didn't see the stuff on the plugins page for letter avatars.
sappy#1570 26 May 2020
#23
the letter avatars are not working as of date

https://ui-avatars.com/api/?name=username&size=150&background=d775ff&color=444&length=1&font-size=0.4
the image shows errors is there a quick fix for it?
Shade 26 May 2020
#24
Font-size has become fontsize in a recent update of their APIs. Open inc/plugins/letteravatars.php, line 319:

$remoteFile .= '&font-size=' min(max(0.1, (float) $mybb->settings['letteravatars_fontsize']), 1); 
Change font-size to fontsize. Alternatively, you can use the standard font-size of 0.5 in Letter Avatars' settings.
Hüseyin Filiz 26 May 2020
#25
@Shade thank for fast response. Do I need to update old avatars? I applied the change.

I think it applies only to new members. Do I need to remove letter avatars of old members?
Shade 26 May 2020
#26
Yes, you will need to remove all avatars and reapply. This can be done in two clicks by using the buttons in the plugin's row.
sappy#1570 26 May 2020
#27
Yes, you will need to remove all avatars and reapply. This can be done in two clicks by using the buttons in the plugin's row.
Shade (26 May 2020)
I did that now, the same result unfortunately. if you click the API image above it shows error.
Shade 26 May 2020
#28
Did you apply the changes mentioned above?
sappy#1570 26 May 2020
#29
Font-size has become fontsize in a recent update of their APIs. Open inc/plugins/letteravatars.php, line 319:

$remoteFile .= '&font-size=' min(max(0.1, (float) $mybb->settings['letteravatars_fontsize']), 1); 
Change font-size to fontsize. Alternatively, you can use the standard font-size of 0.5 in Letter Avatars' settings.
Shade (26 May 2020)
https://ui-avatars.com/api/?name=username&size=150&background=8971f2&color=fff&length=1
without font sizes still shows image error
Shade 26 May 2020
#30
I double checked, and it seems like their servers are changing at the moment. We should wait and see how the API will change as it looks like the endpoint is different from region to region.
sappy#1570 likes this post