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

Add a version string file into download zip

Discussion in 'General XenForo Discussion and Feedback' started by HWS, Aug 28, 2013.

  1. HWS

    HWS Well-Known Member

    I just had problems to find the version of XenForo within the downloaded folder (yes, I know, I can always look into the installer php file).

    Just want to suggest to add a "version.txt" file into the package or even add the version string into the "INSTALL-UPGRADE.txt" file to make it easier for people like me, who do not install immediately after the download.

  2. oman

    oman Well-Known Member

    The version is usually included on the name of the zip file:


    Even if you extract it it will still be there.
  3. HWS

    HWS Well-Known Member

    I am at an Apple using Safari. The zip file will be extended and deleted automatically after the download and the resulting "xenforo" folder does not show any version number.

    I now, I may be able to change that behavior and keep the zip file itself, however having a version string available easily in the download folder would be a real benefit.
  4. Chris D

    Chris D XenForo Developer Staff Member

    I use an Apple, but I hate Safari so I only use Chrome...

    If you download a file called:


    Are you saying Safari takes it upon itself to automatically extract that into a directory simply called xenforo? How? If anything, I would expect it to extract it to a directory called xenforo_1.2.1-licensestring.

    I don't do anything automatically with Chrome and ZIP files but when I click a downloaded ZIP file, it does automatically extract it, but into a directory of the same name as the zip file.

    So, then I can just search finder for xenforo_1.2.1 and I find what I'm looking for.

    Odd behaviour you have configured there...
  5. HWS

    HWS Well-Known Member

    That is not the case. It is extracted into a directory called "xenforo", because that is the name of the folder within the zip. The zip itself is automatically deleted.

    But beside of all that, I would see it beneficial to have a place where the xenforo version can be read easily without having to open a browser.
  6. rellek

    rellek Well-Known Member

    Maybe a little bit off topic, but you can tell Safari not to open such files like ZIP and DMG. Press CMD+, and disable opening "safe" files.

    Attached Files:

  7. Chris D

    Chris D XenForo Developer Staff Member

    There is no "xenforo" directory in the XenForo download.


    Same in the full package.

    Like I say, you have some weird configuration.

    Your proposed solution is only beneficial if your computer doesn't do what it is supposed to by default :p
  8. rellek

    rellek Well-Known Member

    No it's not a weird configuration, it's how stupid Safari actually is.

    Safari extracts the contents of the zip file into a folder that is called after the name of the zip file. However, Safari assumes that the file name ends at the first point. So the folder is always "xenforo-1" (because the file name is "xenforo-1.2.1-licensestring.zip").
  9. HWS

    HWS Well-Known Member

    I use the default configuration.

    Again, like I said, it would help in several situations if one can see the xenforo version number easily when working at the server (where it is installed) or the directory at the local computer where it has been extracted to.
  10. Mike

    Mike XenForo Developer Staff Member

    The version is always in library/XenForo/Application.php at the top - you should be able to view it in any text editor if you don't have the zip around.
    HWS likes this.
  11. HWS

    HWS Well-Known Member

    Thank you.
    I tried /index.php without luck first. ;-)

Share This Page