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

XF 1.5 1.5.1 Upgrade Only Include Unnecessary Files?

Discussion in 'Installation, Upgrade, and Import Support' started by Tiki Tiki, Sep 22, 2015.

  1. Tiki Tiki

    Tiki Tiki Active Member

    I just downloaded the 1.5.1 "upgrade only." Is there any reason why it appears to include all sorts of unnecessary files? Entire sets of smilies, default avatars, logo.png (which would overwrite my own logo if not caught), etc., that surely are no different from 1.5. Am I missing something here?
  2. Chris D

    Chris D XenForo Developer Staff Member

    It's actually the full package but with some key files, that shouldn't be overwritten, excluded.

    The specific files you mention, shouldn't really be customised directly. There are Style Properties controlling various image paths that should be used to avoid default files overwriting your customisations.
  3. Tiki Tiki

    Tiki Tiki Active Member

    Ah. Thanks.
  4. Martok

    Martok Well-Known Member

    You should have your logo elsewhere (e.g. another directory) and you should change the path of the logo to this in the ACP (in Header and Navigation) rather than replacing the default logo with your own. Doing it this way means your logo will never be overwritten when you upgrade.
  5. Tiki Tiki

    Tiki Tiki Active Member

    @Chris D, @Martok, yes, understood on using a different name/path for the logo. Changing the subject to the Resource Manager, where this is no "upgrade only" version anyway, is there a similar solution for making sure I don't overwrite my own custom resource_icon.png file?
  6. Brogan

    Brogan XenForo Moderator Staff Member

    A custom style directory will resolve any issues related to any image files being overwritten.
  7. Tiki Tiki

    Tiki Tiki Active Member

    Thanks. I guess I've been reluctant to create a custom style since I'm, so far, plain vanilla with no changes other than the already mentioned logo.png and resource_icon.png. :cautious:
  8. Chris D

    Chris D XenForo Developer Staff Member

    These simple steps, should get everything right for you before upgrading. I'm assuming your customised files are all currently in the styles/default directory:

    1. Copy the styles/default directory to styles/YOURSTYLE
    2. Go to the Admin CP
    3. Appearance
    4. Style Properties
    5. Ensure your style is selected and select the General group
    6. Change "Path to Images" from "styles/default" to "styles/YOURSTYLE"
    Obviously change YOURSTYLE to whatever you like.

    Confirm everything is working properly, and you're still seeing your custom images. Now do the upgrade. Afterwards, check the images are still working. That should be problem solved. And, in future, just remember you need to customise the files in styles/YOURSTYLE and then you won't need to worry about them come upgrade time.
    Russ likes this.
  9. Tiki Tiki

    Tiki Tiki Active Member

    Thanks, guys. :) Eight years with IPB... just getting my feet wet with XF. :barefoot:

Share This Page