How to upgrade from 1.04 to 1.05

Upload these 2 changed files:

index.php
admin.php

How to upgrade from 1.0x to 1.04

1. Set the new options in seo-board_options.php file.

Version 1.04 adds two new options in seo-board_options.php. They are related to rss/atom feeds. You can see the two additional options at the bottom of the 1.04 seo-board_options.php file.

Copy these lines from the new seo-board_options.php file to your seo-board_options.php:

//ADDED IN 1.04
//rss feed options
//exclude some forums from the rss/atom feeds
// = array (exclude_forum_id1, exclude_forum_id2...);
$feedexcludeforums = array();

//how many topics to include in the feeds
$feednumtopics = 10;

Customize these two additional values to your likings.

2. Upload the new files

There are 3 new files and 4 changed files from the previous versions.
New files: index.rss.php, index.atom.php and images/xml_rss.gif
Changed files: index.php, code/skinning.php, skin/mainheader.htm, skin/mainfooter.htm

You need to upload the new and changed files. If you have done code and design customizations look at the exact changes below to figure out how to patch your forum. These simple changes are in order to facilitate the rss/atom feeds.

Changes in files

Changes in skin/mainheader.htm

Added these two lines in the <head> section to specify the rss/atom feeds
<link rel="alternate" type="application/rss+xml" title="RSS 2.0 Feed" href="{$forumdir}index.rss.php" />
<link rel="alternate" type="application/atom+xml" title="Atom 1.0 Feed" href="{$forumdir}index.atom.php" />

Changes in skin/mainfooter.htm

Replaced this line:
{$copyright}
with these lines:
<div class=footer>
Powered by <a href="http://www.seo-board.com">SEO-Board</a> {$version}, <img src="images/xml_rss.gif" alt="XML" title="RSS 2.0 feed" align="absmiddle"> <a href="index.rss.php">RSS 2.0</a> <img src="images/xml_rss.gif" alt="XML" title="Atom 1.0 feed" align="absmiddle"> <a href="index.atom.php">Atom 1.0</a>
</div>

Changes in index.php

At the top of index.php added a new line:
$version = '1.04';

At the top of the index.php deleted this line:
$start_time = explode(' ', microtime());

On the bottom of index.php delete these 4 lines:
$end_time = explode(' ', microtime());
$total_time = round($end_time[1] + $end_time[0] - $start_time[1] - $start_time[0], 3);

$copyright = get_copyright();

Changes in code/skinning.php

Deleted the whole get_copyright() function at the bottom of the file