home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Crawly Crypt Collection 1
/
crawlyvol1.bin
/
bbs
/
filbase2
/
filebase.doc
< prev
next >
Wrap
Text File
|
1992-06-02
|
9KB
|
225 lines
FILEBASE the File database creator Written by Paul Baker , The Tavern BBS
--------------------------------------------------------------------------
--->>>This Version of Filebase is for use on Turbo V2 BBS ONLY!<<<---
=========================================================
-: FNET NODE 1042 :-
If you are running this program for the first time follow these instructions
otherwise skip them and go onto the section titled MACROS.
If you are using an earlier version of Filebase that ISN'T V2 specific then
I suggest you run CREATE as below and Choose R for rename when asked, this
is due to the fact that the new .INF has more entries than the old one.
If you are using a V2 specific version of Filebase then just replace the old
.TTP with the new one.
The archive
-----------
Your Archive should contain the following files
FILEBASE.TTP - This is the actual program file
FILEBASE.EXP - Example FILEBASE.INF
FILEBASE.DOC - You are reading it
FILEBASE.FUL - Header for the top of the FULL filelist (optional)
FILEBASE.LAT - Header for the top of the LATEST files list (optional)
FILEBASE.ALL - Header for the top of each seperate file area list (Optional)
FILEBASE.IN - Header put inbetween each file section in the FULL and
LATEST filelists. (Optional)
Starting Filebase from scratch
------------------------------
Run CREATE.PRG for create a basic FILEBASE.INF file
1) Make sure you run it from your main bbs directory as it has to have
access to your turbo.opt.
2) The program will then read the drives , directory names and paths that it
needs and will display them on screen as it does so, it will then write
out a FILEBASE.INF file.
3) You need to edit FILEBASE.INF with a text editor to do the following :
a) Enter the maximum file access level that you want listed
b) Enter either a 1,2 or 0 depending if you want it to create ROOT1.TXT
or ROOT2.TXT or not create a header file , you can then create your
own ROOT1.TXT.
(see filebase.exp for further details and examples)
c) You have 2 Options if you do not want some of your file sections to be
accessable by others.
1) Make the access level next to the File area name 32767 and the
list will still be produced , but ONLY you will be able to view
it and it won't appear in the Full or xxDays listings.
2) Delete the lines containing names of any directories that you do
not wish to be listed, if you do delete any please make sure you
reduce the number above the directory names accordingly.
d) The newly created FILEBASE.INF has an access level of 0 set just after
the Directory name, if you change these values , then only users of
that value or above will be able to view it.
(see filebase.exp for examples)
e) If you wish to have your own descriptions of your file areas instead of
just the file directory names, Enter the descriptions you wish to be
included in the database menu, by deleting the ! after the comma and
replacing it with your own text.
(see filebase.exp for further details and examples)
f) Enter the FULL path of the database you want filebase to create
, minus the last \ e.g. e:\turbo\filebase\ becomes just
e:\turbo\filebase
g) Enter the FILENAME.EXT (Without a path) of the full filelist you want
to be created (I have mine set to TAVERN.TXT to identify the BBS), If
you leave it blank then FULL.TXT will be used as a default.
h) Enter the FILENAME.EXT (Without a path) of the last XX Days Uploads
list , leaving it blank will make it default to XXdays.txt
[If you don't require the full List or XXdays list you MUST still leave a
blank line in these spaces]
i) If you wish any extra files not created by Filebase itself to be
kept in the Database (An archived Filelist for example) , the lines
following the xxdays.txt list name will allow you to do this.
The first line is the number of extra files you want to add.
(Make the line 0 if you don't want to add any)
This is followed by THREE lines per file , one for the filename
(No Path) , the second is the files access level and the third is
for the description to appear in the database.
[See Filebase.exp for examples and further details]
If you add another download directory at a later date , just add the folder
name to the current list of folder names in FILEBASE.INF, making sure you
follow the following format and also remembering to increase the number
above the folder names by 1.
Folder Name,Access Level,Description
MACROS
------
The Optional Text files used as headers in Filebase have Macros, this allows
you to put the information anywhere in the text file.
#SECTION - This will be replaced by the name of the current download
section being read.
#LISTINGDT - This will be replaced by the current Date
#TIME - This will be replaced by the current Time
e.g.
---------------------------------------------------------------------------
| The Tavern BBS Turbonet 100:101/11 Fidonet 2:255/408 |
| |
| #SECTION |
| |
| Files are sorted so most recent are at top |
---------------------------------------------------------------------------
List Last Updated on #LISTINGDT at #TIME
will be shown as
---------------------------------------------------------------------------
| The Tavern BBS Turbonet 100:101/11 Fidonet 2:255/408 |
| |
| GRAPHICS |
| |
| Files are sorted so most recent are at top |
---------------------------------------------------------------------------
List Last Updated on 14.10.1992 at 12:34
Running Filebase.ttp
--------------------
The Program accepts 7 parameters S , F , U , R , P , L & C
( It doesn't matter in what order you put the above commands)
S - Sorts the files into alphabetical order
F - Produces a Full list of everything in all the File sections
U - needs to be followed by a delimiter, it shows files that have been
recently uploaded/added within a specified number of days from the
current day.
[ Both the Full List and xx days Upload List will NOT show those file
areas which have an access level greater than the lowest access level
in the FILEBASE.INF file ..e.g....
You have 10 file area lists, 2 of which are sysop support (Say level 20)
the rest are at level 0 to allow new users to view or download.
Only those people at level 20 or above will be able to view the text
files for the Sysop Support Areas , when it comes to writing out the Full
or Upload lists , the program will skip the level 20 file areas and only
write out the level 0 file areas. ]
R - Stops the Seperate download section lists being produced, it will only
write out the files created using the F and U options, if you only want
these lists produced.
P - Will Print out the full description of the download next to the filename
instead of the shorter 1 line description.
L - Needs to be followed by the FULL path and filename of the file to be
created, it will print out a Full list of files available WITHOUT the
menu being created, this could be used for those boards who are running
FIDO style mailers and want to have a full list available for FREQ
by other mailers.
NB: if you use option L you can only access the S,P & C parameters at
that time.
C - Will add a box [ ] with the Access Count for that file and the
Percentage rating given to that file to the description.
Some Examples
-------------
FILEBASE SFU 28
will sort the files alphabetically in the database and provide a
full list ,( I also archive this using a batch file into another
database entry) and the U 28 will show all files added to the
BBS within the last 28 days.
FILEBASE RSFPUC 28
Will only sort and write out a full list and the last 28 days
upload list, print the full description of each file instead
of a single line and add the Access count and % rating for each
file.
FILEBASE LSP E:\TURBO\TXT\FILELIST.TXT
Will create just a single file with no menu where the full
descriptions are used and the entries are alpha sorted.
I have in my Daily.Bat the following command line.
d:\turbo\filebase.ttp FUPC 28
The Program maintains it's own 'Main Menu' unless L is used in which case no
menu is produced.
I hope you find this useful.
Paul Baker The Tavern BBS Node: 1042