Board Plus - Manual

Copyright Notice
This script is a freeware. You may distribute it by any way BUT you may not modify it!

Installation
Upload all files onto your server.
Set permissions:
- 777 data directory
- 777 for the directory where you want the board page to be created (it may be the directory where the scripts    live or any other directory)
- 666 file blacklist.txt in the data directory
Run setup.php. It installs the table we will need and creates some files.
Go to the admin area (both username and password are 'admin') and set all variables.
Now you can start to use the script. The board HTML page will be created immediately once the first message will be added. To add a message your visitors will go to '
board.php?action=add'.

Customization
All public pages are based on 'templates'. These are a common HTML pages editable in your favorite editor with some special tags which will be replaced by any value by the scripts. These tags look like #%someword%#. If you don't want some of these values to be available, just remove it from your template. All the templates may be found in the 'data/templates' directory. On the top of each public page is added content of file '_header.txt', on the bottom is added content of file '_footer.txt'. Both these files may be found in the 'templates' directory as well.

Below is a short description of each template and list of used variables.

To show the main board page (the page with messages) is used template 'board.html'. These variables may be used:

#%messages%#

The messages on the board. Each message is based on template 'message.txt' (see below)

#%phpurl%#

URL of your PHP directory  which you have entered in the Configuration.

To show each message on the board is used template 'message.txt'. These variables may be used:

#%title%#

Message title

#%text%#

Message text

#%link%#

A link going to the author's email

#%name%#

Name of the message author

#%date%#

Date when the message was added

#%ip%#

IP address of the author's computer

To show the form to add a message is used template 'add.html'. Used variables:

#%pageurl%#

URL of the Message Board page

The following variables are used when someone just tried to add a message but for some reason ihe message was rejected. This person gets the form back with entered values:

#%info%#

The reason why the message was rejected

#%title%#

Message title

#%comment%#

Message text

#%name%#

Name of the message author

#%email%#

Entered email address

Once a message is added, the person who written it can see a 'Thank you' page which is based on template 'added.html'. There is one variable only:
#%pageurl%# - URL of the Message Board page