home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / vdocs.zip / VC2E < prev    next >
Text File  |  1993-12-16  |  21KB  |  407 lines

  1. .TOPIC:                                           
  2. Database Configuration
  3.  
  4.                                            VBBS 6.12 Documentation -- 2-E-1
  5.  
  6.  
  7.          ╔════════════════════════════════════════════════════════════════╗
  8.          ║ CHAPTER 2 ANNEX E      3. DATABASE CONFIGURATION               ║
  9.          ╚════════════════════════════════════════════════════════════════╝
  10.  
  11.                 At the heart of VBBS are the DATABASES.  They are used for
  12.          such functions as message bases, file directories, and various
  13.          other creative functions that might be, for example, part of a
  14.          custom script-based application.  Databases may be set up or al-
  15.          tered in VCONFIG at any time, and the only limit to the number of
  16.          databases you can have is the amount of storage space on your
  17.          hard drive.
  18.  
  19.          ╔═╗   Most sysops spend the greater portion of their time spent
  20.          ╚═╝   in VCONFIG adjusting existing databases and adding or de-
  21.                leting databases, so this section of the documentation is
  22.                of particular importance.  For this reason, we'll take a
  23.                little extra time going over the principles behind data-
  24.                bases, topic areas, and their use.
  25.  
  26.              There are three basic types of databases: message data-
  27.          bases, file databases, and other databases.  All databases may
  28.          be set up and grouped into TOPIC AREAS.  Each topic area needs
  29.          its own DBGROUP identifier, which may be any letter, number or
  30.          symbol from ascii characters 33 to 255.
  31.  
  32.          ╔═╗    We'll hold off on discussing topic areas in detail until
  33.          ╚═╝    after we get through learning about databases and how to 
  34.                 configure them and we know what a "function block" is.
  35.  
  36.                 When you enter the DATABASE configuration screen, you
  37.          are presented a scrolling menu of choices:
  38.  
  39.          ∙ Message Databases
  40.          ∙ File Databases
  41.          ∙ Custom Databases
  42.          ∙ Sort Database Configuration
  43.          ∙ Compile Network Info
  44.  
  45.          We'll take a moment to describe each option in detail.
  46.  
  47.  
  48.          Message Databases
  49.          ═════════════════
  50.                 Message bases, also known as "message subs" or simply
  51.          "subs", are databases in which messages are stored.  Subs may be
  52.          about a specific topic, or they may simply be "chat"-type subs
  53.          in which people can write messages, or "post", about whatever is
  54.          on their minds.
  55.                 In VBBS, message subs are automatically pathed to the
  56.          \VBBS\DB directory when you run INSTALL.EXE.  If you want to put
  57.          them somewhere else (I have mine on the larger of my two hard
  58.          drives), you need to specify a separate path using the PATHS
  59.          configuration (this is discussed in the next manual section).
  60.  
  61.                                            VBBS 6.12 Documentation -- 2-E-2
  62.  
  63.  
  64.          File Databases
  65.         ═══════════════
  66.                 The file databases work in much the same way as the mes-
  67.         sage bases, except that they store actual files instead of mes-
  68.         sages.  The major difference between the way file and message 
  69.         databases are set up is that while message bases are automatic-
  70.         ally pathed to the \DB directory during the installation process, 
  71.         each file database requires a unique, specific DOS path, which 
  72.         you, the sysop, have to supply. The file directory must be 
  73.         physically made by the SysOp in DOS, and the files placed there.
  74.         To 'upload' these files locally, the SysOp uses the 'Z' command on
  75.         the Transfer Menu where he will be prompted to add descriptions.
  76.                 Like message databases, file databases may be grouped in-
  77.         to topic areas by giving each topic a unique letter DBGROUP
  78.         identifier.
  79.  
  80.  
  81.          Other Databases
  82.          ═══════════════
  83.          Custom databases may be set up to work in conjunction with
  84.          script-based applications. Entries in custom databases, be
  85.          they text or screens, may be called up from scripts using
  86.          the DISPLAYTEXT and related script commands.
  87.  
  88.  
  89.          Configuring and Editing Databases in VCONFIG
  90.          ════════════════════════════════════════════
  91.  
  92.          K) DB Group:
  93.             ════════
  94.                 This is a letter, number or symbol from ascii characters
  95.                 33 to 255 which designates which database topic group
  96.                 this database belong to.  See "Setting up Topic Areas"
  97.                 for details.
  98.  
  99.          --> IMPORTANT NOTE:  It is NOT necessary to create a new
  100.                               database group each time you wish to add
  101.                               a new database.
  102.  
  103.          1) File Name
  104.             ═════════
  105.                 This is the eight-character-or-less name of the database
  106.                 file, entered in ALL CAPS.  It is also a good practice to
  107.                 avoid "odd" characters such as "#", "!", "%", and the
  108.                 like in these filenames, as they might confuse the soft-
  109.                 ware.
  110.  
  111.          --> IMPORTANT NOTE:  Even though message databases don't have 
  112.                               an actual DOS directory, they have to have
  113.                               unique filenames; this is for VBBS' data-
  114.                               base configuration files.
  115.  
  116.          ╔═╗    The importance of giving databases UNIQUE filenames can't
  117.          ╚═╝    be overemphasized.  Database entries that have the same
  118.                 DB name and DB path specify the SAME database!  Don't use
  119.                 a particular filename more than ONCE across all databases
  120.                 -- message, file, and custom.
  121.  
  122.                                            VBBS 6.12 Documentation -- 2-E-3
  123.  
  124.  
  125.          ╔═╗    New sysops sometimes forget and use a filename more than
  126.          ╚═╝    once in their configuration; while this doesn't do any
  127.                 damage per se, it is embarrassing to have your file
  128.                 descriptions show up as posts on networked message
  129.                 bases.
  130.  
  131.          2) Files Path
  132.             ══════════
  133.                 Enter a path in this field ONLY if you are creating a
  134.                 FILE database or a CUSTOM database that uses messages or
  135.                 files.  If you're setting up a message database, leave
  136.                 this field blank; VBBS automatically paths message bases
  137.                 to the \DB directory.  Again, avoid "odd" characters and
  138.                 and lower-case letters.
  139.  
  140.          3) Long Name
  141.             ═════════
  142.                 This is the longer, more descriptive database name that
  143.                 is displayed to the user, like "Virtual BBS/NET Support".
  144.  
  145.          4) Private? (Y/N)
  146.             ══════════════
  147.                 This switch is for special uses only; you should set
  148.                 this to NO when creating public-access message and file
  149.                 databases.
  150.  
  151.          5) Max Entries
  152.             ═══════════
  153.                 Defines the desired size of the database (in messages or
  154.                 files, not bytes).  A value of 0 in this field allows un-
  155.                 limited message/file storage; a number in this field sets
  156.                 a limit on the number of messages/files.  
  157.  
  158.                 When VBBS runs daily maintenance, it will "pack" the 
  159.                 database down to size by removing enough of the oldest 
  160.                 messages to bring the database back to the specified
  161.                 limit.  Beginning sysops sometimes wonder why they have
  162.                 84 messages in a database they've configured for 50
  163.                 messages; daily maintenance would, in this case, remove
  164.                 the 34 oldest messages, bringing the total back to 50.
  165.  
  166.          ╔═╗    For file databases, you should set the limit to 0 unless
  167.          ╚═╝    hard-drive space is at a premium; if you put enough new
  168.                 files in a limited database to take it over the limit,
  169.                 VBBS will pack that file database just like any other.
  170.                 Fortunately, however, the files will NOT be erased; they
  171.                 will simply become unavailable for download.
  172.  
  173.          ╔═╗    Gauging the proper limit for a message database is largely
  174.          ╚═╝    a matter of trial and error.  For "slow" message bases,
  175.                 you'll want to keep the limit fairly low to keep messages
  176.                 turning over.  For active subs -- like large FIDOnet and
  177.                 InterNet conferences -- you may want to set it as high as
  178.                 500 or 1000.  It's NOT a good idea to enter a 0 in 
  179.  
  180.                                            VBBS 6.12 Documentation -- 2-E-4
  181.  
  182.  
  183.                 this field for a message base; for example, on the Vir-
  184.                 tualNET Sysops' Sub, it would take less than a month to 
  185.                 accumulate over 3000 messages!
  186.  
  187.          6) Read SL
  188.             ═══════
  189.                 This is the minimum security level needed to access (read)
  190.                 the database.  If the user's SL is less than this value,
  191.                 the database will not show up in his listing.
  192.  
  193.          7) Write SL
  194.             ════════
  195.                 This is the minimum security level needed to write (post)
  196.                 in the database.  If the user's SL is less than this
  197.                 value, the database will not allow input (or uploads)
  198.                 from her.
  199.  
  200.          8) Access Flag
  201.             ═══════════
  202.                 This setting defines what access flag (if any) must be
  203.                 set in the user's account to access the database.  This
  204.                 value may be NONE or a letter from A to Z.  If set to a
  205.                 letter, the user must have a matching access flag in his
  206.                 account information in order to access the database.  Ac-
  207.                 cess flags are set in the user editor (see "The User Edi-
  208.                 tor" for details).
  209.  
  210.          ╔═╗    Access flags are useful for restricting access to certain
  211.          ╚═╝    databases to certain users.  For example, if you wanted
  212.                 to have a sysops-only sub, you could enter an 'S' in
  213.                 this field and give visiting sysops an 'S' access flag;
  214.                 they would be the only users who could access the data-
  215.                 base (unless, of course, there were other users who also
  216.                 had the same flag).
  217.  
  218.          9) Age Limit
  219.             ═════════
  220.                 The minimum age a user must be in order to access the
  221.                 database.  For example, a value of 18 in this field would
  222.                 require that a user be at least 18 years old to have ac-
  223.                 cess to the database.
  224.  
  225.          --> IMPORTANT NOTE:  A quick word about database access control 
  226.                               and adult-oriented material ... while VBBS 
  227.                               *does* offer a high level of security, NO 
  228.                               software that restricts access to materials 
  229.                               on the basis of age can protect a sysop 
  230.                               from underage users who lie about their age 
  231.                               in order to get adult-oriented materials.  
  232.  
  233.                               As sysop of your BBS, it is your responsi-
  234.                               bility to be aware of federal, state, and
  235.                               local laws regarding the distribution of 
  236.                               and access to adult-oriented material.  In
  237.                               no case will the author of VBBS or the au-
  238.                               
  239.  
  240.                                            VBBS 6.12 Documentation -- 2-E-5
  241.  
  242.  
  243.                               thors of the documentation be held respon-
  244.                               sponsible for underage users gaining access 
  245.                               to adult-oriented materials on your BBS.
  246.  
  247.          A) Tagline
  248.             ═══════
  249.                 This instructs VBBS which tagline (if any) to append to
  250.                 messages posted in the database.  If set to zero or left
  251.                 blank, no tagline is added (see "System Taglines" for
  252.                 more information).
  253.  
  254.          B) Random Titles
  255.             ═════════════
  256.                 This setting specifies which random title file to use in
  257.                 messages, and is disabled if set to zero.  The range for
  258.                 this value is 1 to 999; specifying a value here instructs
  259.                 VBBS to look for the file RNDTITLE.xxx (where "xxx" is
  260.                 the entered value, without leading zeroes <for example,
  261.                 RNDTITLE.1, not RNDTITLE.001>) in your \TXT directory.  
  262.                 Entries in RNDTITLE.xxx may be made using an ASCII text 
  263.                 editor and should be made one per line in this file.
  264.  
  265.          ╔═╗    It should be noted that the current line of thinking on
  266.          ╚═╝    VirtualNET (at least) is that message titles should be
  267.                 descriptive of the contents of the message, not simply
  268.                 assigned at random.  Many users -- and especially other
  269.                 sysops -- will simply skip oddly-titled messages when
  270.                 doing a new-message title scan.
  271.  
  272.          C) Name Used
  273.             ═════════
  274.                 This setting defines the name used in the database.  The
  275.                 possible settings are HANDLE, REAL NAME, or ANONYMOUS.  
  276.  
  277.                 Note that message bases marked "Anonymous" do not allow
  278.                 quoting of previous messages, and that the posting user's
  279.                 real name or handle will show up locally.  Remote users
  280.                 will see "-- ANONYMOUS --" or "-- Guess Who? --" on their
  281.                 screen.  In addition, there is some question as to whe-
  282.                 ther "Anonymous" posts remain anonymous on networked mes-
  283.                 sage bases.
  284.  
  285.          D) QWK Conference
  286.             ══════════════
  287.                 This setting defines the database's QWK conference num-
  288.                 ber as used by QWK-format offline mail readers.  The
  289.                 range for this value is from *2* to 255, and each QWK
  290.                 conference assignment MUST be unique to the particular
  291.                 database.  QWKable message bases are marked with a "!"
  292.                 in the subs listing.
  293.  
  294.  
  295.          When you have configured a database to this point, VCONFIG will
  296.          shift to the display of message bases in whichever topic area
  297.          the database is included.  It will prompt you to tell it where 
  298.  
  299.                                            VBBS 6.12 Documentation -- 2-E-6
  300.  
  301.  
  302.          to insert the new database, even though there are still options
  303.          which may need to be configured.  Don't panic.  This is an added
  304.          level of organization that helps prevent the networks from being
  305.          flooded with messages from subs that have accidentally been mis-
  306.          configured.  It's not infallible, but it DOES help.  The addi-
  307.          tional configuration options are described below.
  308.  
  309.  
  310.          E) Database Co-Sysop
  311.             ═════════════════
  312.                 Some sysops allow trusted users to moderate discussions on
  313.                 local message bases; this setting defines the co-sysop, 
  314.                 sub sysop, or moderator for the database.  Leaving this 
  315.                 field blank disables this feature; any nonzero value spe-
  316.                 cifies the user number of the moderator.  The moderator 
  317.                 information is displayed in the message sub listing.
  318.  
  319.          ╔═╗    Having a user serve as message-sub sysop can be a good
  320.          ╚═╝    way of breathing a little life to a sub that's been "down
  321.                 in the dumps", especially if the user has strong opinions
  322.                 on the topic at hand.  Just make sure the user knows about
  323.                 any policies you might have regarding message content,
  324.                 etc.
  325.  
  326.          F) Req Net Validation
  327.             ══════════════════
  328.                 If you wish to review posts before they are transmitted
  329.                 out to any networks, turn this option ON.  Post valida-
  330.                 tion is handled via the [V] option from the Sysop Menu
  331.                 within VBBS.
  332.  
  333.          --> IMPORTANT NOTE:  This switch needs to be set to YES for the
  334.                               VirtualNET non-secured subs (the ones that
  335.                               are preset in VBBS) and support subs
  336.                               such as the "Virtual BBS/NET Support Sub".
  337.                               Net validation may also be required for
  338.                               some VirtualNET "secured" subs; contact the
  339.                               sub's host sysop via E-mail for specifics.
  340.  
  341.          G) Networks Configuration
  342.             ══════════════════════
  343.                 Selecting this option allows you to edit the network con-
  344.                 figuration for the database.  If you wish the database to
  345.                 be LOCAL ONLY, set this to NONE.
  346.  
  347.                 If you wish the database to be networked, you must con-
  348.                 figure the network and network sub/conference identifier.
  349.                 VCONFIG will prompt you for the network, then for the
  350.                 identifier.  The format of the identifier will vary from
  351.                 network to network.
  352.  
  353.                 For Type 1 (VNET.EXE-based) and Type 2 (VWW4.EXE-based)
  354.                 networks, the identifier is a number; for Type 3
  355.                 (VUUCP.EXE-based) and Type 4 (VFIDO.EXE-based) networks,
  356.                 the identifier is a string.  Type 5 (VNET2.EXE-based) net-
  357.  
  358.                                            VBBS 6.12 Documentation -- 2-E-7
  359.  
  360.  
  361.                 works are still in the experimental stage as of this wri-
  362.                 ting, and more network utilities are in development such
  363.                 as VRIME and VQWKNET.
  364.  
  365.                 You can configure a database to be on one network or on
  366.                 several networks.  Configuring a database to be on mul-
  367.                 tiple networks (there is theoretically no limit) creates
  368.                 a "gateway" between two or more networks (the common term
  369.                 is "gating").
  370.  
  371.          --> IMPORTANT NOTE:  Prior to establishing a gateway connection,
  372.                               you should obtain permission from any con-
  373.                               ference or message base host/moderator sys-
  374.                               ops involved.
  375.  
  376.                               The networking utilities VWW4.EXE, VUUCP.EXE,
  377.                               and VFIDO.EXE are available to sysops and
  378.                               are fully operational in the DEMO version
  379.                               of VBBS. They are automatically
  380.                               inactivated if VBBS remains unregistered
  381.                               after 60 days.
  382.  
  383.          Database Considerations
  384.          ═══════════════════════
  385.  
  386.                 There are some things to keep in mind when setting up or
  387.          reconfiguring databases:
  388.  
  389.          ╔═╗    Setting up more databases is easy -- simply add them into
  390.          ╚═╝    existing topic area(s) where they belong.  When you
  391.                 add message databases, you MUST  SORT and COMPILE your
  392.                 configurations using the appropriate commands from the
  393.                 initial DATABASE Configuration screen for the changes to
  394.                 take effect.
  395.  
  396.          ╔═╗    Plan out your file databases ahead of time; too many file
  397.          ╚═╝    databases can become unwieldy and hard to navigate (trust
  398.                 me on this one).
  399.  
  400.          ╔═╗    It's a good idea to periodically use VAREA to go through
  401.          ╚═╝    subs and cull out the ones that aren't getting much traf-
  402.                 fic (and there WILL be some eventually).  Whether you re-
  403.                 place them with new subs or just make do with fewer subs
  404.                 is up to you; just remember to keep your users in mind
  405.                 when choosing which subs to carry.
  406.  
  407.