/*
Copyright  2000 Ben O'Neill
newsPHP Readme
1.0.5
*/

You may not use this script on sites
with illegal or pornographic content.

The price of this script may change 
in the future.

Ben O'Neill cannot take responsibility
for loss of data, life or anything else. =)

1) About newsPHP
2) Installation
    a) UNIX
    b) Window NT/2000
    c) Upgrading
3) First-time Usage
4) Contacting us
5) What's New
6) Known issues, Potential bugs.
7) Places to visit
8) License

PLEASE READ howto.txt FOR INFORMATION
ON HOW TO USE THE MAILING LISTS, 
CREATING ADDONS AND CREATING EXTRA
LANGUAGE FILES.


***************
Please read the upgrading if you have
used newsPHP before because it's a lot
different this time!!
***************

///////////////////////////////////////
1) About newsPHP
///////////////////////////////////////

Please remember this is one of the first
ever releases and we know it's going to
have bugs, we also know it's not got everything
you want it to have. Stop by the PHORUMS!!

http:://sheepcow.nexen.net/phorum/

Some people wanted to know how secure
your password are. Well the config file
does have a bit of PHP at the top so it 
cannot be viewed via the web. But all
passwords are also encrypted using MD5.

MD5 is a very secure and is practically
impossible to hack. It cannot be 
decrypted. The script checks passwords
by encrypting the one you give it and
it'll compare them.


///////////////////////////////////////
2) Installation
///////////////////////////////////////

PHP 3.0.16 or above is required, but we
recommend PHP 4.

newsPHP has been tested on a Unix, SunOS
Windows 98 [PWS] and on Windows 2000
[IIS 5] systems.

To include the news onto your web site,
either use SSI include tags:

 <!-- include file="nphp/news.txt" -->

or using PHP:

 <?php
 include("nphp/news.txt");
 ?>

a) Unix installation is simple, unzip the
   zip file, and upload all the files in
   the nphp directory to a folder on your
   web site.

   CHMOD the following files to the
   following modes:
 

     nconfig.php      666
     news.txt         666
     newsdat.txt      666
     maillist.txt     666
     headlines.txt    666

   If you plan on using any categories,
   please create a blank text file and
   upload with a name rougly like the 
   category, you setup categories in
   newsPHP. Chmod the category file to
   666 as well.

   Goto the directory you uploaded the 
   files to in your web browser and goto
   nphp.php. ie:
    http://www.mysite.com/nphp/nphp.php

b) Windows installation is also simple,
   but you must make sure the directory
   nphp is uploaded to has an application.

   Upload all the files in the nphp directory.
   The web server must have write access to
   the directory.

   Goto the directory you uploaded the 
   files to in your web browser and goto
   nphp.php. ie:
    http://www.mysite.com/nphp/nphp.php

c) Upgrading newsPHP can be done by simply
   uploading the following files over 
   the ones on your web site, you will
   not loose any news or settings.

     nphp.php
     notices.php
     mailling.php
     maillist.txt [only if you do not have already]
     funcs.php
     logo.gif
     common.php
     104-105.php [NEEDED]

   You may need to CHMOD the files, see
   above for details.

   Once you have uploaded these files 
   you MUST goto:

     http://www.yoursite.com/nphp/104-105.php

   This will update your settings file,
   you won't loose any settings. Once the
   update is complete, delete 104-105.php and
   then you can use newsPHP again!
     

///////////////////////////////////////
3) First-time Usage
///////////////////////////////////////

The first-time you visit the script
there should be some text at the
bottom saying:

 "This appears to be the first time 
  you've run newsPHP. Click here to 
  configure newsPHP."

Click on the link and fill in all
the details. Please remember to fill
in the details at the bottom, where it
says UserName, Password and Email, these
values are used to create your level 3
user!!

///////////////////////////////////////
4) Contacting Us
///////////////////////////////////////

If you want to contact us, we recommend
using the phorums:
 
 http://sheepcow.nexen.net/phorum/

But incase you don't get an answer, please
email us at:
  
 sheepcow@planetunreal.com

///////////////////////////////////////
5) What's New
///////////////////////////////////////

v1.0.5

 * Added the v1.0.4 to v1.0.5 updater,
   this is a very tempormental script.

 * First time setup now allows you to
   create a user, hopefully this will
   inradicate the unable to login using
   default username/password problem.

 * Large amounts of changes in the notices
   file. Anyone who has started making a 
   translation is advised to start again
   from the example in this version. I
   am very sorry about this!

 * Added ?showphp debug feature
   to show PHP's settings, very
   handy for debugging.

 * Modify_ItemsPerPage setting combined 
   with ModifyPerPage and renamed to:
     ModifyLatest

 * Delimidators in nconfig file changed
   to <~-~> for easier viewing.

 * Moved where the $scripturl variable
   is set, it is now higher up in the 
   nphp.php file.

 * Variables renamed:
    = $NPConfig     - $nphpConfig
    = $NPUsers      - $nphpUsers
    = $NPGlossary   - $nphpGlossary
    = $NPCats       - $nphpCats

 * Functions renamed:
    = NPHTMLHead    - htmlHead
    = NPHTMLFoot    - htmlFoot
    = ReadQString   - ReadQuery

 * Files renamed:
    = nplib.php     - common.php
    = nsettings.php - nconfig.php
    = nplang.php    - notices.php

 * Mainpage HTML redesigned and 
   general conversion almost completed.

 * HeadlineDateFormat setting added
   into the settings page.

v1.0.4

 * Extensions
   can now be used and they'll work!

 * Works with PHP3
   I didn't realise how PHP3 did 
   requires differently to PHP4 and
   it couldn't find all it's functions,
   this has been fixed.

 * Mailing lists!
   You can now have people subscribe
   to your mailing list.

 * Bug fixes
   ( That was supprising. =) )

///////////////////////////////////////
6) Known issues and potential bugs
///////////////////////////////////////

The lists below are used by the
coders, so they list line number, 
what the code it about, and roughly
why it may cause a problem.

Known Issues:

 * The updater may have problems converting
    104 config files to 105.

 * Autolink coding = removed as it had
    some problems.

Potential Bugs:

 * xxxx-xxxx = Firsttime setup
               There may be problems in
               first time setup.


If you have any firsttime setup problems,

Edit the nsettings.php file on your hard
disk, and on the second line, replace:

 firsttime``x1

with:

 firsttime``x0

Then upload the file, remember to CHMOD
it to 666 if you are on a non-Windows server.

Then use the username and password in
the installtion section to login and 
create a new level 3 user, then delete
the default.

///////////////////////////////////////
7) Places to visit
///////////////////////////////////////

Here's some on my favourite places that
are well worth visiting:

 www.gamespy.com  -- The coolest games site
                     on the internet.
 
 www.extremeforums,com -- Need any help?
                     or just wanna talk
                     then come here!

 www.err-network.com -- One of my friends
                     new sites, well
                     worth visiting!!

 www.phorum.org -- The people that make
                   our phorum! =)

///////////////////////////////////////
8) License
///////////////////////////////////////

Copyright 2000 Ben O'Neill
All rights reserved.

This script is currently FREE of charge.
You may modify this script, but you may
NOT redistribute it in any way.

The price of this script may change in 
the future.

Web sites that display banners, or are 
commercial MUST display a link to the 
newPHP web site [this can be done
from in the 'Settings' option
or manually].

The authors cannot take responsibility 
for loss of data or anything else.

Website: http://sheepcow.nexen.net/
Email:   sheepcow@planetunreal.com