Upgrading from version 0.8.2

As always, it is very wise to do a backup of your current website / blog / database (depending on what you already have) before starting to install something new.

Upgrading templates or skins from 0.8.2

It is important that you understand that the following instructions apply only to upgrading skins or templates from version 0.8.2 to 0.8.6. If you use different versions, there will probably be some changes. The best technique for you to know what needs to be changed from one version to another is using a diff tool (like WinMerge) in order to see precisely what has change from a skin version to another.
Location of the default templates:

In many skins, some feature templates will actually call the default template for this feature. For example, the _archives.php template included the following statement at the bottom:

include dirname(&#x5f;_FILE__).'/../../_archives.php';

With this new version, the default templates have moved from the base folder to the skins folder. Thus, you should replace the above line with the following:

require get_path('skins').'/_archives.php';

The important change is get_path('skins').'/ , changing include to require is optional but makes debugging easier.

You'll need to make similar changes in the following templates: _blogroll.php, _categories.php, _feedback.php, _lastcomments.php, _stats.php.

If you are not using skins but direct templates, you will need to put this calls into your main template.

Either way, do not forget to copy the new default templates to your skins directory. You should also erase the old ones from your base directory.

Note: If you are using customized templates, please use a diff tool (like WinMerge) to check out modifications since your previous version.

New templates

Some new features require new files. You should probably copy the files _bloglist.php and _profile.php to your skin folder.

Main file (_main.php) or main template

Quite a bunch of new features:

. Security improvement. Replace the following line from the search form:

. This version now supports user profile editing from the blog page. To enable this copy the _profile.php file to your skin folder as told above and enable it by replacing the following block:

<?php // ---------------- START OF INCLUDES FOR LAST COMMENTS, STATS ETC. ----------------
.
.
.
// ------------------- END OF INCLUDES FOR LAST COMMENTS, STATS ETC. ------------------- ?>

with:

<?php // ---------------- START OF INCLUDES FOR LAST COMMENTS, STATS ETC. ----------------
switch( $disp )
{
case 'comments':
// this includes the last comments if requested:
require( dirname(FILE).'/_lastcomments.php' );
break;
case 'stats':
// this includes the statistics if requested:
require( dirname(FILE).'/_stats.php');
break;
case 'arcdir':
// this includes the archive directory if requested
require( dirname(FILE).'/_arcdir.php');
break;
case 'profile':
// this includes the profile form if requested
require( dirname(FILE).'/_profile.php');
break;
}
// ------------------- END OF INCLUDES FOR LAST COMMENTS, STATS ETC. ------------------- ?>

You will also need a link for the user to access the profile form. Actually, we have a whole set of new links. Here is how to roll them in. Replace these two old links: