Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Letter Avatars 1.0.2
#31
1 letter avatar not working?anyone tried
Reply
#32
If you want to see changes to existing users after you change the plugin's settings, you will have to reassign the avatars through the Randomize Letter Avatars button in the Plugins listing page.
[Image: fSGNVQj.png]
Reply
#33
(2018-10-14, 05:47 AM)Shade Wrote: Thanks for trying it out. The first letters of all the avatars in that screenshot are uppercase, so they will display as so. There is no way to force them to be lowercase unfortunately, or at least, not in this version.

Oh, I see, It really wasn't a big deal, I just thought it might be a bug.

Great plugin. I will be using this on my forum as soon as I get time to get it installed!

Thank you Smile
[retired]
Reply
#34
http://prntscr.com/l75yh5

Is that a bug or what?
Reply
#35
(2018-10-17, 03:13 PM)Mattaffix Wrote: http://prntscr.com/l75yh5

Is that a bug or what?

[Image: transparent-bugs-animated-5.gif]

is it ?
Huh
Reply
#36
(2018-10-18, 03:19 AM)v_2 Wrote:
(2018-10-17, 03:13 PM)Mattaffix Wrote: http://prntscr.com/l75yh5

Is that a bug or what?

[Image: transparent-bugs-animated-5.gif]

is it ?

Tsk, tsk...

Behave v_2!  Angel
I'm Serpius and You're Not    ¯\_(ツ)_/¯
Deaf Golf
Reply
#37
Which version are you using? The last one should have fixed that issue. Try to click on "Randomize Letter Avatars" in the plugins page to reassign random avatars.
[Image: fSGNVQj.png]
Reply
#38
(2018-10-18, 11:17 AM)Shade Wrote: Which version are you using? The last one should have fixed that issue. Try to click on "Randomize Letter Avatars" in the plugins page to reassign random avatars.

It is fixed now, thank you!
Reply
#39
Hi Shade,

Great plugin! 

I'm running into an issue where on "Top Stats" plugin latest threads, the Avatar does not follow the settings rules. Within the forum, it does show rounded and 1 letter, but in the "Top Stats" it shows 2 letters and not rounded. 

Within the posts: 
https://ui-avatars.com/api/?name=TiZi-iz...unded=true


Small avatar within the "Top Stats"
https://ui-avatars.com/api/?name=TiZi-iz...unded=true

Any idea why this is happening or if it's possible to fix it so i can show the rounded (1 letter) avatar on the Top Stats as well? Not sure if this is a Tops stats issue or a Letter Avatar issue. 

Hope you can help.
Reply
#40
TopStats applies an unnecessary htmlspecialchars_uni() to all avatar urls before they are formatted by format_avatar(). Long story short, & becomes & and this breaks ui-avatars.com image processing.

To solve, open inc/plugins/topStats.php and get rid of all htmlspecialchars_uni() applied to avatar urls. You can easily spot them by looking for the string "format_avatar(htmlspecialchars_uni(". Eg.:

$useravatar = format_avatar(htmlspecialchars_uni($row['avatar']), $row['avatardimensions'], my_strtolower($this->getConfig('AvatarWidth')));

Becomes

$useravatar = format_avatar($row['avatar'], $row['avatardimensions'], my_strtolower($this->getConfig('AvatarWidth')));
[Image: fSGNVQj.png]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)