Readme for DMTG-PHP version 1.0
This is not meant to be used as a specific manual, the whole thing seems
pretty much self explanatory. This is for just the specific points I'd like to
point out.
- For graphics to be displayed, your PHP server must have GD library module
version 2.0 or better, installed. This is an open source graphics library.
Here's a list of URL's you may find useful in your search for this module (if
you do not have it).
- This script-set does not make use of any SQL servers. This is deliberate,
to make it easier to control the data stored on the server (when things go
wrong, etc). Instead, these scripts make use of plenty of variables stored in
plenty of files. This has a certain requirement on your server for you to set
directory permissions, to make it possible to create these files. This is
mainly a Unix problem, but has caused some problems in windows.
- Unix:
CHMOD your directories, 0666 should suffice, but I know 0777
works. - Windows:
If you're using IIS, it's easier to set the default anonymous
user for this directory, to a user stored on the system who carries quite a
few privaliges, like the Administrator. (I don't know if a lower-class user
would work, but this is my set-up).
If you're using Apache, or any other web server, I'm not sure
if it's a problem or not, and if it is, I guess you're on you're own..
The directories that need writing permissions, if you do not wish to grant
them all, the required ones are:
- /counter
(if you're using the counter)
- /data
(stores tournament information, and match submission details)
- /data/submissions
(this directory should be created by the script. If it
already exists, make sure it's write-enabled)
- /messages
(this directory is the root for other directories that go by
the names of users, these directories should be created by the script.)
- /options
(contains the settings for the Welcome page, and the News
page.)
- /options/admin
(contains files which retain the settings of the site, set by
the administrators)
- /options/colours
(contains user-specific colour settings, which are saved
inside a sub-dir of the user's own nickname)
- /options/themes
(for the administrator. The admin can save, and restore
themes.)
- /users
(perhaps the most important of them all. This is where all
the user data is held)
- The scripts has support for languages. It's somewhat rudimentary, but it
can work. If you want to create your own translations, copy a directory
already in the '/lang' directory, and open each of the files and translate
what is between the quotes. You should see an extra option in the languages
section. If you've taken the time to translate something, and would like
others to benefit from your work, please send in your translated files, for me
to include with the download.
Should you encounter problems with this set of scripts, or have any
inquiries, you can e-mail me at:
robwilliams@myrealbox.com