Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Vanilla 2.6 is here! It includes security fixes and requires PHP 7.0. We have therefore ALSO released Vanilla 2.5.2 with security patches if you are still on PHP 5.6 to give you additional time to upgrade.

Version 3.1 is shown below version 3.03 in addons section. Some Bug I think

This discussion is related to the Nebula addon.
aeryaery Gtricks Forum in 2.2 :) ✭✭✭

Please see here - http://vanillaforums.org/addon/nebula-theme

Under versions detail, 3.1 is after 3.03.

Vanilla is sweet & support is great, to encourage volunteers, please donate.

Comments

  • The PHP function in the VanillaAddons site that is providing the sort order is version_compare. This function splits on periods (and underscores and hyphens and plus signs) and then compares each part from left to right. So from your example:
    3 == 3
    1 < 03

    In your mind, it may seem like 3.03 is equivalent to 3.0.3 and 3.1 is equivalent to 3.1.0 but the former scheme is non-standard and ambiguous whereas the latter is well-understood and common.

    See Also: http://semver.org/

  • aeryaery Gtricks Forum in 2.2 :) ✭✭✭

    Thanks for the example. Unfortunately, I still did not get your example.

    Vanilla is sweet & support is great, to encourage volunteers, please donate.

    422
Sign In or Register to comment.