Thread Rating:
  • 3 Vote(s) - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Lastposter avatar 3.0.x
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!
Reply
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
   
Reply
(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.
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply
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
   
Reply
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.
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply
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
Reply
How do I show the avatar of the subject in the showthread?
Reply
@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.
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply
How to change background for popup
Thanks


Attached Files Thumbnail(s)
   
Reply
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.
The only infinite thing is the universe and human stupidity, but the universe is not for sure

Plugins 1.6.x

Plugins 1.8.x

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)