PHP-Fusion

Copyright © 2002 - 2005 Nick Jones
Version: 6.00.203 - Released: October 2005
1. Introduction
PHP-Fusion is an all-in-one content management system (CMS) written in PHP. It uses a mySQL database to store all of your site's content such as News, Articles, Forum Posts, Shoutbox Posts and more.

PHP-Fusion is released under the terms and conditions of version 2 of the GNU General Public License. For further information please visit www.gnu.org or refer to the gpl.txt file included in the distribution package. You may alter the code in any way you wish and redistribute it either as is or containing your own modifications.

You must not remove the "Powered by PHP-Fusion" copyright notice nor remove the copyright information from any of the included scripts. We feel this is fair when you consider the hundreds of hours of hard work that has gone into the development of this product.

2. Installation
  1. Upload the contents of the php-files folder to your server.
  2. CHMOD the following files & folders to 777:
    • administration/db_backups/
    • images/
    • images/imagelist.js
    • images/articles/
    • images/avatars/
    • images/news/
    • images/news_cats/
    • images/photoalbum/
    • forum/attachments/
    • config.php
  3. Goto your website and run setup.php e.g. http://www.yourdomain.com/setup.php.
  4. Complete the setup process by following all on-screen prompts.
  5. CHMOD config.php back to 644 AND delete setup.php from your server.
3. Upgrade from v6.00.1xx
Before upgrading we strongly recommend that you backup your site and your database.
  1. Please delete config.php and setup.php from php-files before proceeding.
  2. Upload upgrade.php from upgrade v6.00.1xx folder to the administration folder on your server.
  3. Login to your site as the Super Administrator and click Upgrade via admin.
  4. Follow all on-screen prompts until you see "Database upgrade complete".
  5. Upload the contents of the php-files folder to your server.
  6. Ensure the following folders and files are CHMODed 777:
    • images/news_cats/
    • images/imagelist.js
4. Upgrade from v4.01, v5.00 or v5.01
Before upgrading we strongly recommend that you backup your site and your database.
  1. Uninstall all Infusions via infusions admin (v5.00 or v5.01 only).
  2. Disable any 3rd party panels via panels admin except for:
    • Navigation
    • Online Users
    • Forum Threads
    • Latest Articles
    • Welcome Message
    • Forum Threads List
    • User Info
    • Members Poll
    • Shoutbox
  3. Upload config.php from php-files folder to your server.
    • You must delete config.php from php-files before proceeding.
  4. Upload upgrade.php from upgrade v4.01 folder to the admin folder on your server.
  5. CHMOD config.php to 777.
  6. Login to your site as the Super Administrator and click Upgrade via admin.
  7. Follow all on-screen prompts until you see "Database upgrade complete".
  8. Delete the following folders from your server:
    • fusion_admin
    • fusion_core
    • fusion_forum
    • fusion_languages
    • fusion_panels
    • fusion_themes
  9. Rename the following folders:
    • fusion_images to images
    • fusion_public to forum
  10. Move the avatars folder from the forum folder to the images folder
  11. Upload the contents of the php-files folder to your server.
  12. CHMOD config.php back to 644.
  13. Ensure the following folders are CHMODed 777:
    • administration/db_backups/
    • images/
    • images/articles/
    • images/avatars/
    • images/news/
    • images/photoalbum/
    • forum/attachments/
5. Additional Notes
Please note that most of PHP-Fusion's infrastructure has been completey overhauled since v4x and v5x. Whilst most definitions have been renamed, a number have been dropped completely as they are no longer required. The following table lists definitions used in v4x, v5x and v6x.

v4xv5xv6x
fusion_rootFUSION_ROOT-
fusion_baseFUSION_BASEBASEDIR
-FUSION_ADMINADMIN
-FUSION_IMAGESIMAGES
-FUSION_IMAGES_AIMAGES_A
-FUSION_IMAGES_NIMAGES_N
-FUSION_INCLUDESINCLUDES
fusion_langdirFUSION_LANGUAGESLOCALE
-FUSION_LANLOCALESET
-FUSION_FORUMFORUM
-FUSION_INFUSIONSINFUSIONS
-FUSION_PHOTOSPHOTOS
-FUSION_PUBLICPUBLIC
fusion_themedirFUSION_THEMESTHEMES
-FUSION_THEMETHEME
$user_ipFUSION_IPUSER_IP
-FUSION_QUERYFUSION_QUERY
$PHP_SELF$PHP_SELF/FUSION_SELFFUSION_SELF
-FUSION_PREFIXDB_PREFIX
$fusion_prefix$fusion_prefix$db_prefix
User Definitions
Guest()iGUESTiGUEST
Member()iMEMBERiMEMBER
Moderator()iMOD-
Admin()iADMINiADMIN
SuperAdmin()iSUPERADMINiSUPERADMIN
UserLevel()iUSERiUSER
-USER_RIGHTSUSER_RIGHTS
-USER_GROUPUSER_GROUP

You must ensure that any modified code utilises the definitions under v6, also note that infusions developed for v5x are not compatible with v6 due to changes in the infusion system.
6. Support sites
If you have any questions or problems regarding PHP-Fusion, please visit the main development site at www.php-fusion.co.uk and post a message on our forums. Alternatively you can visit our IRC chat support channel at irc.cad-net.org/phpfusion.

PHP-Fusion can be expanded by adding Infusions, these are plugins which are extremely easy to install. You can find a variety of useful Infusions on our mod site at www.phpfusion-mods.com.

If you are not satisfied with PHP-Fusion's bundled themes you may want to visit our official theme site at www.phpfusion-themes.com where you will find a variety of high quality themes.

PHP-Fusion also has a number of official foreign language support sites based in Belgium, Denmark, France, Germany, Iran, Lithuania, Netherlands, Poland, Sweden, Taiwan and Turkey.
7. Acknowledgements
Thanks to the following for their additional work:

CrappoMan - Additional code and mySQL routines
Shedrock - Additional Themes and Administration icons
Janmol - Market research & additional design concepts
KEFF - For silly ideas that aren't actually silly!
Rayxen - Additional code & mods
Sheldon - Tech support & additional hosting

3rd Party Scripts:
TinyMCE - A HTML WYSIWYG editor by Moxiecode.
PHPMailer - A sendmail class with SMTP support by Brent R. Matzelle.
HTTPDownload - A download handler class by Nguyen Quoc Bao.