home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1998 February / PCOnline_02_1998.iso / filesbbs / dos / nbeta087.exe / CONFIGS.EXE / FILEAREA.CTL < prev    next >
Encoding:
Text File  |  1996-02-04  |  6.1 KB  |  152 lines

  1. ;
  2. ; NanoBBS - Copyright 1993-96 Whirlwind Software
  3. ;
  4. ; FILEAREA.CTL - a file area config file for NanoBBS.
  5. ;
  6. ; Make sure to check out the File Groups definitions at the end of the
  7. ; file!
  8. ;
  9. ; The examples below illustrate most of the commands available in this
  10. ; file; here is a complete listing:
  11. ;
  12. ; FILEAREA {number} - Starts a file area definition.
  13. ; FILEAREA @NEXT    - Starts a file area definition, gives the new area
  14. ;                     an area number one higher than the last one
  15. ; FILEAREA @NEXT 10 - Starts a file area definition, gives the new area
  16. ;                     an area number 10 higher than the last one
  17. ; NAME {Area Name } - Defines the file area's name
  18. ; DOWNLOAD {path}   - Defines where the files themselves exist
  19. ; UPLOAD {path}     - Defines where files should be uploaded
  20. ; FILESBBS {path}   - Defines where the FILES.BBS file lives.  This is
  21. ;                     optional; if it is not used FILES.BBS will be expected
  22. ;                     in the same directory as DOWNLOAD.
  23. ; AGE {age}         - The minimum age needed to access the area
  24. ; CDROM             - This means the area is on a CD.  Files are copied to a
  25. ;                     temporary directory prior to downloading.
  26. ; ACCESS {access}   - Defines the access needed to use the area.
  27. ; ULACCESS {access} - Defines the access needed to upload in the area.
  28. ; DLACCESS {access} - Defines the access needed to download in the area.
  29. ; KEYS {keys}       - Defines the key(s) needed to use the area.
  30. ; ULKEYS {keys}     - Defines the key(s) needed to upload in the area.
  31. ; DLKEYS {keys}     - Defines the key(s) needed to download in the area.
  32. ; NOUPLOADS         - Uploading is not allowed in the area.
  33. ; GROUP {number}    - The GROUP number to which the area belongs
  34. ; PCBSTYLE          - The FILES.BBS file has the file's time and size included
  35. ;                     in the description, similar to a PC-Board DIR listing.
  36. ;                     This is for compatibility with some CD-ROMs, notably
  37. ;                     Monster Media.
  38. ; INDENTDESC        - This indicates that long file descriptions are
  39. ;                     continued by indenting them with three or more
  40. ;                     spaces.  This is for compatibility with some weird
  41. ;                     FILES.BBS files found on some CD-ROMs.  Do not use
  42. ;                     this indiscriminately or some comment lines might not
  43. ;                     display properly.
  44. ; END               - End the area's definition.
  45. ;
  46. ; You may also demarcate file areas by content type, CD-ROM residence, file
  47. ; distribution network or whatever criterion you like by grouping them
  48. ; together and partitioning them with dividers.
  49. ;
  50. ; DIVIDER           - Start a divider definition (no parameters)
  51. ; DISPLAY           - Text to display in the divider (see SysMsg 345 in the
  52. ;                     language file)
  53. ; FILENAME {name}   - Display filename specified by {name} instead of
  54. ;                     SysMsg 345
  55. ; AGE {age}
  56. ; ACCESS {access}
  57. ; KEYS {keys}       - AGE, ACCESS and KEYS enable or suppress the divider
  58. ;                     in much the same way they do for file areas
  59. ; END               - End the divider's definition
  60. ;
  61.  
  62. FileArea                1
  63.         access          10
  64.         name            General Upload Files
  65.         Download        c:\file\upload\
  66.         Upload          c:\file\upload\
  67.         group           1
  68. end
  69.  
  70. FileArea                2
  71.         access          10
  72.         name            Shareware Games
  73.         Download        c:\bbs\files\games\
  74.         Upload          c:\bbs\files\screen\
  75.         group           1
  76. end
  77.  
  78. divider
  79.         display         Adults Only - Adult Files
  80.         age             21
  81. end
  82.  
  83. FileArea                3
  84.         access          200
  85.         name            Naughty Adult Pictures
  86.         download        c:\bbs\files\adult\
  87.         upload          c:\bbs\files\screen\
  88.         age             21
  89.         group           3
  90. end
  91.  
  92. ; These commented-out include directives point to example files which, with
  93. ; a little path tweaking, should work perfectly for you with Night Owl
  94. ; Shareware #15 and #16, Monster Media #10, PC Sig #14, and The Hacker
  95. ; Chronicles ][ respectively.  I recommend creating a set of shadow
  96. ; directories on hard disk for each directory on each CD, and each of those
  97. ; directories should contain only the FILES.BBS from the CD. Night Owl and
  98. ; Hacker Chronicles FILES.BBS files should work out of the box.  See the
  99. ; header in PCSIG14.CTL for some hints on getting PC Sig #14 to work with
  100. ; NanoBBS.
  101.  
  102. include NOPV15.CTL
  103. ;include NOPV16.CTL
  104. ;include MM10.CTL
  105. ;include PCSIG14.CTL
  106. ;include THC2.CTL
  107.  
  108. ;----------------------------------------------------------------------
  109. ;
  110. ;  File Group Definitions - This section defines whether to use File
  111. ;  Groups and the names and access levels of the groups.  There can
  112. ;  be up to 256 groups from 0 to 255, and they are listed in the order
  113. ;  defined here, which need not necessarily be in numeric order.  Use
  114. ;  the GROUP command in your FILEAREA.CTL to define which groups each
  115. ;  area belongs to.  Any area not having a group is deemed to be in
  116. ;  group 0, which is included here as a "leftovers" group at the end of
  117. ;  these definitions.  See NANOBBS.DOC for a thorough explanation of file
  118. ;  groups.
  119. ;
  120. ;  In a nutshell, File Groups are simple groups of file areas that are
  121. ;  arranged by topic or in some other order, to make it easier for users
  122. ;  to find a specific file area.  This is most useful for systems with
  123. ;  many file areas.
  124. ;
  125. ;----------------------------------------------------------------------
  126.  
  127. ;
  128. ; The syntax of this section is really very simple.
  129. ;
  130. ; FILEGROUP {filegroup} starts a group definition
  131. ; NAME is the name of the group
  132. ; ACCESS is the access level needed
  133. ; KEYS are the user keys needed
  134. ; END ends the file group's definition.
  135. ;
  136.  
  137. filegroup       1
  138.         name    General Files of Interest
  139.         access  10
  140. end
  141.  
  142. filegroup       2
  143.         name    CD-ROM Files
  144.         access  10
  145. end
  146.  
  147. filegroup       3
  148.         name    Naughty Adult Files
  149.         access  200
  150. end
  151.  
  152.