Topic Preview

problem when no avatar - Topic Preview

Re: problem when no avatar

by MattF » Tue Aug 04, 2015 10:37 pm

Arty wrote:Since no_avatar.gif is not in prosilver's css (might be a good idea to move it to css in phpbb-dev to make extension writer's life easier?), you should supply your own image.

FYI: I found one line where no_avatar.gif is hard-coded in PHP, and expected in the user's style:
https://github.com/phpbb/phpbb/blob/3.1 ... .php#L4874
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6037
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: problem when no avatar

by Arty » Sat Aug 08, 2015 7:33 am

VSE wrote:FYI: I found one line where no_avatar.gif is hard-coded in PHP, and expected in the user's style:
https://github.com/phpbb/phpbb/blob/3.1 ... .php#L4874

:(

Well spotted. Looks like I'll need to add that file to styles
Vjacheslav Trushkin / Arty.
Free phpBB 3.1 styles | New project: Iconify - modern SVG framework
User avatar
Arty
Former Team Member
Posts: 16654
Joined: Wed Mar 06, 2002 2:36 pm
Name: Vjacheslav Trushkin

Re: problem when no avatar

by Bruce Banner » Sun Dec 22, 2019 5:15 am

Sorry to resurrect this ancient topic but I don't understand why you can't just replace the default no_avatar.gif with another no_avatar.gif

I did but this extension still shows the default one.
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am

Re: problem when no avatar

by MattF » Sun Dec 22, 2019 6:18 am

This extension uses its own custom CSS based avatar, since no_avatar.gif's were style dependent and often missing or not gifs..
Formerly known as VSEMy ExtensionsPlease do not PM me for support.
User avatar
MattF
Extensions Development Coordinator
Extensions Development Coordinator
Posts: 6037
Joined: Sat Jan 17, 2009 9:37 am
Location: Los Angeles, CA
Name: Matt Friedman

Re: problem when no avatar

by Bruce Banner » Sun Dec 22, 2019 6:40 am

VSE wrote:This extension uses its own custom CSS based avatar, since no_avatar.gif's were style dependent and often missing or not gifs..
Ah, OK, thanks.
Bruce Banner
Registered User
Posts: 1383
Joined: Thu Sep 25, 2014 10:36 am