@
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.
nevermind...I didn't see the stuff on the plugins page for letter avatars.
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?
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?
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.
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.
I did that now, the same result unfortunately. if you click the API image above it shows error.
Did you apply the changes mentioned above?
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.
https://ui-avatars.com/api/?name=username&size=150&background=8971f2&color=fff&length=1
without font sizes still shows image error
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.