Big update for XenForo styles

Discussion in 'Updates' started by Arty, Oct 10, 2016.

  1. Arty

    Arty Administrator Designer

    All XenForo styles have been updated.

    Recently I have announced upcoming new XenForo styles that will feature awesome new framework. Development of new framework is going slower than expected, so I've decided to port some of its features to other styles. Today's update includes some of that code.

    Changes are not complete yet. Because of that new versions of styles are marked as beta. On style download page if you try to download style you will download previous version, not today's release.

    To download this beta version you need to:
    1. Go to style download page.
    2. Scroll down to "versions archive" section.
    3. Click first link in versions archive. It will redirect you to download page for that version.
    or click one of these links:
    Even though styles are marked as beta, styles are stable and should be safe to use in production. Though as with any release, I recommend testing it on localhost before uploading it on live server.


    What's new

    From now on all my styles use Artodia Framework add-on, including old styles that previously didn't use it. Add-on is included with all styles.

    Improved support for third party add-ons

    Until today all styles included template for third party add-ons by supplying modified templates with style. For example, to support Showcase add-on, styles included edited versions of nflj_showcase_reviews.css, nflj_showcase_layout_list_view_item.css and other templates. XenForo styles cannot include anything other than templates and style properties, so it was the only way to provide support for third party add-ons.

    That method was causing issues:
    • Style could not include multiple versions of same template, so it was tied to specific version of add-on.
    • When add-on was updated, style had to be updated.
    Because I provide support for many third party add-ons, this was getting out of hand. Styles required too much maintenance and for some add-ons support was far from perfect because of high number of features in those add-ons.

    New version uses different approach: template modifications added by Artodia Framework add-on. Instead of including edited templates, Artodia Framework add-on automatically applies changes to templates.

    Advantages of using template modifications:
    • No need to update style whenever you update supported third party add-on.
    • Style can support multiple versions of same add-on at the same time.
    • Less maintenance.

    Downside is users will need to install Artodia Framework add-on in addition to installing style.

    First beta release supports the following add-ons using new template modifications method:
    • Showcase
    • Article Management System
    • User Blog System
    • XenPorta 2 Pro
    • XenAtendo 2
    Support for Showcase, AMS and UBS has been completely rebuilt. Old version didn't support all layout types, new version supports all features of those add-ons. Each showcase/article/blog page should look perfectly with any of my styles, as if add-ons were designed for it.

    Other add-ons that my styles support still use old method. It will be changed to new method very soon.


    Improved performance of existing features

    Some features have been moved from JavaScript to PHP. Instead of messing with HTML code on client side, Artodia Framework add-on does it on server side, which redices page rendering speed.

    These features will no longer work unless you have Artodia Framework add-on installed:
    • Custom node icons
    • Custom node glyphs
    • Custom category glyphs
    • Custom thread icons
    This change affects only styles that had those features before today. Some of these features will be added to Soft Responsive, Black Responsive and Elegance v1 styles in one of next releases.


    Other changes

    There were some other changes to styles:
    • Few bug fixes
    • Support for PHP 7.1 (there were minor issues in templates that would trigger notices when debug mode is enabled with PHP 7.1)

    To update from previous version you need to:
    • Upload new JavaScript files. Other files weren't changed.
    • Update style by importing new XML file.
    • Update Artodia Framework add-on (upload new files, update add-on in admin panel)
     
    Last edited: Oct 19, 2016
    younes, marring, Justin and 4 others like this.
  2. Arty

    Arty Administrator Designer

    Beta 2 is available.

    Changes:
    • Improved support for Widget Framework
    • Re-did support for: CT Featured Threads & Portal, GFN Classifieds
    • Improved support for Showcase, UBS and AMS
    • Removed support for sonnb's XenGallery add-on (see this thread)
    • Bug fixes

    Download links are the same as in post above. Beta 1 is no longer available for download, it has been replaced with beta 2.

    To update from beta 1 you need to:
    • Upload new framework add-on files (upload/js/ and upload/library/).
    • Import new style XML file.
    • Optional: update framework add-on. This step is optional because there weren't any changes in event listeners, only in php code.
    To update from older version you need to:
    • Upload new framework add-on files (upload/js/ and upload/library/).
    • Upload new JavaScript files for style.
    • Import new style XML file.
    • Update framework add-on in admin panel.
     
    younes, marring, Justin and 1 other person like this.
  3. Arty

    Arty Administrator Designer

    Because of unexpected release of XenForo 1.5.11, this beta version will be released as new main version later today.

    It is stable. It was marked as beta because I didn't add all new features yet, not because of its stability.
     
    Dadparvar likes this.
  4. Arty

    Arty Administrator Designer

    Beta version is no longer available for download. It has been replaced by stable release for 1.5.11
     
    Dadparvar likes this.