Aardvark Topsites PHP 5.1 Manual

This manual is for Aardvark Topsites PHP 5.1.x. Manuals for other versions:
5.2.x | 5.1.x | 5.0.x | 4.2.x | 4.1.x | 4.0.x | 3.2.x

W3Counter Web Stats

Menu

Install

Features

Skins

Support

Upgrade to 5.1.2

Server Requirements

  • PHP 4.3.0 or higher
  • MySQL

Server Recommendations

  • PHP 5.0 or higher
  • MySQL 4.0 or higher
  • Apache HTTP Server
  • Linux or BSD

Warning

Upgrading is only supported for Aardvark Topsites PHP 4.1.0 or higher. If you are one of the few people using an older version, you must upgrade to a version between 4.1.0 and 4.2.2 before upgrading to Aardvark Topsites PHP 5.

You should back up your data before upgrading in case something goes wrong. The upgrader will not delete any of your data, but it is always a good practice to have backups.

Instructions

From 5.1.1

Upload the following files:

  • index.php
  • sources/rankings.php
  • sources/search.php
  • sources/stats.php
  • sources/misc/new_day.php
  • sources/misc/skin.php

From 5.1.0

  1. Delete your old languages folder and upload the new languages folder
  2. Upload the following files:
    • index.php
    • sources/rankings.php
    • sources/search.php
    • sources/stats.php
    • sources/misc/new_day.php
    • sources/misc/skin.php
  3. Add this code below the title tag in wrapper.html and gateway.html:
<meta http-equiv="Content-Type" content="text/html;charset={$lng->charset}" />

From 5.0.x

  1. Delete all your old Aardvark Topsites PHP files except settings_sql.php and the skins folder
  2. Upload all the new files (except settings_sql.php and the skins folder) to the same folder as your old settings_sql.php
  3. Go to install/upgrade-5.0.x.php in your browser and follow the instructions there
  4. Delete the install folder when you are done

Once you confirm that the script appears to be working, you'll need to make a few changes to your old skin to take advantage of new features. If you are just using the default skin, then simply upload the new skins folder. If you want to keep using your old skin, follow these instructions.

The following skin files are typically not modified when people make new skins, so you should just upload these new files:

  • admin.html
  • edit_form.html
  • join_captcha.html
  • join_form.html
  • join_finish.html
  • link_code.html
  • rate_email_admin.html
  • search_results.html

If you want to take advantage of the RSS feed, put this code below the title tag in wrapper.html:

<link rel="alternate" href="{$list_url}/{$feed}"
type="application/rss+xml" title="{$list_name}" />

Add this code below the title tag in wrapper.html and gateway.html:

<meta http-equiv="Content-Type" content="text/html;charset={$lng->charset}" />

In screen.css (or whatever css file you use), some code similar to this should be added:

.join_edit_error {
	background-color: #f0f0f0;
	border: 1px solid #f00;
	padding: 2px;
}

a.help { color: #f00; font-weight: bold; text-decoration: none; }
a.help:hover { color: #333; }

From 4.1.x or 4.2.x

  1. Delete all your old Aardvark Topsites PHP files except config.php
  2. Upload all the new files to the same folder as your old config.php
  3. CHMOD 666 settings_sql.php
  4. Go to install/upgrade-4.x.php in your browser and follow the instructions there
  5. Delete the install folder
  6. After you have confirmed everything is working, delete your old config.php