home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
comm
/
dguest10.lha
/
DlgVGUest.DOC
< prev
next >
Wrap
Text File
|
1993-03-31
|
10KB
|
213 lines
DlgVGuest Version 1.0 April 1st 1993! Ha!
-*- Visiting Guest 1.0: A program for DLG Sysops with Lookie-loo Users -*-
Copyright 1993 by Ernst Berg Fidonet 1:208/111.0
==================================================
1. Introduction
Q: What is it and how do I work the damn thing?
A: It is a program you can run from your Login.DLGbatch and
Logout.DLGbatch files located in your DlgConfig:Batch
directory. It executes a script file if the user on-line
matches the -Guest name you supply the program.
To use this please follow the guidelines below.
NOTE: If you do not have TpTCron stop now as this program expects
TpT Cron.
Dlg Sysop:
Have you wanted to create a special account on your BBS which
is public access? A great friend and fellow Dlg Sysop, Fonzy
Broussard, and I were discussing new members of our two BBSes
who were interested in looking around the BBS before they accepted
a membership or merely were nosey when the idea to make DlgVGuest
came to mind for those people I deem lookie-loos.
I allocate 5 megabytes of private file/message area to each
Member of my BBS so I cut the dead wood whenever and wherever
I can and so I have created this formal system to handle one
special account, "Visiting Guest", to help me keep the work down.
I display Visiting Guest with a password of GUEST in the
Dlgconfig:Text/Title.txt file or in simple terms my Log-on screen.
Now this program won't stop the volume of phoney accounts or guffaws
of the on-line follies of the new and stupid, but it will help us Dlg
Sysops who treat each account as important by allowing for those who
merely wish to see what you have done in the last week, so they can
panic about their non-DLG BBS system of course. 8)
2. Working the program:
DlgVGuest is a command line type of program that accepts flags
and parameters to be passed to it after the program name to instruct
it in its work.
The best example of this is what you will see if you type the
name of the program from a cli with out any parameters following.
USAGE: Order is not important.
-Guest after this place your guest account "name"
-USER after this place the name of the caller "%NAME"
-LOGIN this keyword executes the Visiting-in.batch Batch-file.
-LOGOUT this keyword executes the Visiting-out.batch Batch-file.
So a command line like the one below will do the following:
DlgVGuest -Guest "Visiting Guest" -User "%Name" -Login
-GUEST calls DlgVGuest from your AmigaDos path.
"Visiting Guest" tells DlgVGuest the special account to look for.
-USER "%NAME" tells DlgVGuest who is coming on-line.
-Login executes Dlgconfig:Batch/Visiting-in.batch *if*
the user logging in matches the -Guest parameter.
The other command line flag is the -Logout flag and its purpose
is to execute a script called Dlgconfig:Batch/Visiting-out.batch.
The idea behind the scripts is that a person may call as a
Visiting Guest and fool around with the settings of that account,
especially if they think they can mess something up, and get some
practical experience in what, how, and why Dlg operates. Then
these seasoned New Dlgers come back and get their own account.
So you must be sure that the special account is always ready and set
to the correct settings for the next person who wants to use it.
So there is a need for DlgVGuest if you want a public access
account that you can count on.
OKAY I am sold! Now how do I work the magic!
3. QUICK SETUP:
1. Create an account to your specs that will be a visiting
guest account.
This may take a bit of planning including the default
Parameters that you wish every Guest to use as a default.
Make a directory someplace else where a permanent copy of the
guest accounts data will be stored and copy the user data to
that directory. For example I have ( and I could be wrong ):
GlobalAreas.archive
GlobalAreas.file
GlobalAreas.msg
User.Data
User.File
User.Msg
2. Put DlgVGuest in a command path, i.e. C: or wherever you like.
3. Edit the file Dlgconfig:Batch/Login.Dlgbatch to call DlgVGuest.
*IF* you want to do something when a Guest drops in at login
DlgVGuest -Guest "Visiting Guest" -User "%Name" -Login
^^^^^^^^^^^^^^ ^^^^^
Guest account name DLG Switch in quotes.
NOTE:
AmigaDos will not handle a string with a space in it unless
you put the whole thing in quotes. Like "Visiting Guest"
4. Edit or create the batch file Dlgconfig:Batch/logout.Dlgbatch
to call DlgVGuest.
DlgVGuest -Guest "Visiting Guest" -User "%Name" -Logout
^^^^^^^^^^^^^^ ^^^^^
Guest account name DLG Switch in quotes.
5. Modify and place the Visiting-( in and out ).batch files in
Dlgconfig:Batch. Have these scripts do what you want, but most
directly Visiting-out.batch copies the special account data
over the exisiting data in that special account directory in
USER:
NOTE:
DlgVGuest will not know where they are if you put them elsewhere.
That's it!
4. Details of Getting Started and what did he say part II.
DlgVGuest needs to be in the AmigaDos path or you should state
exactly where it is to be found.
Make a guest account.
DlgVGuest requires a command line like the one above and can be in
Dlgconfig:Batch/login.Dlgbatch and Dlgconfig:Batch/logout.Dlgbatch
files (Recommended).
Edit the Dlgconfig:Batch/Visiting-in.batch file to suit your needs.
You may have some tricks to do so I leave this up to you. Calling
DlgVGuest from Login.Dlgbatch isn't needed but Logout.dlgbatch is.
I recommend that directory in RAM: be created and the User-Startup
batch file copy the data from a permanent storage place other then
the User:Visiting_Guest directory like Work:DlgVGuest into it. The
whole point of this is to save HardDrive wear and tear during the
program life.
Then edit Dlgconfig:Batch/logout.DLGbatch file to call DlgVGuest.
make the changes to Dlgconfig:Batch/Visiting-out.batch that you wish.
I suggest using AmigaDos's Copy command to copy the Master Set of the
user files from a safe storage place into the "special accounts"
directory over writing any changes the Visiting Guest may have made
during their investigation at the point of logging off the system.
An example line assuming that the files are in a separate directory
in RAM: called DlgVGuest is:
Copy RAM:DlgVGuest/#? TO USER:Visiting_Guest
^^^^^^^^^^^^^^
* Assuming your special account name is Visiting Guest.
Good luck! Any questions? Flames, Comments, MONEY? Sure!
DlgVGuest is free to use if you are a registered DLG system.
Pirates NOTE you are not funny; you degrade all of us honest and
hard working community leading Sysops so beware! We will find you!
No warranty expressed or implied as to the use of, purpose of or any
other thing that may happen like damage of any kind. If you use this
program you assume all risks.
It's free.
Author: Ernst Berg, Modesto California,
Fido 1:208/111 AmigaNet 40:405/0
UUCP Ernst_Berg@koko.csustan.edu!drch!moamiex
(I think. Still sorting UUCP out)
Please Email me at 1:208/111 || 40:405/1 *if*
-*- DlgVGuest 1.0 1993 by Ernst Berg -*-
CREDITS we don't need no stinking CREDITS.. Oh what the hell!
Fonzy your a pal! That has helped me on more then one occasion and on
more then one road.
Leon: The masked man of the Support echoes; your help with The lib thing
saved the day! Thanks!
And most of all Renee who shares with me the adventure of being
alive.
To all you Dlgers! Cheers!
-Ernst