MyBB Community Forums
[For 1.8] Lastposter avatar 3.0.x - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: [For 1.8] Lastposter avatar 3.0.x (/thread-189492.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33


RE: Lastposter avatar 3.0.x - kaos777 - 2020-09-23

I had the same issue with TopStats plugin and i had the solution (thanks to Shade) by doing the following:


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')));
PHP

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


The avatars do show in this part of the forum, but the wrong (2 letter avatar is showing, probably similar to the above issue) avatar is showing. Anyway, i will work with avatarep.js and hope i can figure it out Big Grin

Thanks!


RE: Lastposter avatar 3.0.x - Sectomy - 2020-11-03

hi,

i think ive read it in the Thread, but i couldnt find it Smile
can someone give me an hint how to deal with that:
   

btw. i dont have any Text in the Admin Panel....ive switched from german to english and back, the files are uploaded correctly, but theres no text at all :o
   


RE: Lastposter avatar 3.0.x - Whiteneo - 2020-11-03

(2020-11-03, 11:57 AM)Sectomy Wrote: hi,

i think ive read it in the Thread, but i couldnt find it Smile
can someone give me an hint how to deal with that:


btw. i dont have any Text in the Admin Panel....ive switched from german to english and back, the files are uploaded correctly, but theres no text at all :o

You need to add your own language translation files before install it.

Choose english dir from languages and change it to your own maybe german i am not sure but you will see the folder dirs inside languages into inc dir.

Then translate or use english only to upload that files into your language dir to use english and tgen install it and that will solve your issue.


RE: Lastposter avatar 3.0.x - Sectomy - 2020-11-05

Hi,
now it works Smile
but i have another little issue....
how "big" must the Avatar be, to match this yellow "button"...... and which Avatar size in the Settings is that ? Its on the on Click event
   


RE: Lastposter avatar 3.0.x - Whiteneo - 2020-11-07

By default sizes have to be taken to show it nicely.

But you need to customize templates into global templates called avatarep_

That are for customize popup in both cases, mouse over and click events and modal depends on display settings. Customize at your owns and you will have it covered.


RE: Lastposter avatar 3.0.x - Serious - 2020-11-27

After installing this plugin i get Message on top of every page that One or more warnings occurred. Please contact your administrator for assistance. 
And when i hold mouse over avatars - it flickers fast from arrow to hand and back


RE: Lastposter avatar 3.0.x - yusufdj - 2021-01-01

How do I show the avatar of the subject in the showthread?


RE: Lastposter avatar 3.0.x - Whiteneo - 2021-01-01

@Serious is not about this plugin for sure you have something wrong inside your boards.

@yusufdj i can't understand what you mean by subjects avatar. But all is inside the plugin to put it automatically inside templates. However you can go to github and read the plugin documentation to know about all templates and vars used by the plugin.


RE: Lastposter avatar 3.0.x - athenaxstories - 2021-01-05

How to change background for popup
Thanks


RE: Lastposter avatar 3.0.x - Whiteneo - 2021-01-11

It takes the original modals class.

But you can customize at your owns because already there are a custom template into global temates for both popup cases.

Only open avatarep_xxxxx templates and css to customize it.