News Stream / Read Me

Thank you for using News Stream! If you have any questions, or problems with NS, be sure to read over this thoroughly, as it will hopefully answer most questions.

// Requirements
PHP and a mySQL database.

// Installation/Upgrading
1. Unzip newsstream.zip.
2. Configure NS in 'configure.php'.
3. If you are installing for the first time, upload the folder 'newsstream', and all of its contents to your site.
B) If you are upgrading, upload just the contents of the 'upgrade' folder to your 'newsstream' directory and overwrite the old files.
4. Run the installation script if you are installing for the first time. (install_1.php)
B) If you are upgrading, run the upgrade script. (upgrade_1.0.php)
5. Delete the following files:
install_1.php (if you installed)
install_2.php (if you installed)
install_3.php (if you installed)
uninstall_1.php (if you installed)
uninstall_2.php (if you installed)
upgrade_1.0.php (if you upgraded)
6. Login with the username/password you provided during installation by going to the 'admin.php' file in your 'newsstream' directory.

// Uninstallation
1. If they're not already there, upload uninstall_1.php and uninstall_2.php.
2. Run uninstall_1.php.

// Displaying news and headlines
Put the following code where you want to display news:
<? !--#include virtual="http://www.yoursite.com/newsstream/listnews.php" -->
or if that doesn't work, try this:
<? include("http://www.yoursite.com/newsstream/listnews.php") ?>

Put the following code where you want to display headlines:
<? !--#include virtual="http://www.yoursite.com/newsstream/headlines.php" -->
or if that doesn't work, try this:
<? include("http://www.yoursite.com/newsstream/headlines.php") ?>