Site Logo; How do I change this in 3.3?

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
privateer
Registered User
Posts: 37
Joined: Sat Jun 27, 2009 11:11 am
Location: Dorset, UK

Site Logo; How do I change this in 3.3?

Post by privateer »

Hi,

I always renamed my logo "site_logo.gif" before uploading to styles/.../.../img. But I see the phpBB logo is now named site_logo.svg and the code in "common.css" is different. I also used to change the dimensions and padding.

Could you tell me what to do now please.

Thank you
Greatest wealth - happy heart, peace of mind 8-)
User avatar
warmweer
Jr. Extension Validator
Posts: 11854
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: Site Logo; How do I change this in 3.3?

Post by warmweer »

privateer wrote: Wed Jan 15, 2020 4:57 pm I always renamed my logo "site_logo.gif" before uploading to styles/.../.../img. But I see the phpBB logo is now named site_logo.svg and the code in "common.css" is different. I also used to change the dimensions and padding.

Could you tell me what to do now please.
Either make an .svg image,
or covert an image to .svg
A quick search for a free converter came up with https://image.online-convert.com/convert-to-svg
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
P_I
Community Team Member
Community Team Member
Posts: 2497
Joined: Tue Mar 01, 2011 8:35 pm
Location: Western Canada 🇨🇦

Re: Site Logo; How do I change this in 3.3?

Post by P_I »

privateer wrote: Wed Jan 15, 2020 4:57 pm Hi,

I always renamed my logo "site_logo.gif" before uploading to styles/.../.../img. But I see the phpBB logo is now named site_logo.svg and the code in "common.css" is different. I also used to change the dimensions and padding.

Could you tell me what to do now please.

Thank you
The procedure documented in the knowledge base article Knowledge Base - How to change your board logo from phpBB 3.2 still works for me on my phpBB 3.3 testbed setup.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26870
Joined: Fri Aug 29, 2008 9:49 am

Re: Site Logo; How do I change this in 3.3?

Post by Mick »

P_I wrote: Wed Jan 15, 2020 5:33 pmstill works for me on my phpBB 3.3
Mine too, I did it three hours ago :)
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
dwbrown
Registered User
Posts: 48
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown

Re: Site Logo; How do I change this in 3.3?

Post by dwbrown »

Interesting..... tis the only problemo that I still haven't managed to fix since migrating to 3.3.x

Have purged the cache from the ADM CPL, cleared browser cache etc etc etc, but am still showing a corrupt image on the forum. Got me baffled at the moment..... File is fine locally. Oddly odd. File is called site_logo.png and has been working fine for as long as I can remember.

http://www.gpoc.co.uk/forums/
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26870
Joined: Fri Aug 29, 2008 9:49 am

Re: Site Logo; How do I change this in 3.3?

Post by Mick »

It looks like your site_logo file is corrupt (on the live board) see:

Image

Make sure you have the dimensions correct as well.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
dwbrown
Registered User
Posts: 48
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown

Re: Site Logo; How do I change this in 3.3?

Post by dwbrown »

Yup, that's what I said !!

That's the odd bit, I've downloaded that file from the board, and it's ok and wholly intact ! Even if I browse to it using ftp in explorer and not filezilla and it opens just fine. Really odd. I'm going for a beer.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26870
Joined: Fri Aug 29, 2008 9:49 am

Re: Site Logo; How do I change this in 3.3?

Post by Mick »

Dunno if this is relevant: Knowledge Base - Transferring attachment files with Filezilla

Enjoy your pint.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
invenio
Registered User
Posts: 427
Joined: Wed Dec 09, 2015 1:45 pm
Location: New Hampshire, USA

Re: Site Logo; How do I change this in 3.3?

Post by invenio »

warmweer wrote: Wed Jan 15, 2020 5:15 pm
privateer wrote: Wed Jan 15, 2020 4:57 pm I always renamed my logo "site_logo.gif" before uploading to styles/.../.../img. But I see the phpBB logo is now named site_logo.svg and the code in "common.css" is different. I also used to change the dimensions and padding.

Could you tell me what to do now please.
Either make an .svg image,
or covert an image to .svg
A quick search for a free converter came up with https://image.online-convert.com/convert-to-svg
I had trouble converting my previous gif file to svg with some of the online converters but the one linked above was the one that worked properly. I would recommend using that as well.
User avatar
Lumpy Burgertushie
Registered User
Posts: 69228
Joined: Mon May 02, 2005 3:11 am

Re: Site Logo; How do I change this in 3.3?

Post by Lumpy Burgertushie »

just to check , why not pick any known good svg image and try it to see if the problem is your particular image.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26870
Joined: Fri Aug 29, 2008 9:49 am

Re: Site Logo; How do I change this in 3.3?

Post by Mick »

There’s no dying need for it to be an svg, especially for testing. In two cases yesterday I replaced the ‘new’ phpBB site_logo.svg with a png as was the case with dwbrown above, but without issue.
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
dwbrown
Registered User
Posts: 48
Joined: Wed Jan 11, 2017 1:48 pm
Location: Oxford, England
Name: Dave Brown

Re: Site Logo; How do I change this in 3.3?

Post by dwbrown »

OK, bizarre.

Filezilla was set correctly to handle transfers.

I went back to Windoze File Explorer and ftp'd into the site.
I deleted the png file yet again.
Then uploaded the original one more time with a simple drag and drop between folders.
Bingo - all present and correct.
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26870
Joined: Fri Aug 29, 2008 9:49 am

Re: Site Logo; How do I change this in 3.3?

Post by Mick »

Glad you sorted it, nice image too👍🏼
  • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧
User avatar
privateer
Registered User
Posts: 37
Joined: Sat Jun 27, 2009 11:11 am
Location: Dorset, UK

Re: Site Logo; How do I change this in 3.3?

Post by privateer »

Thank you for all replies.

I followed the recommended link to Online-Convert and converted my .gif logo to .svg The size of the .svg file is shown as 516B, so presumably there is an .svg image. However, I cannot view the .svg image in any browser, it seems to be invisible.

I uploaded the site_logo.svg file to my server and amended the dimensions and padding in common.css, but the logo isn't visible.

Mystery to me

Thanks, privateer
Greatest wealth - happy heart, peace of mind 8-)
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26870
Joined: Fri Aug 29, 2008 9:49 am

Re: Site Logo; How do I change this in 3.3?

Post by Mick »

  1. Have you tried using a gif or jpg to test?
    • How does it go if you restore the original svg?
      • It shouldn’t make any difference what flavour of image you use.
        • Presumably you carried out all the usual purging of the board and browser caches?
          • Can you post a link to your board so we can have a look please? (got it)
            • I’m not certain what’s been done to enable svg’s so you may have to ask in styles.
            Edit: I browsed to your logo but it was blank. Try a gif and see what happens.
            • "The more connected we get the more alone we become” - Kyle Broflovski© 🇬🇧

            Return to “[3.3.x] Support Forum”