Board.php
This
script creates a simple message board. Your visitors can add their own message
which will be available on your pages.
To show the Board is used template
'board.html'. These variables may be used here:
#%lcats%# |
It makes links to all first level categories |
#%info%# |
If the visitor just added a message to the Board, this shows an info that the massage has been added. |
#%messages%# |
All the messages in the Board |
To show each message is used
template 'board_message.txt'. Here you can use these variables:
#%text%# |
Message text |
#%link%# |
It's a link to send an email to the author if it was added by an unregistered user. If the message was added by a registered user, it's a link to page with info regarding this user. |
#%name%# |
Name of author of the message |
#%date%# |
Date when the message has been added |
To add a message, your visitors
have to go to http://www.yourdomain.com/linkupdirectory/board.php?action=add
The
form for adding a message is based on template 'board_add.html' where
can be used these variables:
#%lcats%# |
It makes links to all first level categories |
#%info%# |
If the visitor tried to add a message to the Board, but for some reason (missing field or so) it was rejected, it shows the reason. |
#%comment%# |
If the visitor tried to add a message to the Board, but for some reason (missing field or so) it was rejected, it shows entered text of the message. |
#%name%# |
If the visitor tried to add a message to the Board, but for some reason (missing field or so) it was rejected, it shows entered name. |
#%email%# |
If the visitor tried to add a message to the Board, but for some reason (missing field or so) it was rejected, it shows entered email. |