Copyright © 2002 - 2006 Nick Jones Version: 6.00.303 - Released: January 2006
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
Upload the contents of the php-files folder to your server. 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 Goto your website and run setup.php e.g. http://www.yourdomain.com/setup.php. Complete the setup process by following all on-screen prompts. 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. Please delete config.php and setup.php from php-files before proceeding. Upload upgrade.php from upgrade v6.00.1xx folder to the administration folder on your server. Login to your site as the Super Administrator and click Upgrade via admin. Follow all on-screen prompts until you see "Database upgrade complete". Upload the contents of the php-files folder to your server. 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. Uninstall all Infusions via infusions admin (v5.00 or v5.01 only). 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 Upload config.php from php-files folder to your server. You must delete config.php from php-files before proceeding. Upload upgrade.php from upgrade v4.01 folder to the admin folder on your server. CHMOD config.php to 777. Login to your site as the Super Administrator and click Upgrade via admin. Follow all on-screen prompts until you see "Database upgrade complete". Delete the following folders from your server: fusion_admin fusion_core fusion_forum fusion_languages fusion_panels fusion_themes Rename the following folders: fusion_images to images fusion_public to forum Move the avatars folder from the forum folder to the images folder Upload the contents of the php-files folder to your server. CHMOD config.php back to 644. 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.
v4x | v5x | v6x
fusion_root | FUSION_ROOT | -
fusion_base | FUSION_BASE | BASEDIR
- | FUSION_ADMIN | ADMIN
- | FUSION_IMAGES | IMAGES
- | FUSION_IMAGES_A | IMAGES_A
- | FUSION_IMAGES_N | IMAGES_N
- | FUSION_INCLUDES | INCLUDES
fusion_langdir | FUSION_LANGUAGES | LOCALE
- | FUSION_LAN | LOCALESET
- | FUSION_FORUM | FORUM
- | FUSION_INFUSIONS | INFUSIONS
- | FUSION_PHOTOS | PHOTOS
- | FUSION_PUBLIC | PUBLIC
fusion_themedir | FUSION_THEMES | THEMES
- | FUSION_THEME | THEME
$user_ip | FUSION_IP | USER_IP
- | FUSION_QUERY | FUSION_QUERY
$PHP_SELF | $PHP_SELF/FUSION_SELF | FUSION_SELF
- | FUSION_PREFIX | DB_PREFIX
$fusion_prefix | $fusion_prefix | $db_prefix
User Definitions
Guest() | iGUEST | iGUEST
Member() | iMEMBER | iMEMBER
Moderator() | iMOD | -
Admin() | iADMIN | iADMIN
SuperAdmin() | iSUPERADMIN | iSUPERADMIN
UserLevel() | iUSER | iUSER
- | USER_RIGHTS | USER_RIGHTS
- | USER_GROUP | USER_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.