Developer

Requirements

A backup of all affected files (see the list in the summary in the upper right corner of the page)

An installed current version of the Mod Manager (is already included in TNG v9)

Installation

Download the appropriate zip file as shown in the summary in the upper right corner of the page. NOTE that I host these zip files on my own server. That way I can count the number of downloads for each mod I made and estimate the relevance of such mod.

Extract the config file from the downloaded zip file into the mods folder.

Press the Edit button and add any table to the text box. The rules to follow are listed in the next paragraph.

Rules

Only 1 table per line

Each line looks like xxx:yyy

xxx is the name of the table in the database

yyy is the tables's descriptive name

Feature List

Each table you add on the Edit page will appear next to the default TNG tables on the Admin >> Utilities >> Tables page of your TNG website with its descriptive name.

You will be able to back up, restore, optimize and delete each table just like any of the default TNG tables.

Your personal tables' structure will be backed up or restored along with the default tables on the Admin >> Utilities >> Table structure page.

Non-existing tables will be marked as such and the backup, optimize and restore buttons will be hidden.

Visualization of this mod

The following images show the visual effects of installing the mod.

Admin >> Mod Manager >> Edit

Use the mod's parameters to set the tables' database and descriptive name.

Utilities >> Back up, Restore & Optimize Table Data

The mod adds the tables to the list of tables you can optimize, backup or restore.

Utilities >> Back up, Restore & Optimize Table Data

table Users: this is a table that has already been backed up. All buttons and the check box are visible.

table v5: this table does not exist. All buttons and the check box are invisible + there is a message telling about the problem

table v7: this table does exist but it has not yet been backed up. Therefor the restore button is invisible. As soon as the backup is finished the restore button will be visible without having to refresh the page.

Limitations

Works only for tables in the same database as your TNG tables.

(<= 9.0.0.1, <= 8.1.3.1) Tables must exist. If they don't you'll get errors when you attempt to back up, optimize, restore or delete them.

Uninstalling the mod

Uninstalling is done through the mod's Remove button on the Mod Manager page.
This will however not remove the table from your database. That is something you have to do yourself.
This mod also creates a file in the extensions folder. Since this file isn't and can't be created during the installation of the mod it will also not be removed when uninstalling it. You can however safely delete it yourself. It's called ptm_settings.inc.