home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / v611docs.zip / VMAIN611.ZIP / VC2-AE < prev    next >
Text File  |  1993-10-08  |  18KB  |  401 lines

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