Button Panel v2.00
PHP-Fusion v7.00+
Original author: cmike
Email: mcwiklinski@gmail.com
Continued starting v2.00: muscapaul
Email: muscapaul@gmail.com
Web: http://www.muscapaul.com
Last updated: 8 August 2008
-------------------------------------------
Released under the Affero GPL license. You can
redistribute it and/or modify it under the terms of
this license which you can read by viewing the
included agpl.txt or online at
www.gnu.org/licenses/agpl.html. Removal of this
copyright header is strictly prohibited without
written permission from the original author(s).
-------------------------------------------


FEATURES
--------
- Commercial and Non-Commercial Button Management System.
- Display buttons in side panel.
- Includes full administration for buttons and panel for clients.
- Clients can view their details for the Client Admin section (plain-text user/pass protection)


INSTALLATION
------------
1. Upload all files to proper directories.
2. Go to System Admin -> Infusions
3. Select "Button Panel" from the list and press the "Infuse" button


INSTALLATION INFUSION
---------------------
1. Upload the 'button_panel' folder to your infusions folder.
2. Go via Admin Panel -> System Admin to Infusions and install the Button Panel Infusion.
3. To install the Button Panel go to Admin Panel -> System Admin -> Panels. Choose to add a new side panel. Give it an approrpiate name (for example 'Button panel') and select 'button_panel' from the File name drop-down menu. Save the panel.
5. Return to Panel Management and enable the panel. If so desired change its position.

UPGRADING FROM PHP-FUSION v6 TO PHP-FUSION v7
---------------------------------------------
Please note, if you want to upgrade your Button Panel Infusion during a PHP-Fusion version upgrade from v6 to v7, there is no need to defuse the infusion. There will be no error messages as long as you upload the infusion files at the same time as the PHP-Fusion files. When you upload the infusion files, you can simply overwrite the existing ones.
PHP-Fusion v7 utilises a somewhat different system for administering admin rights for Infusions. In v6 it used to be a single setting that gave rights to all Infusions. Under the new version every infusion will be given its own code for admin rights. As a result it is necessary to run an upgrade script (../infusions/button_panel/v6-7upgrade.php) that will at least add the rights for the primary Superadministrator. The file has checkboxes to indicate whether all superadmins should be given access rights to the Button Panel Infusion and/or whether all admins with Infusion Administration rights should be given those rights.
This script only needs to be run if a site is upgraded from PHP-Fusion v6 to v7. Even though a check has been built in to prevent the script from being run after the upgrade has already been performed, it is advised to delete the script from your server after upgrading.

NOTES
-----
- Path to pictures must be full, even if they're on the same server.
- If you create a username/password for a button, the button becomes commercial and clients can then view their button details by entering the user/pass into /infusions/button_panel/button_client.php

CHANGELOG
---------
v2.00 (muscapaul)
* Code fully updated to comply with PHP-Fusion v7.00.
* Link for clients added to bottom of Button Panel.
* Client page updated to show all buttons for a certain user, rather than just the first.
* File ../infusion.php updated to allow localisation of Infusion data. Two definitions added, not yet translated for Polish, Danish, German and Italian.
* Addition of Dutch locale.

v1.00 (cmike)
* None (first release).
