Injader
Blog > Release Archive > Injader 2.1.1 Release Notes

Injader 2.1.1 Release Notes

< Injader 2.1.0 Release Notes | Release Archive | Injader 2.1.2 Release Notes >

This page lists the changes that have been completed for Injader 2.1.1.

Security fix

Modified theme files so they cannot be loaded directly. If you have a custom theme, you'll need to include this code manually. You can view the PHP files included with the default theme to see how to do it, alternatively just copy this code:

  if (!defined('C_SYS_LATEST_VERSION')) {
    exit("Error: This file cannot be viewed directly.");
  }

Paste it before the first ?> and ensure you copy it into every PHP file in your theme, including layout styles.

Support for older versions dropped

To reduce the size of the upgrade script, Injader 2.1.1 drops support for versions prior to Injader 2.0.0. This means you cannot upgrade directly from those versions to the latest version.

You can still browse the older versions of Injader at SourceForge though. If you're using an old version of Injader, the best thing to do is to download Injader 2.0.0, upgrade to that, then go from there.

(Upgrading from very old versions to the latest version wouldn't have worked anyway, due to code changes made in Injader 2.0.0.)

Improvements

  • Layout styles can now share the same header and footer as the theme they are stored in. Simply remove header.php and footer.php from the layout style folder and it will automatically pick up those files from the parent theme. You can still include the files in a layout style if you wish to override them.
  • You can now display area graphics when listing subareas. An example is provided in the default theme.
  • Admins can now edit a suspended user's profile without having to reinstate their account first.

Bug fixes

  • Contact form - fixed a database error
  • Installer - corrected the link to the Installation Overview
  • Related content - modified so the current article is not listed
  • Fixed a bug where thumbnails try to load for non-graphical attachments (e.g. MP3s)
  • Subarea class list now includes "subarea-item" but excludes "subarea-item1" (if 1 is the area ID), as this is only needed in the ID
  • Default theme - use "subarea-desc" for the class on subarea description, instead of "smalltext"
  • Default theme - remove duplicate comment number from the forum layout
  • Default theme - remove surrounding <div> for comments in the forum layout
  • Default theme - fixed duplicate avatar error in the forum layout
  • Default theme - if you don't have access to post comments but you're logged in, the system says you need to log in. It should say you have insufficient access.

Comments on Injader 2.1.1 Release Notes

* Required Fields. Email will not be shown.
Verification code
Type the verification message shown above. The letters are case sensitive.
Help

Rate this article:
(5 = Highest, 1 = Lowest)
Note: if you have already posted a rating on this page,
a new vote will not be added.