Letter Avatars 1.0.2

10 Oct 2018 Edited
#1

You are viewing page #3

Show original post
Filename Size Downloads
7.67 KB 203
codedude, honger, Entity And 7 others like this post
andrewjs18 12 Jan
#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
#22
nevermind...I didn't see the stuff on the plugins page for letter avatars.
sappy#1570 26 May
#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
#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.
@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
#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
#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)
I did that now, the same result unfortunately. if you click the API image above it shows error.
Shade 26 May
#28
Did you apply the changes mentioned above?
sappy#1570 26 May
#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)
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
#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