home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / comm / dguest10.lha / DlgVGUest.DOC < prev    next >
Text File  |  1993-03-31  |  10KB  |  213 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.                   DlgVGuest  Version 1.0  April 1st 1993! Ha!
  7.  
  8.      -*- Visiting Guest 1.0: A program for DLG Sysops with Lookie-loo Users -*-
  9.  
  10.                Copyright 1993 by Ernst Berg   Fidonet 1:208/111.0                
  11.                ==================================================
  12.  
  13.      1.   Introduction
  14.  
  15.           Q: What is it and how do I work the damn thing?
  16.  
  17.           A: It is a program you can run from your Login.DLGbatch and
  18.              Logout.DLGbatch files located in your DlgConfig:Batch 
  19.              directory.  It executes a script file if the user on-line
  20.              matches the -Guest name you supply the program.
  21.                To use this please follow the guidelines below.  
  22.  
  23.              NOTE: If you do not have TpTCron stop now as this program expects
  24.                    TpT Cron.
  25.  
  26.           Dlg Sysop:
  27.  
  28.              Have you wanted to create a special account on your BBS which 
  29.           is public access?  A great friend and fellow Dlg Sysop, Fonzy 
  30.           Broussard, and I were discussing new members of our two BBSes 
  31.           who were interested in looking around the BBS before they accepted
  32.           a membership or merely were nosey when the idea to make DlgVGuest
  33.           came to mind for those people I deem lookie-loos. 
  34.  
  35.              I allocate 5 megabytes of private file/message area to each 
  36.           Member of my BBS so I cut the dead wood whenever and wherever 
  37.           I can and so I have created this formal system to handle one 
  38.           special account, "Visiting Guest", to help me keep the work down.
  39.  
  40.              I display Visiting Guest with a password of GUEST in the
  41.           Dlgconfig:Text/Title.txt file or in simple terms my Log-on screen. 
  42.           Now this program won't stop the volume of phoney accounts or guffaws 
  43.           of the on-line follies of the new and stupid, but it will help us Dlg
  44.           Sysops who treat each account as important by allowing for those who
  45.           merely wish to see what you have done in the last week, so they can 
  46.           panic about their non-DLG BBS system of course.  8)
  47.  
  48.  
  49.      2.   Working the program:
  50.  
  51.              DlgVGuest is a command line type of program that accepts flags
  52.           and parameters to be passed to it after the program name to instruct
  53.           it in its work.
  54.                The best example of this is what you will see if you type the
  55.           name of the program from a cli with out any parameters following.
  56.  
  57.           USAGE:        Order is not important.
  58.  
  59.           -Guest   after this place your guest account "name"
  60.           -USER    after this place the name of the caller "%NAME"
  61.           -LOGIN   this keyword executes the Visiting-in.batch Batch-file.
  62.           -LOGOUT  this keyword executes the Visiting-out.batch Batch-file.
  63.  
  64.           So a command line like the one below will do the following:
  65.  
  66.           DlgVGuest -Guest "Visiting Guest" -User "%Name" -Login
  67.  
  68.           -GUEST            calls DlgVGuest from your AmigaDos path.
  69.           "Visiting Guest"  tells DlgVGuest the special account to look for.
  70.           -USER "%NAME"     tells DlgVGuest who is coming on-line.
  71.           -Login            executes Dlgconfig:Batch/Visiting-in.batch *if*
  72.                             the user logging in matches the -Guest parameter.
  73.  
  74.              The other command line flag is the -Logout flag and its purpose 
  75.           is to execute a script called Dlgconfig:Batch/Visiting-out.batch.
  76.  
  77.              The idea behind the scripts is that a person may call as a 
  78.           Visiting Guest and fool around with the settings of that account, 
  79.           especially if they think they can mess something up, and get some 
  80.           practical experience in what, how, and why Dlg operates.  Then 
  81.           these seasoned New Dlgers come back and get their own account.  
  82.           So you must be sure that the special account is always ready and set 
  83.           to the correct settings for the next person who wants to use it.
  84.  
  85.              So there is a need for DlgVGuest if you want a public access 
  86.            account that you can count on.
  87.  
  88.                OKAY I am sold!  Now how do I work the magic!
  89.  
  90.      3.   QUICK SETUP:
  91.  
  92.              1.  Create an account to your specs that will be a visiting 
  93.                  guest account.
  94.  
  95.                  This may take a bit of planning including the default 
  96.                  Parameters that you wish every Guest to use as a default.
  97.                  Make a directory someplace else where a permanent copy of the
  98.                  guest accounts data will be stored and copy the user data to
  99.                  that directory. For example I have ( and I could be wrong ):
  100.  
  101.                  GlobalAreas.archive 
  102.                  GlobalAreas.file
  103.                  GlobalAreas.msg
  104.                  User.Data
  105.                  User.File 
  106.                  User.Msg
  107.  
  108.  
  109.              2.  Put DlgVGuest in a command path, i.e. C: or wherever you like. 
  110.  
  111.              3. Edit the file Dlgconfig:Batch/Login.Dlgbatch to call DlgVGuest.
  112.                 *IF* you want to do something when a Guest drops in at login
  113.                 DlgVGuest -Guest "Visiting Guest" -User "%Name" -Login
  114.                                   ^^^^^^^^^^^^^^         ^^^^^
  115.                                 Guest account name     DLG Switch in quotes.
  116.  
  117.                 NOTE:
  118.                 AmigaDos will not handle a string with a space in it unless 
  119.                 you put the whole thing in quotes.  Like "Visiting Guest"
  120.  
  121.             4.  Edit or create the batch file Dlgconfig:Batch/logout.Dlgbatch 
  122.                 to call DlgVGuest.
  123.            
  124.                 DlgVGuest -Guest "Visiting Guest" -User "%Name" -Logout
  125.                                   ^^^^^^^^^^^^^^         ^^^^^
  126.                                 Guest account name     DLG Switch in quotes.
  127.  
  128.             5.  Modify and place the Visiting-( in and out ).batch files in
  129.                 Dlgconfig:Batch. Have these scripts do what you want, but most
  130.                 directly Visiting-out.batch copies the special account data
  131.                 over the exisiting data in that special account directory in
  132.                 USER:
  133.  
  134.               NOTE: 
  135.               DlgVGuest will not know where they are if you put them elsewhere.
  136.  
  137.                 That's it!
  138.  
  139.      4.   Details of Getting Started and what did he say part II.
  140.  
  141.           DlgVGuest needs to be in the AmigaDos path or you should state 
  142.           exactly where it is to be found.
  143.  
  144.           Make a guest account.
  145.  
  146.           DlgVGuest requires a command line like the one above and can be in 
  147.           Dlgconfig:Batch/login.Dlgbatch and Dlgconfig:Batch/logout.Dlgbatch 
  148.           files (Recommended).
  149.  
  150.           Edit the Dlgconfig:Batch/Visiting-in.batch file to suit your needs. 
  151.           You may have some tricks to do so I leave this up to you.  Calling
  152.           DlgVGuest from Login.Dlgbatch isn't needed but Logout.dlgbatch is.
  153.  
  154.           I recommend that directory in RAM: be created and the User-Startup 
  155.           batch file copy the data from a permanent storage place other then
  156.           the User:Visiting_Guest directory like Work:DlgVGuest into it. The
  157.           whole point of this is to save HardDrive wear and tear during the
  158.           program life.
  159.  
  160.           Then edit Dlgconfig:Batch/logout.DLGbatch file to call DlgVGuest.
  161.           make the changes to Dlgconfig:Batch/Visiting-out.batch that you wish.
  162.           I suggest using AmigaDos's Copy command to copy the Master Set of the
  163.           user files from a safe storage place into the "special accounts"
  164.           directory over writing any changes the Visiting Guest may have made
  165.           during their investigation at the point of logging off the system.
  166.           An example line assuming that the files are in a separate directory 
  167.           in RAM: called DlgVGuest is: 
  168.  
  169.              Copy RAM:DlgVGuest/#? TO USER:Visiting_Guest
  170.                                            ^^^^^^^^^^^^^^ 
  171.              * Assuming your special account name is Visiting Guest.
  172.  
  173.  
  174.              Good luck!  Any questions?  Flames, Comments, MONEY? Sure!
  175.       
  176.           DlgVGuest is free to use if you are a registered DLG system.  
  177.           Pirates NOTE you are not funny; you degrade all of us honest and 
  178.           hard working community leading Sysops so beware!  We will find you!
  179.  
  180.           No warranty expressed or implied as to the use of, purpose of or any 
  181.           other thing that may happen like damage of any kind.  If you use this 
  182.           program you assume all risks.
  183.  
  184.              It's free.
  185.  
  186.  
  187.           Author: Ernst Berg, Modesto California, 
  188.                  
  189.                   Fido 1:208/111 AmigaNet 40:405/0
  190.                   UUCP Ernst_Berg@koko.csustan.edu!drch!moamiex 
  191.                   (I think. Still sorting UUCP out) 
  192.  
  193.           Please Email me at 1:208/111 || 40:405/1 *if* 
  194.  
  195.  
  196.                      -*- DlgVGuest 1.0  1993 by Ernst Berg -*- 
  197.  
  198.      CREDITS we don't need no stinking CREDITS..  Oh what the hell!
  199.  
  200.      Fonzy your a pal!  That has helped me on more then one occasion and on
  201.      more then one road.
  202.  
  203.      Leon: The masked man of the Support echoes; your help with The lib thing
  204.      saved the day!  Thanks!
  205.  
  206.           And most of all Renee who shares with me the adventure of being
  207.      alive.
  208.  
  209.           To all you Dlgers! Cheers!
  210.  
  211.      -Ernst
  212.  
  213.