MyBB Community Forums

Full Version: Lastposter avatar 3.0.x
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Currently facing this issue, adds a hash at before and after the username, it also shows the user ID, this happens everywhere on the board.
[Image: TOk3tFMbTbe2Wt2KBpflww.png]
Did you have some other plugin ?

I mean last poster avatar brings to you avatars and formated names with an aio.

So if you have another plugin you have to disable to not face that issue or disable formatted names into admincp of my plugin.

I have seen this before due style usernames plugin, so you have double instances to show formatted names, due that i have added an option to disable formatted names on my plugin and use the way you want for it.

See yah !!!
Ah that was the issue, thanks a tonne!
Hello and thanks for the theme!

I'm having an issue, any idea why this is happening?
[Image: 7rTITl50SwO9aFVq3tsdUA.png]

Thread title text is overflowing, I have no idea why. And only happens with a few posts.
Using the latest version of both MyBB and the plugin.
Unfortunately the forum isn't live yet so don't have any link to provide.

Edit: Increasing column width from 200 to 225 on templates solved it. Here: https://community.mybb.com/post-702037.html
Hi Whiteneo,

function avatarep_private_fname()

line 871 and 872:

$tofromuid = (int)$message['toid'];
$tofromusername = htmlspecialchars_uni($message['tousername']);

Could this code be inaccurate?

$tofromuid = (int)$message['fromid'];
$tofromusername = htmlspecialchars_uni($message['fromusername']);
it is the users avatar and that way you could use.

$mybb->user['avatar']

in any template due it is a globalized var for own avatar.
Hello and thank you for your nice plugin Smile

I'm getting thousands of php warnings on my error logs: (using PHP 7.0.23)
inc/plugins/avatarep.php
Warning: line 1195 explode() expects parameter 2 to be string, array given
Warning: line 1196 in_array() expects parameter 2 to be array, null given

Any idea what's going on there?

Also, if I enable the plugin for the PM view, the sender column shows my username everywhere, while the sender avatar is correct. Check included screenshot.
(2017-09-30, 06:57 PM)ozanakkaya Wrote: [ -> ]Hi Whiteneo,

function avatarep_private_fname()

line 871 and 872:

$tofromuid = (int)$message['toid'];
$tofromusername = htmlspecialchars_uni($message['tousername']);

Could this code be inaccurate?

$tofromuid = (int)$message['fromid'];
$tofromusername = htmlspecialchars_uni($message['fromusername']);

Yeah that was the right change into code i have no idea that is happening :o

(2017-10-02, 11:20 AM)bositman Wrote: [ -> ]Hello and thank you for your nice plugin Smile

I'm getting thousands of php warnings on my error logs: (using PHP 7.0.23)
inc/plugins/avatarep.php
Warning: line 1195 explode() expects parameter 2 to be string, array given
Warning: line 1196 in_array() expects parameter 2 to be array, null given

Any idea what's going on there?

Also, if I enable the plugin for the PM view, the sender column shows my username everywhere, while the sender avatar is correct. Check included screenshot.

The first quote must serve, but warnings maybe it's caused by another plugin configuration, i dunno, what plugins do you have because i have the same version of php and some plugins installed and no errors or warnings, only the pms but it will be fixed in next version and if i can reproduce your warnings i will fix that error too.

Thanks @ozanakkaya i was thinked you want to use owns name and avatars, because i have no idea that code was wrong :o.

I have fixed into my site and the code provided by you should fix the issue.
How do i remove display name format colour?
I tried using the option in ACP settings but it doesn't work!
Well here is my activated plugin list, although I highly doubt any of em can interfere with your plugin:
DVZ Secure Content
Awaiting Activation Message
HTML in Posts
My Advertisements
Signature image limit
Spamalyser
Usergroup legends
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