• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Duplicate Upgrade Package Should not include favicon or logo.og

Jaxel

Well-known member
#1
If I select to download the upgrade package only, it should not include the following files:
  • styles/default/xenforo/favicon.ico
  • styles/default/xenforo/logo.og.png
Why? Because these two files are used regardless of the style settings of your forum. So even though I dont use the default Xenforo style, I still must continually overwrite these two files. Technically, since these two files are used regardless of style choices... they shouldn't even be in this folder. They should probably be in the root styles folder.
 

Chris D

XenForo developer
Staff member
#2
The files are taken from wherever you have set up as your imagePath style property. It defaults to styles/default but if you're not using the default style then you should change this and serve your image files from a different path.
 

Mike

XenForo developer
Staff member
#3
I'd note that the favicon there won't be used unless you explicitly point to it with a template edit, whereas you might as well point elsewhere.

The OG logo is actually the ogLogoPath style property.
 

Jaxel

Well-known member
#5
But the DEFAULT setting is not relative to the style. So if you create a new style, with no style property changes... just image changes, it still codes to the wrong open graph logo.
 

Jaxel

Well-known member
#6
Seeing as how the open graph logo serves NO PURPOSE on an individual style level... it should not be linked to styles.
 

Chris D

XenForo developer
Staff member
#7
That's why, as Mike corrected me, the ogLogoPath setting is different to the imagePath. If you want your og logo to not be overwritten, just change the property and move your og logo there. That said, I have known sites to use different open graph logos for different styles so that use case isn't entirely invalid.