Avatar in last post

Update required for phpBB 3.3.x - Avatar in last post

Update required for phpBB 3.3.x

by BlackPandaBear » Tue Jan 07, 2020 9:04 am

I've tested this extension on a local forum with PHPBB 3.3 and it is not compatible with it.

It produces an error in ACP which looks like the one below:
symfonyerror33.jpg
My phpbb forum: www.impactofhairloss.be - A safe haven for hair loss sufferers to discuss how balding affected them and hopefully find solutions.
User avatar
BlackPandaBear
Registered User
Posts: 43
Joined: Tue Oct 09, 2018 3:50 pm
Location: Belgium
Contact:

Re: Update required for phpBB 3.3.x

by Painxl » Tue Jan 07, 2020 9:19 pm

As soon as possible, please.
Painxl
Registered User
Posts: 1
Joined: Tue Jan 07, 2020 8:12 pm
Contact:

Re: Update required for phpBB 3.3.x

by BlackPandaBear » Wed Jan 08, 2020 5:20 pm

I figured it out:

Open the file ext\bb3mobi\lastpostavatar\config\services.yml

And simply replace the entire content of the file with this:

Code: Select all

services:
    bb3mobi.lastpostavatar.listener:
        class: bb3mobi\lastpostavatar\event\listener
        arguments:
            - '@user'
            - '@path_helper'
        tags:
            - { name: event.listener }
My phpbb forum: www.impactofhairloss.be - A safe haven for hair loss sufferers to discuss how balding affected them and hopefully find solutions.
User avatar
BlackPandaBear
Registered User
Posts: 43
Joined: Tue Oct 09, 2018 3:50 pm
Location: Belgium
Contact:

Re: Update required for phpBB 3.3.x

by ChinaGal » Tue Feb 04, 2020 7:02 am

That works great. Thank you. By the way, I think it would be great if we could make the avatars appear round somehow. Like this for example:

https://www.phpbb.com/customise/db/download/171261
User avatar
ChinaGal
Registered User
Posts: 182
Joined: Fri Jan 24, 2020 10:02 am
Contact:

Re: Update required for phpBB 3.3.x

by ChinaGal » Thu Feb 06, 2020 5:58 pm

Here is how to make them round if interested: https://www.phpbb.com/customise/db/exte ... pic/214511
User avatar
ChinaGal
Registered User
Posts: 182
Joined: Fri Jan 24, 2020 10:02 am
Contact:

Re: Update required for phpBB 3.3.x

by lvlasked » Thu May 07, 2020 11:05 am

tryed to use this code dosnt seem to work for me :S
lvlasked
Registered User
Posts: 226
Joined: Sat Oct 17, 2009 7:01 pm
Contact:

Re: Update required for phpBB 3.3.x

by Costheme » Fri May 08, 2020 2:40 pm

Try this instead:

Code: Select all

.lastpostavatar img {
    border-radius: 50%;
}
User avatar
Costheme
Registered User
Posts: 35
Joined: Fri May 01, 2020 9:11 am
Contact:

Re: Update required for phpBB 3.3.x

by stigzler » Sat Jun 13, 2020 9:59 am

BlackPandaBear wrote:I figured it out:
Thanks for this. Life saver.
stigzler
Registered User
Posts: 30
Joined: Sat Jan 12, 2019 7:11 pm
Contact: